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 *)value
Discussion
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 ) ))addOnStateChangeWithBlock
Discussion
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 ))valueBlock
Discussion
Adds a handler that is raised when the [state](#//api/name/state) changes.
Declared In
FMIceLinkIDataChannel.h
– label
required method
Gets the label.
- (NSString *)label
Discussion
Gets the label.
Declared In
FMIceLinkIDataChannel.h
– onReceive
required method
Gets the callback to execute when a message is received.
- (FMIceLinkAction1 *)onReceive
Discussion
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)ordered
Discussion
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 *)value
Discussion
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 *)dataBytes
Discussion
Sends a byte array.
Declared In
FMIceLinkIDataChannel.h
– sendDataString:
required method
Sends a string.
- (void)sendDataString:(NSString *)dataString
Discussion
Sends a string.
Declared In
FMIceLinkIDataChannel.h
– setOnReceive:
required method
Sets the callback to execute when a message is received.
- (void)setOnReceive:(FMIceLinkAction1 *)value
Discussion
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 *) ))setOnReceiveBlock
Discussion
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 *))valueBlock
Discussion
Sets the callback to execute when a message is received.
Declared In
FMIceLinkIDataChannel.h
– state
required method
Gets the state.
- (FMIceLinkDataChannelState)state
Discussion
Gets the state.
Declared In
FMIceLinkIDataChannel.h
– subprotocol
required method
Gets the subprotocol.
- (NSString *)subprotocol
Discussion
Gets the subprotocol.
Declared In
FMIceLinkIDataChannel.h