AgoraRtmPeerOnlineStatus Class Reference

Inherits from NSObject
Declared in AgoraRtmKit.h

Overview

Data structure indicating the online status of a user.

  peerId

The user ID of the specified user.

@property (nonatomic, copy, nonnull) NSString *peerId

Declared In

AgoraRtmKit.h

  isOnline

The online status of the peer. DEPRECATED as of v1.2.0. Use state instead.

@property (nonatomic, assign) BOOL isOnline

Discussion

  • YES: The user is online (the user has logged in the Agora RTM system).
  • NO: The user is offline (the user has logged out of the Agora RTM system, has not logged in, or has failed to logged in).

Declared In

AgoraRtmKit.h

  state

The online state of the peer. See AgoraRtmPeerOnlineState.

@property (nonatomic, assign, readonly) AgoraRtmPeerOnlineState state

Discussion

NOTE

Declared In

AgoraRtmKit.h