Gateway online status methods

The following table describes the methods that you can use to get and set the gateway’s online availability status (presence information):

Method

Description

getCustomAwayMessage

Returns the gateway’s custom away message if it has been set by the setStatus method.

getStatusAsString

Returns the online status of the gateway.

getStatusTimeStamp

Returns the date/time that the gateway changed its online status.

isOnline

Returns True if the gateway is connected to the IM server; otherwise, returns false.

setStatus

Changes the gateway’s online status; for example, to away or idle.