CallEndReason

通话结束原因,用于标识音视频通话是如何结束的(正常挂断、拒绝、超时等)。

此枚举描述了通话结束的各种原因,帮助开发者了解通话是如何终止的。

结束原因说明

原因说明典型场景
Unknown未知原因无法确定结束原因
Hangup正常挂断用户主动挂断通话
Reject拒绝接听被叫方拒绝来电
NoResponse无响应被叫方未在超时时间内接听
Offline对方离线被叫方不在线
LineBusy对方忙线被叫方正在通话中
Canceled通话取消主叫方在对方接听前取消
OtherDeviceAccepted其他设备已接听通话已在另一登录设备上接听
OtherDeviceReject其他设备已拒绝通话已在另一登录设备上拒绝
EndByServer服务器结束通话被服务器终止

Entries

Link copied to clipboard

未知原因

Link copied to clipboard

正常挂断

Link copied to clipboard

拒绝接听

Link copied to clipboard

无响应

Link copied to clipboard

对方离线

Link copied to clipboard

对方忙线

Link copied to clipboard

通话被取消

Link copied to clipboard

其他设备已接听

Link copied to clipboard

其他设备已拒绝

Link copied to clipboard

后台结束通话

Properties

Link copied to clipboard
val value: Int

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.