FMLiveSwitchMediaFormatCollection Class Reference

A media format collection. More...

Instance Methods

(void) - addSuccess:
 Invoked when an element is added to the collection. More...
 
(NSMutableArray *) - getCompatiblesWithFormat:
 Gets a format by compatibility to another format. More...
 
(TFormat) - getCompatibleWithFormat:
 Gets a format by compatibility to another format. More...
 
(TFormat) - getEquivalentWithFormat:
 Gets a format by equivalence to another format. More...
 
(TFormat) - getEquivalentWithFormat:ignoreIsPacketized:
 Gets a format by equivalence to another format, ignoring whether the format is packetized. More...
 
(bool) - hasCompatibleWithFormat:
 Determines if the collection has a compatible format. More...
 
(bool) - hasEquivalentWithFormat:
 Determines if the collection has an equivalent format. More...
 
(instancetype) - init
 
(void) - removeSuccess:
 Invoked when an element is removed from the collection. More...
 

Class Methods

(FMLiveSwitchMediaFormatCollection *) + mediaFormatCollection
 

Protected Attributes

 __pad0__: FMLiveSwitchCollection<TFormat
 

Detailed Description

A media format collection.

Method Documentation

◆ addSuccess:

- (void) addSuccess: (TFormat)  value

Invoked when an element is added to the collection.

Parameters
valueThe format.

◆ getCompatiblesWithFormat:

- (NSMutableArray*) getCompatiblesWithFormat: (TFormat)  format

Gets a format by compatibility to another format.

Parameters
formatThe format.

◆ getCompatibleWithFormat:

- (TFormat) getCompatibleWithFormat: (TFormat)  format

Gets a format by compatibility to another format.

Parameters
formatThe format.

◆ getEquivalentWithFormat:

- (TFormat) getEquivalentWithFormat: (TFormat)  format

Gets a format by equivalence to another format.

Parameters
formatThe format.

◆ getEquivalentWithFormat:ignoreIsPacketized:

- (TFormat) getEquivalentWithFormat: (TFormat)  format
ignoreIsPacketized: (bool)  ignoreIsPacketized 

Gets a format by equivalence to another format, ignoring whether the format is packetized.

Parameters
formatThe format.
ignoreIsPacketizedif set to true [ignore IsPacketized].

◆ hasCompatibleWithFormat:

- (bool) hasCompatibleWithFormat: (TFormat)  format

Determines if the collection has a compatible format.

Parameters
formatThe format.

◆ hasEquivalentWithFormat:

- (bool) hasEquivalentWithFormat: (TFormat)  format

Determines if the collection has an equivalent format.

Parameters
formatThe format.

◆ init

- (instancetype) init

◆ mediaFormatCollection

+ (FMLiveSwitchMediaFormatCollection*) mediaFormatCollection

◆ removeSuccess:

- (void) removeSuccess: (TFormat)  value

Invoked when an element is removed from the collection.

Parameters
valueThe format.

Member Data Documentation

◆ __pad0__

- __pad0__
protected