|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.sip.SipStatusEnum
public class SipStatusEnum
The SipStatusEnum gives access to presence states for the Sip protocol. All status icons corresponding to presence states are located with the help of the imagePath parameter
| Field Summary | |
|---|---|
static String |
AWAY
The Away status. |
static String |
BUSY
The busy status. |
static String |
OFFLINE
Indicates an Offline status or status with 0 connectivity. |
static String |
ON_THE_PHONE
The On the phone status. |
static String |
ONLINE
The Online status. |
List<PresenceStatus> |
supportedStatusSet
The supported status set stores all statuses supported by this protocol implementation. |
static String |
UNKNOWN
The Unknown status. |
| Constructor Summary | |
|---|---|
SipStatusEnum(String iconPath)
|
|
| Method Summary | |
|---|---|
net.java.sip.communicator.impl.protocol.sip.SipStatusEnum.SipPresenceStatus |
getStatus(String statusName)
Returns the offline sip status. |
Iterator<PresenceStatus> |
getSupportedStatusSet()
Returns an iterator over all status instances supported by the sip provider. |
static byte[] |
loadIcon(String imagePath)
Loads an image from a given image path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OFFLINE
public static final String ONLINE
public static final String BUSY
public static final String ON_THE_PHONE
public static final String AWAY
public static final String UNKNOWN
public final List<PresenceStatus> supportedStatusSet
| Constructor Detail |
|---|
public SipStatusEnum(String iconPath)
| Method Detail |
|---|
public net.java.sip.communicator.impl.protocol.sip.SipStatusEnum.SipPresenceStatus getStatus(String statusName)
statusName - the name of the status.
public Iterator<PresenceStatus> getSupportedStatusSet()
public static byte[] loadIcon(String imagePath)
imagePath - The path to the image resource.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||