SKYLINKConnectionLifeCycleDelegate Protocol Reference
Conforms to | NSObject |
Declared in | SKYLINKConnection.h |
Instance Methods
connection:didConnectWithMessage:success:
First message sent to the delegate upon successful or unsuccessful connection.
- (void)connection:(SKYLINKConnection *)connection didConnectWithMessage:(NSString *)errorMessage success:(BOOL)isSuccess
Parameters
- connection
The underlying connection object.
- errorMessage
Error message in case the connection is unsuccessful.
- isSuccess
Flag to specify whether the connection was successful.
Declared In
SKYLINKConnection.h
connection:didDisconnectWithMessage:
When the client is disconnected from the server.
- (void)connection:(SKYLINKConnection *)connection didDisconnectWithMessage:(NSString *)errorMessage
Parameters
- connection
The underlying connection object.
- errorMessage
Message specifying the reason of disconnection.
Declared In
SKYLINKConnection.h
connection:didReceiveWarning:
When a peer receives a warning from the underlying system.
- (void)connection:(SKYLINKConnection *)connection didReceiveWarning:(NSString *)message
Parameters
- connection
The underlying connection object.
- message
Warning message from the underlying system.
Declared In
SKYLINKConnection.h
connection:didRenderUserVideo:
Upon successful capturing and rendering of the local front camera.
- (void)connection:(SKYLINKConnection *)connection didRenderUserVideo:(UIView *)userVideoView
Parameters
- connection
The underlying connection object.
- userVideoView
The video view of the connecting client.
Declared In
SKYLINKConnection.h