/ fm / liveswitch / sdp / TimeDescription
Class: TimeDescription
liveswitch.sdp.TimeDescription
An SDP time description element.
Table of contents
Constructors
Methods
Constructors
constructor
+ new TimeDescription(timing
: Timing): TimeDescription
Initializes a new instance of the [[fm.liveswitch.sdp.timeDescription]] class.
Parameters:
Name | Type | Description |
---|---|---|
timing |
Timing | The start and stop time. |
Returns: TimeDescription
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeDescription.ts:15
Methods
addRepeatTime
▸ addRepeatTime(repeatTime
: RepeatTime): void
Adds a repeat time.
Parameters:
Name | Type | Description |
---|---|---|
repeatTime |
RepeatTime | The repeat time to add. |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeDescription.ts:70
getRepeatTimes
▸ getRepeatTimes(): RepeatTime[]
Gets the array of repeat times.
Returns: RepeatTime[]
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeDescription.ts:82
getTiming
▸ getTiming(): Timing
Gets the start and stop time.
Returns: Timing
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeDescription.ts:94
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeDescription.ts:9
removeRepeatTime
▸ removeRepeatTime(repeatTime
: RepeatTime): boolean
Removes a repeat time.
Parameters:
Name | Type | Description |
---|---|---|
repeatTime |
RepeatTime | The repeat time to remove. |
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeDescription.ts:107
toString
▸ toString(): string
Converts this instance to a string.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeDescription.ts:127
parse
▸ Static
parse(s
: string): TimeDescription
Creates an [[fm.liveswitch.sdp.timeDescription]] instance from a string.
Parameters:
Name | Type | Description |
---|---|---|
s |
string | The string to parse. |
Returns: TimeDescription
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeDescription.ts:46