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 |
onCallStateChanged(String callId,
String providerType,
String callState,
String ownerId,
String ownerType)
On call state changed.
|
abstract void |
onPartJoined(String callId,
String providerType,
String ownerId,
String ownerType,
String partId)
On participant joined.
|
abstract void |
onPartLeaved(String callId,
String providerType,
String ownerId,
String ownerType,
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 onCallStateChanged(String callId, String providerType, String callState, String ownerId, String ownerType)
callId - the call idproviderType - the provider typecallState - the call statusownerId - the caller idownerType - the caller typepublic abstract void onPartJoined(String callId, String providerType, String ownerId, String ownerType, String partId)
callId - the call idproviderType - the provider typeownerId - the caller idownerType - the caller typepartId - the participant user idpublic abstract void onPartLeaved(String callId, String providerType, String ownerId, String ownerType, String partId)
callId - the call idproviderType - the provider typeownerId - the caller idownerType - the caller typepartId - the participant user idCopyright © 2003–2017 eXo Platform SAS. All rights reserved.