Suggestions

close search

StringeeConnectionListener

public interface StringeeConnectionListener



Monitors when the client connects or disconnects from Stringee server.



Summary


Public methods
void void onConnectionConnected(StringeeClient client, boolean isReconnecting)

Perform on connection connected.

void void onConnectionDisconnected(StringeeClient client, boolean isReconnecting)

Perform on connection disconnected.

void void onIncomingCall(StringeeCall stringeeCall)

Perform on incoming call.

void void onIncomingCall2(StringeeCall2 stringeeCall)

Perform on incoming call2.

void void onConnectionError(StringeeClient client, StringeeError error)

Perform on connection error.

void void onRequestNewToken(StringeeClient client)

Perform on request new token.

void void onCustomMessage(String from, JSONObject msg)

Perform on custom message.

void void onTopicMessage(String from, JSONObject msg)

Perform on topic message.



Public methods


onConnectionConnected

void onConnectionConnected(StringeeClient client, boolean isReconnecting)

Perform on connection connected.



onConnectionDisconnected

void onConnectionDisconnected(StringeeClient client, boolean isReconnecting)

Perform on connection disconnected.



onIncomingCall

void onIncomingCall(StringeeCall stringeeCall)

Perform on incoming call.



onIncomingCall2

void onIncomingCall2(StringeeCall2 stringeeCall)

Perform on incoming call2.



onConnectionError

void onConnectionError(StringeeClient client, StringeeError error)

Perform on connection error.



onRequestNewToken

void onRequestNewToken(StringeeClient client)

Perform on request new token.



onCustomMessage

void onCustomMessage(String from, JSONObject msg)

Perform on custom message.



onTopicMessage

void onTopicMessage(String from, JSONObject msg)

Perform on topic message.