public class

LifeCycleAdapter

extends Object
implements LifeCycleListener
java.lang.Object
   ↳ sg.com.temasys.skylink.sdk.adapter.LifeCycleAdapter

Summary

Public Constructors
LifeCycleAdapter()
Public Methods
void onConnect(boolean isSuccessful, String message)
This is the first callback to specify whether the attempt to connect to the room was successful.
void onDisconnect(int errorCode, String message)
This is triggered when we disconnect from the room we were in.
void onLockRoomStatusChange(String remotePeerId, boolean lockStatus)
This is triggered when the lock status of the room that we are in changes
void onReceiveLog(String message)
Occasionally the framework sends some messages for the client to intimate about certain happenings.
void onWarning(int errorCode, String message)
This is triggered when the framework issues a warning to the client.
[Expand]
Inherited Methods
From class java.lang.Object
From interface sg.com.temasys.skylink.sdk.listener.LifeCycleListener

Public Constructors

public LifeCycleAdapter ()

Public Methods

public void onConnect (boolean isSuccessful, String message)

This is the first callback to specify whether the attempt to connect to the room was successful.

Parameters
isSuccessful Specify success or failure
message A message in case of isSuccessful is 'false' describing the reason of failure

public void onDisconnect (int errorCode, String message)

This is triggered when we disconnect from the room we were in.

Parameters
errorCode
message Message specifying the reason for disconnection

public void onLockRoomStatusChange (String remotePeerId, boolean lockStatus)

This is triggered when the lock status of the room that we are in changes

Parameters
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

public void onReceiveLog (String message)

Occasionally the framework sends some messages for the client to intimate about certain happenings.

Parameters
message Message from framework.

public void onWarning (int errorCode, String message)

This is triggered when the framework issues a warning to the client.

Parameters
errorCode
message Warning message