public class JabberStatusEnum
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AVAILABLE
The Online status.
|
static java.lang.String |
AWAY
The Away status.
|
static java.lang.String |
DO_NOT_DISTURB
The DND status.
|
static java.lang.String |
EXTENDED_AWAY
The Free For Chat status.
|
static java.lang.String |
FREE_FOR_CHAT
The Free For Chat status.
|
static java.lang.String |
IN_A_MEETING
In meeting Chat status.
|
static java.lang.String |
OFFLINE
Indicates an Offline status or status with 0 connectivity.
|
static java.lang.String |
ON_THE_PHONE
On The Phone Chat status.
|
java.util.List<PresenceStatus> |
supportedStatusSet
The supported status set stores all statuses supported by this protocol
implementation.
|
static java.lang.String |
UNKNOWN
The Unknown status.
|
Modifier and Type | Method and Description |
---|---|
static JabberStatusEnum |
getJabberStatusEnum(java.lang.String iconPath)
Returns an instance of JabberStatusEnum for the specified
iconPath or creates a new one if it doesn't already exist.
|
net.java.sip.communicator.service.protocol.jabberconstants.JabberStatusEnum.JabberPresenceStatus |
getStatus(java.lang.String statusName)
Returns the offline Jabber status.
|
static java.lang.String[] |
getStatusNames()
Get all status name as array.
|
java.util.Iterator<PresenceStatus> |
getSupportedStatusSet()
Returns an iterator over all status instances supported by the sip
provider.
|
static byte[] |
loadIcon(java.lang.String imagePath)
Loads an image from a given image path.
|
static byte[] |
loadIcon(java.lang.String imagePath,
java.lang.Class<?> clazz)
Loads the icon.
|
public static final java.lang.String AVAILABLE
public static final java.lang.String AWAY
public static final java.lang.String DO_NOT_DISTURB
public static final java.lang.String FREE_FOR_CHAT
public static final java.lang.String ON_THE_PHONE
public static final java.lang.String IN_A_MEETING
public static final java.lang.String EXTENDED_AWAY
public static final java.lang.String OFFLINE
public static final java.lang.String UNKNOWN
public final java.util.List<PresenceStatus> supportedStatusSet
public static JabberStatusEnum getJabberStatusEnum(java.lang.String iconPath)
iconPath
- the location containing the status icons that should
be used by this enumeration.public net.java.sip.communicator.service.protocol.jabberconstants.JabberStatusEnum.JabberPresenceStatus getStatus(java.lang.String statusName)
statusName
- the name of the status.public java.util.Iterator<PresenceStatus> getSupportedStatusSet()
public static java.lang.String[] getStatusNames()
public static byte[] loadIcon(java.lang.String imagePath)
imagePath
- The path to the image resource.public static byte[] loadIcon(java.lang.String imagePath, java.lang.Class<?> clazz)
imagePath
- path of the imageclazz
- class name
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.