FMLiveSwitchMediaCollection Class Reference

A collection of remote medias. More...

Instance Methods

(instancetype) - init
 Initializes a new instance of the FMLiveSwitchCollection`2 class. More...
 
- Instance Methods inherited from FMLiveSwitchRemoteMediaCollection
(void) - addSuccess:
 Invoked when an element is added to the collection. More...
 
(NSMutableArray *) - arrayFromList:
 Creates an array from a list. More...
 
(FMLiveSwitchRemoteMediaCollection *) - createCollection
 Creates a collection. More...
 
(FMLiveSwitchRemoteMedia *) - getById:
 Gets a media by ID. More...
 
(void) - removeSuccess:
 Invoked when an element is removed from the collection. More...
 
- Instance Methods inherited from FMLiveSwitchCollection
(void) - addMany:
 Adds some values. More...
 
(void) - addSuccess:
 Invoked when an element is added to the collection. More...
 
(void) - addSuccessNoLock:
 Invoked after an element is added to the collection. More...
 
(bool) - any
 Determined whether the collection contains at least one value. More...
 
(bool) - anyWithPredicate:
 Determined whether the collection contains at least one value that matches the specified predicate. More...
 
(T) - anyWithPredicateBlock
 Determined whether the collection contains at least one value that matches the specified predicate. More...
 
(bool) - anyWithPredicateBlock:
 Determined whether the collection contains at least one value that matches the specified predicate. More...
 
(NSMutableArray *) - arrayFromList:
 Creates an array from a list. More...
 
(bool) - contains:
 Determines whether the collection contains a value. More...
 
(int) - count
 Gets the count. More...
 
(T) - first
 Gets the first value. More...
 
(T) - firstOrDefault
 Gets the first value. More...
 
(T) - firstOrDefaultWithPredicate:
 Gets the first value that matches the specified predicate. More...
 
(T) - firstOrDefaultWithPredicateBlock
 Gets the first value that matches the specified predicate. More...
 
(T) - firstOrDefaultWithPredicateBlock:
 Gets the first value that matches the specified predicate. More...
 
(T) - firstWithPredicate:
 Gets the first value that matches the specified predicate. More...
 
(T) - firstWithPredicateBlock
 Gets the first value that matches the specified predicate. More...
 
(T) - firstWithPredicateBlock:
 Gets the first value that matches the specified predicate. More...
 
(void) - forEachWithCallback:
 Executes a callback function once per value. More...
 
(T, int) - forEachWithCallbackBlock
 Executes a callback function once per value. More...
 
(void) - forEachWithCallbackBlock:
 Executes a callback function once per value. More...
 
(T) - last
 Gets the last value. More...
 
(T) - lastOrDefault
 Gets the last value. More...
 
(T) - lastOrDefaultWithPredicate:
 Gets the last value that matches the specified predicate. More...
 
(T) - lastOrDefaultWithPredicateBlock
 Gets the last value that matches the specified predicate. More...
 
(T) - lastOrDefaultWithPredicateBlock:
 Gets the last value that matches the specified predicate. More...
 
(T) - lastWithPredicate:
 Gets the last value that matches the specified predicate. More...
 
(T) - lastWithPredicateBlock
 Gets the last value that matches the specified predicate. More...
 
(T) - lastWithPredicateBlock:
 Gets the last value that matches the specified predicate. More...
 
(bool) - remove:
 Removes a value. More...
 
(void) - removeAll
 Removes all values. More...
 
(T) - removeFirst
 Removes the first value. More...
 
(T) - removeFirstWithCondition:
 Removes the first value that matches a given condition. More...
 
(T) - removeFirstWithConditionBlock
 Removes the first value that matches a given condition. More...
 
(T) - removeFirstWithConditionBlock:
 Removes the first value that matches a given condition. More...
 
(T) - removeLast
 Removes the last value. More...
 
(T) - removeLastWithCondition:
 Removes the last value that matches a given condition. More...
 
(T) - removeLastWithConditionBlock
 Removes the last value that matches a given condition. More...
 
(T) - removeLastWithConditionBlock:
 Removes the last value that matches a given condition. More...
 
(void) - removeMany:
 Removes some values. More...
 
(void) - removeSuccess:
 Invoked when an element is removed from the collection. More...
 
(void) - removeSuccessNoLock:
 Invoked after an element is removed from the collection. More...
 
(void) - replace:
 Replaces the collection with a new set of values. More...
 
(void) - setValue:
 Sets the value. More...
 
(void) - setValues:
 Sets the values. More...
 
(T) - single
 Gets the only value. More...
 
(T) - singleOrDefault
 Gets the only value. More...
 
(T) - singleOrDefaultWithPredicate:
 Gets the only value that matches the specified predicate. More...
 
(T) - singleOrDefaultWithPredicateBlock
 Gets the only value that matches the specified predicate. More...
 
(T) - singleOrDefaultWithPredicateBlock:
 Gets the only value that matches the specified predicate. More...
 
(T) - singleWithPredicate:
 Gets the only value that matches the specified predicate. More...
 
(T) - singleWithPredicateBlock
 Gets the only value that matches the specified predicate. More...
 
(T) - singleWithPredicateBlock:
 Gets the only value that matches the specified predicate. More...
 
(NSMutableArray *) - toArray
 Clones the values into a new array. More...
 
(T) - value
 Gets the value. More...
 
(T) - valueAtOrDefaultWithIndex:
 Gets the value at the specified index. More...
 
(T) - valueAtWithIndex:
 Gets the value at the specified index. More...
 
(NSMutableArray *) - values
 Gets the values. More...
 
(TCollection) - whereWithPredicate:
 Creates a new collection with values that match the specified predicate. More...
 
(T, int) - whereWithPredicateBlock
 Creates a new collection with values that match the specified predicate. More...
 
(TCollection) - whereWithPredicateBlock:
 Creates a new collection with values that match the specified predicate. More...
 

Class Methods

(FMLiveSwitchMediaCollection *) + mediaCollection
 
- Class Methods inherited from FMLiveSwitchRemoteMediaCollection
(FMLiveSwitchRemoteMediaCollection *) + remoteMediaCollection
 
- Class Methods inherited from FMLiveSwitchCollection
(FMLiveSwitchCollection *) + collection
 Initializes a new instance of the FMLiveSwitchCollection`2 class. More...
 

Additional Inherited Members

- Protected Attributes inherited from FMLiveSwitchCollection
 __pad0__: NSObject- (bool) add:(T)value
 

Detailed Description

A collection of remote medias.

Deprecated:
Use RemoteMediaCollection instead.

Method Documentation

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchCollection`2 class.

Implements FMLiveSwitchRemoteMediaCollection.

◆ mediaCollection

+ (FMLiveSwitchMediaCollection*) mediaCollection