Agora Java API Reference for Android
|
Public Member Functions | |
PresenceEvent (int channelType, int presenceType, String channelName, TopicInfo[] topicInfos, String userId) | |
void | setChannelType (int channelType) |
void | setPresenceType (int presenceType) |
void | setChannelName (String channelName) |
void | setUserId (String userId) |
Public Attributes | |
RtmChannelType | channelType |
RtmPresenceType | presenceType |
String | channelName |
TopicInfo[] | topicInfos |
String | userId |
RtmChannelType io.agora.rtm2.PresenceEvent.channelType |
Which channel type, RTM_CHANNEL_TYPE_STREAM or RTM_CHANNEL_TYPE_MESSAGE
RtmPresenceType io.agora.rtm2.PresenceEvent.presenceType |
Indicate presence type
String io.agora.rtm2.PresenceEvent.channelName |
The channel which the presence event was triggered
TopicInfo [] io.agora.rtm2.PresenceEvent.topicInfos |
Topic information array.
String io.agora.rtm2.PresenceEvent.userId |
The user who triggered this event.