FMLiveSwitchRemoteCandidatePromise Class Reference

Instance Methods

(instancetype) - initWithRemoteCandidate:
 
(FMLiveSwitchCandidate *) - remoteCandidate
 
- Instance Methods inherited from FMLiveSwitchPromise
(NSException *) - failWithRejectActionBlock
 Appends a handler to be executed when the promise is rejected. More...
 
(FMLiveSwitchFuture< T > *) - failWithRejectActionBlock:
 Appends a handler to be executed when the promise is rejected. More...
 
(FMLiveSwitchFuture< T > *) - failWithRejectFunction:
 Appends a handler to be executed when the promise is rejected. More...
 
(NSException *) - failWithRejectFunctionBlock
 Appends a handler to be executed when the promise is rejected. More...
 
(FMLiveSwitchFuture< T > *) - failWithRejectFunctionBlock:
 Appends a handler to be executed when the promise is rejected. More...
 
(instancetype) - init
 Creates a new promise. More...
 
(instancetype) - initWithCallback:
 Creates a promise with a resolve callback and a reject callback. More...
 
(instancetype) - initWithCallbackBlock:
 Creates a promise with a resolve callback and a reject callback. More...
 
(FMLiveSwitchFuture< T > *) - thenWithResolveAction:
 Appends a handler to be executed when the promise is resolved. More...
 
(FMLiveSwitchFuture< T > *) - thenWithResolveAction:rejectAction:
 Appends handlers to be executed when the promise is resolved or rejected. More...
 
(T) - thenWithResolveActionBlock
 Appends a handler to be executed when the promise is resolved. More...
 
(FMLiveSwitchFuture< T > *) - thenWithResolveActionBlock:
 Appends a handler to be executed when the promise is resolved. More...
 
(FMLiveSwitchFuture< T > *) - thenWithResolveActionBlock:rejectActionBlock:
 Appends handlers to be executed when the promise is resolved or rejected. More...
 
(NSException *) - thenWithResolveActionBlockAndRejectActionBlock
 Appends handlers to be executed when the promise is resolved or rejected. More...
 
(FMLiveSwitchFuture< id > *) - thenWithResolveFunction:
 Appends a handler to be executed when the promise is resolved. More...
 
(FMLiveSwitchFuture< id > *) - thenWithResolveFunction:rejectAction:
 Appends handlers to be executed when the promise is resolved or rejected. More...
 
(T) - thenWithResolveFunctionBlock
 Appends a handler to be executed when the promise is resolved. More...
 
(FMLiveSwitchFuture< id > *) - thenWithResolveFunctionBlock:
 Appends a handler to be executed when the promise is resolved. More...
 
(FMLiveSwitchFuture< id > *) - thenWithResolveFunctionBlock:rejectActionBlock:
 Appends handlers to be executed when the promise is resolved or rejected. More...
 
(NSException *) - thenWithResolveFunctionBlockAndRejectActionBlock
 Appends handlers to be executed when the promise is resolved or rejected. More...
 

Class Methods

(FMLiveSwitchRemoteCandidatePromise *) + remoteCandidatePromiseWithRemoteCandidate:
 
- Class Methods inherited from FMLiveSwitchPromise
(FMLiveSwitchPromise *) + promise
 Creates a new promise. More...
 
(FMLiveSwitchPromise *) + promiseWithCallback:
 Creates a promise with a resolve callback and a reject callback. More...
 
(FMLiveSwitchPromise *) + promiseWithCallbackBlock:
 Creates a promise with a resolve callback and a reject callback. More...
 
(FMLiveSwitchFuture< id > *) + wrapAsyncWithCallbackAction:
 Creates a promise and resolves it after invoking a callback action, or rejects it if an exception is thrown. More...
 
(FMLiveSwitchFuture< id > *) + wrapAsyncWithCallbackFunction:
 Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown. More...
 
(void) + wrapAsyncWithCallbackFunctionBlock
 Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown. More...
 
(FMLiveSwitchFuture< id > *) + wrapAsyncWithCallbackFunctionBlock:
 Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown. More...
 
(FMLiveSwitchFuture< id > *) + wrapWithCallbackAction:
 Creates a promise and resolves it after invoking a callback action, or rejects it if an exception is thrown. More...
 
(FMLiveSwitchFuture< id > *) + wrapWithCallbackFunction:
 Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown. More...
 
(void) + wrapWithCallbackFunctionBlock
 Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown. More...
 
(FMLiveSwitchFuture< id > *) + wrapWithCallbackFunctionBlock:
 Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown. More...
 

Additional Inherited Members

- Protected Attributes inherited from FMLiveSwitchPromise
 __pad0__: FMLiveSwitchPromiseBase<T>- (FMLiveSwitchFuture<T>*) failWithRejectAction:(FMLiveSwitchAction1<NSException*>*)rejectAction
 

Method Documentation

◆ initWithRemoteCandidate:

- (instancetype) initWithRemoteCandidate: (FMLiveSwitchCandidate *)  remoteCandidate

◆ remoteCandidate

- (FMLiveSwitchCandidate*) remoteCandidate

◆ remoteCandidatePromiseWithRemoteCandidate:

+ (FMLiveSwitchRemoteCandidatePromise*) remoteCandidatePromiseWithRemoteCandidate: (FMLiveSwitchCandidate *)  remoteCandidate