onGetPeerOnlineStatus property

FutureOr<void> Function(String peerUserId, UserOnlineStatus status)? onGetPeerOnlineStatus
getter/setter pair

@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> Function(String peerUserId, UserOnlineStatus status)?
    onGetPeerOnlineStatus;