Arguments for onReceive (FMLiveSwitchWebSocketOpenArgs). More...
Instance Methods | |
(NSMutableData *) | - binaryMessage |
Gets the message received from the server as binary data. More... | |
(long long) | - byteCount |
Gets the byte count of the message. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
(bool) | - isText |
Gets whether or not the received message is text. More... | |
(FMLiveSwitchWebSocketOpenArgs *) | - openArgs |
Gets the original arguments passed to the open method. More... | |
(void) | - setBinaryMessage: |
Sets the message received from the server as binary data. More... | |
(void) | - setOpenArgs: |
Sets the original arguments passed to the open method. More... | |
(void) | - setTextMessage: |
Sets the message received from the server as text data. More... | |
(NSString *) | - textMessage |
Gets the message received from the server as text data. More... | |
Instance Methods inherited from FMLiveSwitchDynamic | |
(NSMutableDictionary< NSString *, id > *) | - dynamicProperties |
Gets all dynamic properties on this instance. More... | |
(id) | - getDynamicValueWithKey: |
Gets a property value from the local cache. More... | |
(void) | - setDynamicValueWithKey:value: |
Sets a property value in the local cache. More... | |
(bool) | - unsetDynamicValueWithKey: |
Removes a property value from the local cache. More... | |
Class Methods | |
(FMLiveSwitchWebSocketReceiveArgs *) | + webSocketReceiveArgs |
Class Methods inherited from FMLiveSwitchDynamic | |
(FMLiveSwitchDynamic *) | + dynamic |
Class Methods inherited from FMLiveSwitchSerializable | |
(FMLiveSwitchSerializable *) | + serializable |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
Arguments for onReceive (FMLiveSwitchWebSocketOpenArgs).
- (NSMutableData*) binaryMessage |
Gets the message received from the server as binary data.
- (long long) byteCount |
Gets the byte count of the message.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchSerializable class.
Implements FMLiveSwitchDynamic.
- (bool) isText |
Gets whether or not the received message is text.
- (FMLiveSwitchWebSocketOpenArgs*) openArgs |
Gets the original arguments passed to the open method.
- (void) setBinaryMessage: | (NSMutableData *) | value |
Sets the message received from the server as binary data.
- (void) setOpenArgs: | (FMLiveSwitchWebSocketOpenArgs *) | value |
Sets the original arguments passed to the open method.
- (void) setTextMessage: | (NSString *) | value |
Sets the message received from the server as text data.
- (NSString*) textMessage |
Gets the message received from the server as text data.
+ (FMLiveSwitchWebSocketReceiveArgs*) webSocketReceiveArgs |