get_presence_type


Description:

public ConnectionPresenceType get_presence_type ()

If this object has been set up to track PRESENCE and the underlying connection supports either the Presence or SimplePresence interfaces, return the type of the contact's presence.

Otherwise, return UNSET.

Parameters:

this

a contact

Returns:

the same presence type as the presence_type property