FMLiveSwitchSdpRepeatTime Class Reference

An SDP repeat time element. More...

Instance Methods

(FMLiveSwitchTimeSpan *) - activeDuration
 Gets the active duration. More...
 
(void) - addOffset:
 Adds an offset from the start time. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(instancetype) - initWithRepeatInterval:activeDuration:
 Initializes a new instance of the FMLiveSwitchSdpRepeatTime class. More...
 
(instancetype) - initWithRepeatInterval:activeDuration:offsets:
 Initializes a new instance of the FMLiveSwitchSdpRepeatTime class. More...
 
(NSMutableArray *) - offsets
 Gets the array of offsets from the start time. More...
 
(bool) - removeOffset:
 Removes an offset from the start time. More...
 
(FMLiveSwitchTimeSpan *) - repeatInterval
 Gets the repeat interval. More...
 

Class Methods

(FMLiveSwitchSdpRepeatTime *) + parseWithS:
 Creates an FMLiveSwitchSdpRepeatTime instance from a string. More...
 
(FMLiveSwitchSdpRepeatTime *) + repeatTimeWithRepeatInterval:activeDuration:
 Initializes a new instance of the FMLiveSwitchSdpRepeatTime class. More...
 
(FMLiveSwitchSdpRepeatTime *) + repeatTimeWithRepeatInterval:activeDuration:offsets:
 Initializes a new instance of the FMLiveSwitchSdpRepeatTime class. More...
 

Detailed Description

An SDP repeat time element.

Method Documentation

◆ activeDuration

- (FMLiveSwitchTimeSpan*) activeDuration

Gets the active duration.

◆ addOffset:

- (void) addOffset: (FMLiveSwitchTimeSpan *)  offset

Adds an offset from the start time.

Parameters
offsetThe offset from the start time to add.

◆ description

- (NSString*) description

Converts this instance to a string.

◆ initWithRepeatInterval:activeDuration:

- (instancetype) initWithRepeatInterval: (FMLiveSwitchTimeSpan *)  repeatInterval
activeDuration: (FMLiveSwitchTimeSpan *)  activeDuration 

Initializes a new instance of the FMLiveSwitchSdpRepeatTime class.

Parameters
repeatIntervalThe repeat interval.
activeDurationThe active duration.

◆ initWithRepeatInterval:activeDuration:offsets:

- (instancetype) initWithRepeatInterval: (FMLiveSwitchTimeSpan *)  repeatInterval
activeDuration: (FMLiveSwitchTimeSpan *)  activeDuration
offsets: (NSMutableArray *)  offsets 

Initializes a new instance of the FMLiveSwitchSdpRepeatTime class.

Parameters
repeatIntervalThe repeat interval.
activeDurationThe active duration.
offsetsThe offsets from the start time.

◆ offsets

- (NSMutableArray*) offsets

Gets the array of offsets from the start time.

◆ parseWithS:

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

Creates an FMLiveSwitchSdpRepeatTime instance from a string.

Parameters
sThe string to parse.

◆ removeOffset:

- (bool) removeOffset: (FMLiveSwitchTimeSpan *)  offset

Removes an offset from the start time.

Parameters
offsetThe offset from the start time to remove.

◆ repeatInterval

- (FMLiveSwitchTimeSpan*) repeatInterval

Gets the repeat interval.

◆ repeatTimeWithRepeatInterval:activeDuration:

+ (FMLiveSwitchSdpRepeatTime*) repeatTimeWithRepeatInterval: (FMLiveSwitchTimeSpan *)  repeatInterval
activeDuration: (FMLiveSwitchTimeSpan *)  activeDuration 

Initializes a new instance of the FMLiveSwitchSdpRepeatTime class.

Parameters
repeatIntervalThe repeat interval.
activeDurationThe active duration.

◆ repeatTimeWithRepeatInterval:activeDuration:offsets:

+ (FMLiveSwitchSdpRepeatTime*) repeatTimeWithRepeatInterval: (FMLiveSwitchTimeSpan *)  repeatInterval
activeDuration: (FMLiveSwitchTimeSpan *)  activeDuration
offsets: (NSMutableArray *)  offsets 

Initializes a new instance of the FMLiveSwitchSdpRepeatTime class.

Parameters
repeatIntervalThe repeat interval.
activeDurationThe active duration.
offsetsThe offsets from the start time.