Signaling (previously RTM) SDK v1.5.0 API Reference for Windows (C++)
Public Attributes | List of all members
agora::rtm::PeerOnlineStatus Struct Reference

#include <IAgoraRtmService.h>

Public Attributes

const char *  peerId
 
bool  isOnline
 
PEER_ONLINE_STATE  onlineState
 

Member Data Documentation

◆ peerId

const char* agora::rtm::PeerOnlineStatus::peerId

The user ID of the peer.

◆ isOnline

bool agora::rtm::PeerOnlineStatus::isOnline
Deprecated:
Deprecated as of v1.2.0. Use onlineState instead.

The online status of the peer.

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

◆ onlineState

PEER_ONLINE_STATE agora::rtm::PeerOnlineStatus::onlineState

The online state of the peer. See PEER_ONLINE_STATE.

Note