Interface Participant
-
- All Known Subinterfaces:
ActiveParticipant,DroppedParticipant,MessagingParticipant,PendingParticipant
public interface ParticipantInterface representing a conference participant.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddListener(ParticipantListener listener)Adds a newParticipantListenerto the participant.java.lang.StringgetAddress()Returns a participant's network-provided address, as known to the conferencing system.MatchedContactsWithMatchLevelgetAllPossibleContactMatches()Deprecated.THIS METHOD WILL BE REMOVED IN RELEASE VERSION 3.3.ContactgetBestContactMatch()Deprecated.THIS METHOD WILL BE REMOVED IN RELEASE VERSION 3.3.java.lang.StringgetDisplayName()Returns a participant's network-provided display name, as known to the conferencing system.java.lang.StringgetParticipantId()Returns a participant's Id, as known to the conferencing system.booleanisLocalUser()Indicates whether the participant is local user.voidremoveListener(ParticipantListener listener)Removes aParticipantListenerfrom the participant.voidsendPrivateChatMessage(java.lang.String message, SendMessageCompletionHandler handler)Sends a private message to this participant.
-
-
-
Method Detail
-
addListener
void addListener(ParticipantListener listener)
Adds a newParticipantListenerto the participant.- Parameters:
listener- Listener instance that should be added to the participant.- See Also:
removeListener(ParticipantListener listener)
-
removeListener
void removeListener(ParticipantListener listener)
Removes aParticipantListenerfrom the participant.- Parameters:
listener- Listener instance that is removed from the participant.- See Also:
addListener(ParticipantListener listener)
-
getAddress
java.lang.String getAddress()
Returns a participant's network-provided address, as known to the conferencing system.- Returns:
- String value of the participant's network-provided address.
-
getDisplayName
java.lang.String getDisplayName()
Returns a participant's network-provided display name, as known to the conferencing system.- Returns:
- String value of the participant's network-provided display name.
-
getParticipantId
java.lang.String getParticipantId()
Returns a participant's Id, as known to the conferencing system.- Returns:
- Sting value of the Participant's Id.
-
isLocalUser
boolean isLocalUser()
Indicates whether the participant is local user.- Returns:
- true if the participant is local user, false otherwise.
-
getBestContactMatch
@Deprecated Contact getBestContactMatch()
Deprecated.THIS METHOD WILL BE REMOVED IN RELEASE VERSION 3.3. UseContactService.resolveContacts(ResolveContactsRequest)instead.Returns the best contact match.- Returns:
- the best contact match, null if there is no match.
-
getAllPossibleContactMatches
@Deprecated MatchedContactsWithMatchLevel getAllPossibleContactMatches()
Deprecated.THIS METHOD WILL BE REMOVED IN RELEASE VERSION 3.3. UseContactService.resolveContacts(ResolveContactsRequest)instead.Returns a list of all possible contact matches.- Returns:
- all possible contact matches. A null pointer if no match is found.
-
sendPrivateChatMessage
void sendPrivateChatMessage(java.lang.String message, SendMessageCompletionHandler handler)Sends a private message to this participant.- Parameters:
message- Chat message.handler- Object that wants to learn about the result of the operation, i.e., whether it was successful.
-
-