SKYLINKConnectionMessagesDelegate Protocol Reference
Conforms to | NSObject |
Declared in | SKYLINKConnection.h |
Instance Methods
connection:didReceiveCustomMessage:public:peerId:
Upon receiving a private or public message.
- (void)connection:(SKYLINKConnection *)connection didReceiveCustomMessage:(id)message public:(BOOL)isPublic peerId:(NSString *)peerId
Parameters
- connection
The underlying connection object.
- message
User defined message. May be an NSString, NSDictionary or NSArray.
- isPublic
Flag to specify whether the message was a broadcast.
- peerId
The unique id of the peer.
Declared In
SKYLINKConnection.h
connection:didReceiveDCMessage:public:peerId:
Upon receiving a data channel chat message.
- (void)connection:(SKYLINKConnection *)connection didReceiveDCMessage:(id)message public:(BOOL)isPublic peerId:(NSString *)peerId
Parameters
- connection
The underlying connection object.
- message
User defined message. May be an NSString, NSDictionary or NSArray.
- isPublic
Flag to specify whether the message was a broadcast.
- peerId
The unique id of the peer.
Declared In
SKYLINKConnection.h