Interface Participant


public interface Participant
Identifies a member of a Conference or ChatRoom.

A participant is identified by it's SIP address. It can have many ParticipantDevice
.
  • Method Details

    • getAddress

      @NonNull Address getAddress()
      Get the address of a conference participant.

      Returns:
      The Address of the participant
    • getCreationTime

      long getCreationTime()
      Get the timestamp of the creation of the participant.

      Returns:
      time of creation of the participant as returned by time(nullptr). For
      UNIX based systems it is the number of seconds since 00:00hours of the 1st of
      January 1970
    • getDevices

      @NonNull ParticipantDevice[] getDevices()
      Gets the list of devices from a chat room's participant.

      Returns:
      List of devices.
    • isAdmin

      boolean isAdmin()
      Tells whether a conference participant is an administrator of the conference.

      Returns:
      A boolean value telling whether the participant is an administrator
    • isFocus

      boolean isFocus()
      Tells whether a conference participant is the focus of the conference.

      Returns:
      A boolean value telling whether the participant is a focus of a
      conference
    • getRole

      Participant.Role getRole()
      Get the role of the participant within the conference.

      Returns:
      role within the conference Participant.Role
    • getSecurityLevel

      ChatRoom.SecurityLevel getSecurityLevel()
      Get the security level of a participant.

      Returns:
      The ChatRoom#SecurityLevel of the participant
    • findDevice

      @Nullable ParticipantDevice findDevice(@NonNull Call call)
      Find a device in the list of devices from a chat room's participant.

      Parameters:
      call - A Call object
      Returns:
      a ParticipantDevice or null if not found.
    • findDevice

      @Nullable ParticipantDevice findDevice(@NonNull Address address)
      Find a device in the list of devices from a chat room's participant.

      Parameters:
      address - A Address object
      Returns:
      a ParticipantDevice or null if not found.
    • setUserData

      void setUserData(Object data)
      Sets the object to store in this object user's data
      Parameters:
      data - the object to store
    • getUserData

      Object getUserData()
      Gets the object stored in this object user's data
      Returns:
      the object store if any, null otherwise
    • getNativePointer

      long getNativePointer()
      Gets the native pointer used by this class to make native method calls.
      Returns:
      the nativer pointer, as long
    • toString

      String toString()
      Overrides:
      toString in class Object