Class UserCallListener

java.lang.Object
org.exoplatform.webconferencing.UserCallListener

public abstract class UserCallListener extends Object
Created by The eXo Platform SAS.
Version:
$Id: UserCallListener.java 00000 Jul 18, 2017 pnedonosko $
Author:
Peter Nedonosko
  • Field Details

    • userId

      protected final String userId
      The user id.
    • clientId

      protected final String clientId
      The client id.
  • Constructor Details

    • UserCallListener

      public UserCallListener(String userId, String clientId)
      Instantiates a new incoming call listener.
      Parameters:
      userId - the user id
      clientId - the client id
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getUserId

      public String getUserId()
      Gets the user id.
      Returns:
      the user id
    • getClientId

      public String getClientId()
      Gets the client id.
      Returns:
      the clientId
    • onCallStateChanged

      public abstract void onCallStateChanged(String callId, String providerType, String callState, String ownerId, String ownerType)
      On call state changed.
      Parameters:
      callId - the call id
      providerType - the provider type
      callState - the call status
      ownerId - the caller id
      ownerType - the caller type
    • onPartJoined

      public abstract void onPartJoined(String callId, String providerType, String ownerId, String ownerType, String partId)
      On participant joined.
      Parameters:
      callId - the call id
      providerType - the provider type
      ownerId - the caller id
      ownerType - the caller type
      partId - the participant user id
    • onPartLeaved

      public abstract void onPartLeaved(String callId, String providerType, String ownerId, String ownerType, String partId)
      On participant leaved.
      Parameters:
      callId - the call id
      providerType - the provider type
      ownerId - the caller id
      ownerType - the caller type
      partId - the participant user id