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
| read write nonatomic assign

The current link state

## ◆ previousState

- (AgoraRtmLinkState) previousState
| read write nonatomic assign

The previous link state

## ◆ serviceType

- (AgoraRtmServiceType) serviceType
| read write nonatomic assign

The service type

## ◆ operation

- (AgoraRtmLinkOperation) operation
| read write nonatomic assign

The operation which trigger this event

## ◆ reasonCode

- (AgoraRtmLinkStateChangeReason) reasonCode
| read write nonatomic assign

The reason code of this state change event

## ◆ reason

- (NSString*) reason
| read write nonatomic copy

The reason of this state change event

## ◆ affectedChannels

- (NSArray<NSString *>*) affectedChannels
| read write nonatomic copy

The affected channels

## ◆ unrestoredChannels

- (NSArray<NSString *>*) unrestoredChannels
| read write nonatomic copy

The unrestored channels

## ◆ isResumed

- (BOOL) isResumed
| read write nonatomic assign

Is resumed from disconnected state

## ◆ timestamp

- (unsigned long long) timestamp
| read write nonatomic assign

RTM server UTC time