FMIceLinkIDataChannel Protocol Reference
| Declared in | FMIceLinkIDataChannel.h |
|---|
– addOnStateChange:
required method
Adds a handler that is raised when the [state](#//api/name/state) changes.
- (void)addOnStateChange:(FMIceLinkAction1 *)valueDiscussion
Adds a handler that is raised when the [state](#//api/name/state) changes.
Declared In
FMIceLinkIDataChannel.h
– addOnStateChangeWithBlock
required method
Adds a handler that is raised when the [state](#//api/name/state) changes.
- (void ( ^ ) ( void ( ^ ) ( id ) ))addOnStateChangeWithBlockDiscussion
Adds a handler that is raised when the [state](#//api/name/state) changes.
Declared In
FMIceLinkIDataChannel.h
– addOnStateChangeWithBlock:
required method
Adds a handler that is raised when the [state](#//api/name/state) changes.
- (void)addOnStateChangeWithBlock:(void ( ^ ) ( id ))valueBlockDiscussion
Adds a handler that is raised when the [state](#//api/name/state) changes.
Declared In
FMIceLinkIDataChannel.h
– label
required method
Gets the label.
- (NSString *)labelDiscussion
Gets the label.
Declared In
FMIceLinkIDataChannel.h
– onReceive
required method
Gets the callback to execute when a message is received.
- (FMIceLinkAction1 *)onReceiveDiscussion
Gets the callback to execute when a message is received.
Declared In
FMIceLinkIDataChannel.h
– ordered
required method
Gets a value indicating whether messages will be delivered in the order they are sent.
- (bool)orderedDiscussion
Gets a value indicating whether messages will be delivered in the order they are sent.
Declared In
FMIceLinkIDataChannel.h
– removeOnStateChange:
required method
Removes a handler that is raised when the [state](#//api/name/state) changes.
- (void)removeOnStateChange:(FMIceLinkAction1 *)valueDiscussion
Removes a handler that is raised when the [state](#//api/name/state) changes.
Declared In
FMIceLinkIDataChannel.h
– sendDataBytes:
required method
Sends a byte array.
- (void)sendDataBytes:(FMIceLinkDataBuffer *)dataBytesDiscussion
Sends a byte array.
Declared In
FMIceLinkIDataChannel.h
– sendDataString:
required method
Sends a string.
- (void)sendDataString:(NSString *)dataStringDiscussion
Sends a string.
Declared In
FMIceLinkIDataChannel.h
– setOnReceive:
required method
Sets the callback to execute when a message is received.
- (void)setOnReceive:(FMIceLinkAction1 *)valueDiscussion
Sets the callback to execute when a message is received.
Declared In
FMIceLinkIDataChannel.h
– setOnReceiveBlock
required method
Sets the callback to execute when a message is received.
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDataChannelReceiveArgs *) ))setOnReceiveBlockDiscussion
Sets the callback to execute when a message is received.
Declared In
FMIceLinkIDataChannel.h
– setOnReceiveBlock:
required method
Sets the callback to execute when a message is received.
- (void)setOnReceiveBlock:(void ( ^ ) ( FMIceLinkDataChannelReceiveArgs *))valueBlockDiscussion
Sets the callback to execute when a message is received.
Declared In
FMIceLinkIDataChannel.h
– state
required method
Gets the state.
- (FMIceLinkDataChannelState)stateDiscussion
Gets the state.
Declared In
FMIceLinkIDataChannel.h
– subprotocol
required method
Gets the subprotocol.
- (NSString *)subprotocolDiscussion
Gets the subprotocol.
Declared In
FMIceLinkIDataChannel.h