Preparing search index...
The search index is not available
Octra libraries - v2.0.0
Octra libraries
@octra/annotation
OSegment
ClassOSegment
Hierarchy (
view full
)
OItem
OSegment
Implements
Serializable
<
ISegment
,
OSegment
>
Index
Constructors
constructor
Properties
id
labels
sample
Dur
sample
Start
type
Methods
clone
deserialize
get
First
Label
Without
Name
is
Equal
With
serialize
deserialize
Constructors
constructor
new OSegment
(
id
,
sampleStart
,
sampleDur
,
labels
?
)
:
OSegment
Parameters
id
:
number
sampleStart
:
number
sampleDur
:
number
Optional
labels
:
OLabel
[]
Returns
OSegment
Properties
id
id
:
number
= 0
labels
labels
:
OLabel
[]
sample
Dur
sample
Dur
:
number
= 0
sample
Start
sample
Start
:
number
= 0
Readonly
type
type
:
"segment"
|
"event"
|
"item"
= 'item'
Methods
clone
clone
(
id
?
)
:
OSegment
Parameters
Optional
id
:
number
Returns
OSegment
deserialize
deserialize
(
jsonObject
)
:
OSegment
Parameters
jsonObject
:
ISegment
Returns
OSegment
get
First
Label
Without
Name
get
First
Label
Without
Name
(
notName
)
:
undefined
|
OLabel
Parameters
notName
:
string
Returns
undefined
|
OLabel
is
Equal
With
is
Equal
With
(
other
)
:
boolean
Parameters
other
:
OItem
Returns
boolean
serialize
serialize
(
)
:
ISegment
Returns
ISegment
Static
deserialize
deserialize
(
jsonObject
,
sampleRate
?
)
:
OSegment
Parameters
jsonObject
:
ISegment
Optional
sampleRate
:
number
Returns
OSegment
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
id
labels
sample
Dur
sample
Start
type
Methods
clone
deserialize
get
First
Label
Without
Name
is
Equal
With
serialize
deserialize
Octra libraries - v2.0.0
Loading...