FMLiveSwitchSdpTimeDescription Class Reference

An SDP time description element. More...

Instance Methods

(void) - addRepeatTime:
 Adds a repeat time. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(instancetype) - initWithTiming:
 Initializes a new instance of the FMLiveSwitchSdpTimeDescription class. More...
 
(bool) - removeRepeatTime:
 Removes a repeat time. More...
 
(NSMutableArray *) - repeatTimes
 Gets the array of repeat times. More...
 
(FMLiveSwitchSdpTiming *) - timing
 Gets the start and stop time. More...
 

Class Methods

(FMLiveSwitchSdpTimeDescription *) + parseWithS:
 Creates an FMLiveSwitchSdpTimeDescription instance from a string. More...
 
(FMLiveSwitchSdpTimeDescription *) + timeDescriptionWithTiming:
 Initializes a new instance of the FMLiveSwitchSdpTimeDescription class. More...
 

Detailed Description

An SDP time description element.

Method Documentation

◆ addRepeatTime:

- (void) addRepeatTime: (FMLiveSwitchSdpRepeatTime *)  repeatTime

Adds a repeat time.

Parameters
repeatTimeThe repeat time to add.

◆ description

- (NSString*) description

Converts this instance to a string.

◆ initWithTiming:

- (instancetype) initWithTiming: (FMLiveSwitchSdpTiming *)  timing

Initializes a new instance of the FMLiveSwitchSdpTimeDescription class.

Parameters
timingThe start and stop time.

◆ parseWithS:

+ (FMLiveSwitchSdpTimeDescription*) parseWithS: (NSString *)  s

Creates an FMLiveSwitchSdpTimeDescription instance from a string.

Parameters
sThe string to parse.

◆ removeRepeatTime:

- (bool) removeRepeatTime: (FMLiveSwitchSdpRepeatTime *)  repeatTime

Removes a repeat time.

Parameters
repeatTimeThe repeat time to remove.

◆ repeatTimes

- (NSMutableArray*) repeatTimes

Gets the array of repeat times.

◆ timeDescriptionWithTiming:

+ (FMLiveSwitchSdpTimeDescription*) timeDescriptionWithTiming: (FMLiveSwitchSdpTiming *)  timing

Initializes a new instance of the FMLiveSwitchSdpTimeDescription class.

Parameters
timingThe start and stop time.

◆ timing

- (FMLiveSwitchSdpTiming*) timing

Gets the start and stop time.