public class MessengerContact
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
signinName
The sign-in name associated with the native IMessengerContact
implementation represented by this instance.
|
Constructor and Description |
---|
MessengerContact(java.lang.String signinName)
Initializes a new MessengerContact instance which is to
represent the Java counterpart of a native IMessengerContact
implementation associated with a specific sign-in name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPhoneNumber(int type)
Gets the phone number information of the contact associated with this
instance.
|
int |
getStatus()
Gets the connection/presence status of the contact associated with this
instance in the form of a MISTATUS value.
|
boolean |
isSelf()
Gets the indicator which determines whether this
MessengerContact is the same user as the current client user.
|
public final java.lang.String signinName
public MessengerContact(java.lang.String signinName)
signinName
- the sign-in name associated with the native
IMessengerContact implementation which is to be represented by
the new instancepublic java.lang.String getPhoneNumber(int type)
a
- member of the MPHONE_TYPE enumerated type which
specifies the type of the phone number information to be retrievedpublic int getStatus()
public boolean isSelf()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.