CallEndReason

Call end reason, used to identify how the audio/video call ended (normal hangup, rejection, timeout, etc.).

This enum describes the various reasons why a call ended, helping developers understand how the call was terminated.

End Reason Description

ReasonDescriptionTypical Scenario
UnknownUnknown reasonUnable to determine the end reason
HangupNormal hangupUser actively hangs up the call
RejectRejectedCallee rejects the incoming call
NoResponseNo responseCallee did not answer within timeout
OfflineOfflineCallee is offline
LineBusyLine busyCallee is already in a call
CanceledCanceledCaller cancels before callee answers
OtherDeviceAcceptedAccepted on another deviceThe call was picked up on another device associated with the same account.
OtherDeviceRejectRejected on another deviceCall was rejected on another logged-in device
EndByServerEnded by serverCall was terminated by the server

Entries

Link copied to clipboard

Unknown reason

Link copied to clipboard

Normal hangup

Link copied to clipboard

Rejected

Link copied to clipboard

No response

Link copied to clipboard

Offline

Link copied to clipboard

Line busy

Link copied to clipboard

Call was canceled

Link copied to clipboard

Accepted on another device

Link copied to clipboard

Rejected on another device

Link copied to clipboard

Call ended by backend

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.