onGetPeerOnlineStatus method

FutureOr<void> onGetPeerOnlineStatus(
  1. String peerUserId,
  2. UserOnlineStatus status
)

@detail callback @author hanchenchen.c @brief The return result of querying the login status of the peer or local user @param peerUserId User ID @param status
The login status of the user queried
See UserOnlineStatus{@link #UserOnlineStatus}. @note You must first call getPeerOnlineStatus{@link #RTCEngine#getPeerOnlineStatus} To receive this callback.

Implementation

FutureOr<void> onGetPeerOnlineStatus(
    String peerUserId, UserOnlineStatus status) async {}