Call End Reason
通话结束原因,用于标识音视频通话是如何结束的(正常挂断、拒绝、超时等)。
此枚举描述了通话结束的各种原因,帮助开发者了解通话是如何终止的。
结束原因说明
| 原因 | 说明 | 典型场景 |
Unknown | 未知原因 | 无法确定结束原因 |
Hangup | 正常挂断 | 用户主动挂断通话 |
Reject | 拒绝接听 | 被叫方拒绝来电 |
NoResponse | 无响应 | 被叫方未在超时时间内接听 |
Offline | 对方离线 | 被叫方不在线 |
LineBusy | 对方忙线 | 被叫方正在通话中 |
Canceled | 通话取消 | 主叫方在对方接听前取消 |
OtherDeviceAccepted | 其他设备已接听 | 通话已在另一登录设备上接听 |
OtherDeviceReject | 其他设备已拒绝 | 通话已在另一登录设备上拒绝 |
EndByServer | 服务器结束 | 通话被服务器终止 |
Entries
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.