Call End Reason
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
| Reason | Description | Typical Scenario |
Unknown | Unknown reason | Unable to determine the end reason |
Hangup | Normal hangup | User actively hangs up the call |
Reject | Rejected | Callee rejects the incoming call |
NoResponse | No response | Callee did not answer within timeout |
Offline | Offline | Callee is offline |
LineBusy | Line busy | Callee is already in a call |
Canceled | Canceled | Caller cancels before callee answers |
OtherDeviceAccepted | Accepted on another device | The call was picked up on another device associated with the same account. |
OtherDeviceReject | Rejected on another device | Call was rejected on another logged-in device |
EndByServer | Ended by server | Call was terminated by the server |
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.