AgoraClientRoleChangeFailedReason Constants Reference
Declared in | AgoraEnumerates.h |
---|---|
Availability | v3.7.0 |
AgoraClientRoleChangeFailedReason
切换用户角色失败的原因。
Definition
typedef NS_ENUM(NSInteger, AgoraClientRoleChangeFailedReason ) {
AgoraClientRoleChangeFailedByTooManyBroadcasters = 1,
AgoraClientRoleChangeFailedByNotAuthorized = 2,
AgoraClientRoleChangeFailedByRequestTimeOut = 3,
AgoraClientRoleChangeFailedByConnectionFailed = 4,
};
Constants
AgoraClientRoleChangeFailedByTooManyBroadcasters
-
1: 频道内主播人数达到上限。
Declared In
AgoraEnumerates.h
. AgoraClientRoleChangeFailedByNotAuthorized
-
2: 请求被服务端拒绝。建议提示用户重新尝试切换用户角色。
Declared In
AgoraEnumerates.h
. AgoraClientRoleChangeFailedByRequestTimeOut
-
3: 请求超时。建议提示用户检查网络连接状况后重新尝试切换用户角色。
Declared In
AgoraEnumerates.h
. AgoraClientRoleChangeFailedByConnectionFailed
-
4: 网络连接断开。可根据
connectionChangedToState
报告的原因,排查网络连接失败的具体原因。Declared In
AgoraEnumerates.h
.
Availability
v3.7.0
Declared In
AgoraEnumerates.h