OnUserLeaveType typedef
uid:离开房间,或切至不可见的的远端用户 ID
reason:远端用户离开的原因
Implementation
typedef OnUserLeaveType = void Function(String uid, UserOfflineReason reason);
uid:离开房间,或切至不可见的的远端用户 ID
reason:远端用户离开的原因
typedef OnUserLeaveType = void Function(String uid, UserOfflineReason reason);