Chat SDK for Android v1.2.1
agora java chat SDK
Public Member Functions | List of all members
io.agora.chat.Presence Class Reference

Inherits io.agora.chat.EMBase< T >.

Public Member Functions

String getPublisher ()
 
Map< String, Integer > getStatusList ()
 
String getExt ()
 
long getLatestTime ()
 
long getExpiryTime ()
 

Detailed Description

The presence property class that contains presence properties, including the publisher's user ID and current presence state, and the platform used by the online device, as well as the presence's extension information, update time, and subscription expiration time.

Member Function Documentation

◆ getExpiryTime()

long io.agora.chat.Presence.getExpiryTime ( )
Returns
The expiration time of the presence subscription.

◆ getExt()

String io.agora.chat.Presence.getExt ( )
Returns
The presence extension information.

◆ getLatestTime()

long io.agora.chat.Presence.getLatestTime ( )
Returns
The presence update time, which is generated by the server.

◆ getPublisher()

String io.agora.chat.Presence.getPublisher ( )
Returns
The user ID of the presence publisher.

◆ getStatusList()

Map< String, Integer > io.agora.chat.Presence.getStatusList ( )
Returns
The details of the current presence state. key:The platform used by the current online device of the publisher, which can be "ios", "android", "linux", "windows", or "webim". value:The current presence state of the publisher, 0 is offline, 1 is online.

The documentation for this class was generated from the following file: