AgoraRtmPeerOnlineState Constants Reference
Declared in | AgoraRtmKit.h |
---|
AgoraRtmPeerOnlineState
The online states of a peer.
Definition
typedef NS_ENUM(NSInteger, AgoraRtmPeerOnlineState ) {
AgoraRtmPeerOnlineStateOnline = 0,
AgoraRtmPeerOnlineStateUnreachable = 1,
AgoraRtmPeerOnlineStateOffline = 2,
};
Constants
-
AgoraRtmPeerOnlineStateOnline
-
0: The peer is online.
Declared In
AgoraRtmKit.h
. -
AgoraRtmPeerOnlineStateUnreachable
-
1: The peer is temporarily unreachable (the server has not received a packet from the SDK for more than six seconds).
Declared In
AgoraRtmKit.h
. -
AgoraRtmPeerOnlineStateOffline
-
2: The peer is offline (the sdk has not logged in the Agora RTM system, or it has logged out of the system, or the server has not received a packet from the SDK for more than 30 seconds).
Declared In
AgoraRtmKit.h
.
Declared In
AgoraRtmKit.h