sg.com.temasys.skylink.sdk.listener.LifeCycleListener |
Known Indirect Subclasses |
Listener comprises of callbacks related to the life cycle of the connection.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onChangeRoomLockStatus(boolean roomLockStatus, String peerId)
This is triggered when the lock status of the room that we are in is changed
| ||||||||||
abstract void |
onConnectToRoomFailed(String errorMessage)
This is the first callback to specify whether the attempt to connect to the room was
UNSUCCESSFUL.
| ||||||||||
abstract void |
onConnectToRoomSucessful()
This is the first callback to specify whether the attempt to connect to the room was
successful.
| ||||||||||
abstract void |
onDisconnectFromRoom(SkylinkEvent skylinkEvent, String contextDescription)
This is triggered when we disconnect from the room we were in.
| ||||||||||
abstract void |
onReceiveError(SkylinkError skylinkError, HashMap<String, Object> details)
This is triggered when the framework issues a error to the user.
| ||||||||||
abstract void |
onReceiveInfo(SkylinkInfo skylinkInfo, HashMap<String, Object> details)
This is to deliver framework messages that might be useful to the user.
| ||||||||||
abstract void |
onReceiveWarning(SkylinkError skylinkError, HashMap<String, Object> details)
This is triggered when the framework issues a warning to the user.
|
This is triggered when the lock status of the room that we are in is changed
roomLockStatus | True if the room is locked & false if the room has been unlocked |
---|---|
peerId | The id of the peer that changed the lock status. |
This is the first callback to specify whether the attempt to connect to the room was UNSUCCESSFUL.
errorMessage | The error description for failed connection |
---|
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.
skylinkEvent | SkylinkEvent with more details about this disconnection. |
---|---|
contextDescription | Message specifying the reason for disconnection |
This is triggered when the framework issues a error to the user.
skylinkError | SkylinkError with more details about this error. |
---|---|
details | Error message from framework with content delivered as a map. |
This is to deliver framework messages that might be useful to the user.
skylinkInfo | SkylinkInfo with more details about this info. |
---|---|
details | Info message from framework with content delivered as a map. |
This is triggered when the framework issues a warning to the user.
skylinkError | SkylinkError with more details about this warning. |
---|---|
details | Warning message from framework with content delivered as a map. |