sg.com.temasys.skylink.sdk.listener.LifeCycleListener |
Known Indirect Subclasses |
Listener comprises of callbacks related to the life cycle of the connection.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This is the first callback to specify whether the attempt to connect to the room was
successful.
| |||||||||||
This is triggered when we disconnect from the room we were in.
| |||||||||||
This is triggered when the lock status of the room that we are in changes
| |||||||||||
Occasionally the framework sends some messages for the client to intimate about certain
happenings.
| |||||||||||
This is triggered when the framework issues a warning to the client.
|
This is the first callback to specify whether the attempt to connect to the room was successful.
isSuccessful | Specify success or failure |
---|---|
message | A message in case of isSuccessful is 'false' describing the reason of failure |
This is triggered when we disconnect from the room we were in.
errorCode | |
---|---|
message | Message specifying the reason for disconnection |
This is triggered when the lock status of the room that we are in changes
remotePeerId | The id of the peer that changed the lock status. |
---|---|
lockStatus | True if the room is locked & false if the room has been unlocked |
Occasionally the framework sends some messages for the client to intimate about certain happenings.
message | Message from framework. |
---|
This is triggered when the framework issues a warning to the client.
errorCode | |
---|---|
message | Warning message |