FMLiveSwitchWssServiceConnection Class Reference

Instance Methods

(void) - addOnMessageReceived:
 
(FMLiveSwitchWebSocketReceiveArgs *) - addOnMessageReceivedWithBlock
 
(void) - addOnMessageReceivedWithBlock:
 
(void) - addOnStreamingFailure:
 
(NSException *) - addOnStreamingFailureWithBlock
 
(void) - addOnStreamingFailureWithBlock:
 
(instancetype) - initWithWsUrl:accessToken:
 
(FMLiveSwitchFuture< id > *) - openWithDelay:
 
(void) - removeOnMessageReceived:
 
(void) - removeOnStreamingFailure:
 
(void) - sendBinaryDataWithFrameBuffer:
 
(void) - sendStringWithMsg:
 

Class Methods

(FMLiveSwitchFuture< FMLiveSwitchWssServiceConnection * > *) + getInstanceWithApplicationId:userId:deviceId:clientId:openArgs:
 
(FMLiveSwitchWssServiceConnection *) + wssServiceConnectionWithWsUrl:accessToken:
 

Method Documentation

◆ addOnMessageReceived:

- (void) addOnMessageReceived: (FMLiveSwitchAction1< FMLiveSwitchWebSocketReceiveArgs * > *)  value

◆ addOnMessageReceivedWithBlock

- (FMLiveSwitchWebSocketReceiveArgs*) addOnMessageReceivedWithBlock

◆ addOnMessageReceivedWithBlock:

- (void) addOnMessageReceivedWithBlock: (void(^)(FMLiveSwitchWebSocketReceiveArgs *))  valueBlock

◆ addOnStreamingFailure:

- (void) addOnStreamingFailure: (FMLiveSwitchAction1< NSException * > *)  value

◆ addOnStreamingFailureWithBlock

- (NSException*) addOnStreamingFailureWithBlock

◆ addOnStreamingFailureWithBlock:

- (void) addOnStreamingFailureWithBlock: (void(^)(NSException *))  valueBlock

◆ getInstanceWithApplicationId:userId:deviceId:clientId:openArgs:

+ (FMLiveSwitchFuture<FMLiveSwitchWssServiceConnection*>*) getInstanceWithApplicationId: (NSString *)  applicationId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
openArgs: (FMLiveSwitchWssServiceOpenArgs *)  openArgs 

◆ initWithWsUrl:accessToken:

- (instancetype) initWithWsUrl: (NSString *)  wsUrl
accessToken: (NSString *)  accessToken 

◆ openWithDelay:

- (FMLiveSwitchFuture<id>*) openWithDelay: (long long)  delay

◆ removeOnMessageReceived:

- (void) removeOnMessageReceived: (FMLiveSwitchAction1< FMLiveSwitchWebSocketReceiveArgs * > *)  value

◆ removeOnStreamingFailure:

- (void) removeOnStreamingFailure: (FMLiveSwitchAction1< NSException * > *)  value

◆ sendBinaryDataWithFrameBuffer:

- (void) sendBinaryDataWithFrameBuffer: (NSMutableData *)  frameBuffer

◆ sendStringWithMsg:

- (void) sendStringWithMsg: (NSString *)  msg

◆ wssServiceConnectionWithWsUrl:accessToken:

+ (FMLiveSwitchWssServiceConnection*) wssServiceConnectionWithWsUrl: (NSString *)  wsUrl
accessToken: (NSString *)  accessToken