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

Inherits <NSObject>.

Properties

AgoraRtmLinkState currentState
 
AgoraRtmLinkState previousState
 
AgoraRtmServiceType serviceType
 
AgoraRtmLinkOperation operation
 
AgoraRtmLinkStateChangeReason reasonCode
 
NSString * reason
 
NSArray< NSString * > * affectedChannels
 
NSArray< NSString * > * unrestoredChannels
 
BOOL isResumed
 
unsigned long long timestamp
 

Property Documentation

◆ currentState

- (AgoraRtmLinkState) currentState
readwritenonatomicassign

The current link state

◆ previousState

- (AgoraRtmLinkState) previousState
readwritenonatomicassign

The previous link state

◆ serviceType

- (AgoraRtmServiceType) serviceType
readwritenonatomicassign

The service type

◆ operation

- (AgoraRtmLinkOperation) operation
readwritenonatomicassign

The operation which trigger this event

◆ reasonCode

- (AgoraRtmLinkStateChangeReason) reasonCode
readwritenonatomicassign

The reason code of this state change event

◆ reason

- (NSString*) reason
readwritenonatomiccopy

The reason of this state change event

◆ affectedChannels

- (NSArray<NSString *>*) affectedChannels
readwritenonatomiccopy

The affected channels

◆ unrestoredChannels

- (NSArray<NSString *>*) unrestoredChannels
readwritenonatomiccopy

The unrestored channels

◆ isResumed

- (BOOL) isResumed
readwritenonatomicassign

Is resumed from disconnected state

◆ timestamp

- (unsigned long long) timestamp
readwritenonatomicassign

RTM server UTC time