onLogout method

FutureOr<void> onLogout(
  1. LogoutReason reason
)

@detail callback @author hanchenchen.c @brief Callback of logout result @param reason It describes the reason why users log out. See LogoutReason{@link #LogoutReason} @note You will receive this callback when calling logout{@link #RTCEngine#logout} or when the local user is kicked out because another user logs in with the same UserId.

Implementation

FutureOr<void> onLogout(LogoutReason reason) async {}