public abstract class UserCallListener extends Object
| Constructor and Description |
|---|
UserCallListener(String userId)
Instantiates a new incoming call listener.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUserId()
Gets the user id.
|
abstract boolean |
isListening()
Checks if is listening.
|
abstract void |
onCallState(String callId,
String providerType,
String callState,
String callerId,
String callerType)
Notify.
|
abstract void |
onPartJoined(String callId,
String providerType,
String partId)
On participant joined.
|
abstract void |
onPartLeaved(String callId,
String providerType,
String partId)
On participant leaved.
|
protected final String userId
public UserCallListener(String userId)
userId - the user idpublic String getUserId()
public abstract boolean isListening()
public abstract void onCallState(String callId, String providerType, String callState, String callerId, String callerType)
callId - the call idproviderType - provider typecallState - the call statuscallerId - the caller idcallerType - the caller typepublic abstract void onPartJoined(String callId, String providerType, String partId)
callId - the call idproviderType - the provider typepartId - the participant user idCopyright © 2003–2017 eXo Platform SAS. All rights reserved.