Class DisconnectCallEvent
java.lang.Object
com.sinch.sdk.domains.voice.models.webhooks.WebhooksEvent
com.sinch.sdk.domains.voice.models.webhooks.CallEvent
com.sinch.sdk.domains.voice.models.webhooks.DisconnectCallEvent
This callback is made when the call is disconnected.
It's a POST request to the specified calling callback URL. This event doesn't support instructions and only supports the hangup action.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionstatic DisconnectCallEvent.Builder
<?> builder()
The unique application keygetDebit()
Amount charged for the callThe duration of the call in secondsgetFrom()
Information about the initiator of the call.The reason the call was disconnectedThe result of the callgetTo()
Information about the recipient of the callRate per minute for the calltoString()
Methods inherited from class com.sinch.sdk.domains.voice.models.webhooks.CallEvent
getCustom, getTimestamp
Methods inherited from class com.sinch.sdk.domains.voice.models.webhooks.WebhooksEvent
getCallId, getVersion
-
Method Details
-
getReason
The reason the call was disconnected- Returns:
- Reason value
-
getResult
The result of the call- Returns:
- Result value
-
getDebit
Amount charged for the call- Returns:
- charge value
-
getUserRate
Rate per minute for the call- Returns:
- rate value
-
getTo
Information about the recipient of the call- Returns:
- Recipient information
-
getApplicationKey
The unique application key- Returns:
- Application key value
-
getDuration
The duration of the call in seconds- Returns:
- Call duration
-
getFrom
Information about the initiator of the call.- Returns:
- Initiator information
-
toString
-
builder
-