Agora RTC Objective-C API Reference  Refactor
Properties
AgoraRtmPresenceEvent Class Reference

Inherits <NSObject>.

Properties

AgoraRtmChannelType channelType
 
AgoraRtmPresenceType type
 
NSString * channelName
 
NSArray< AgoraRtmTopicInfo * > * topicInfos
 
NSString * userId
 

Property Documentation

◆ channelType

- (AgoraRtmChannelType) channelType
readnonatomicassign

Which channel type, messageChannel or streamChannel

◆ type

- (AgoraRtmPresenceType) type
readnonatomicassign

Can be remote join/leave channel, remote user join/leave topic or self join channel

◆ channelName

- (NSString*) channelName
readwritenonatomiccopy

The channel to which the message was published

◆ topicInfos

- (NSArray<AgoraRtmTopicInfo *>*) topicInfos
readwritenonatomiccopy

topic information array.

◆ userId

- (NSString*) userId
readwritenonatomiccopy

uap The user who triggered this event.