public interface GlobalStatusService
Modifier and Type | Method and Description |
---|---|
PresenceStatus |
getGlobalPresenceStatus()
Returns the global presence status.
|
PresenceStatus |
getLastPresenceStatus(ProtocolProviderService protocolProvider)
Returns the last status that was stored in the configuration for the
given protocol provider.
|
java.lang.String |
getLastStatusString(ProtocolProviderService protocolProvider)
Returns the last contact status saved in the configuration.
|
void |
publishStatus(GlobalStatusEnum status)
Publish present global status, changing the appropriate status on all
protocols.
|
void |
publishStatus(ProtocolProviderService protocolProvider,
PresenceStatus status)
Publish present status.
|
PresenceStatus getGlobalPresenceStatus()
PresenceStatus getLastPresenceStatus(ProtocolProviderService protocolProvider)
protocolProvider
- the protocol providerjava.lang.String getLastStatusString(ProtocolProviderService protocolProvider)
protocolProvider
- the protocol provider to which the status
correspondsvoid publishStatus(GlobalStatusEnum status)
status
- the status to change to.void publishStatus(ProtocolProviderService protocolProvider, PresenceStatus status)
protocolProvider
- the protocol provider to which we
change the status.status
- the status to publish.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.