Class CallHangupContent
- java.lang.Object
-
- io.github.ma1uta.matrix.event.content.CallHangupContent
-
- All Implemented Interfaces:
EventContent
public class CallHangupContent extends Object implements EventContent
Message Event.Sent by either party to signal their termination of the call. This can be sent either once the call has has been established or before to abort the call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CallHangupContent.Reason
Hangup's reasons.
-
Constructor Summary
Constructors Constructor Description CallHangupContent()
-
-
-
Field Detail
-
callId
private String callId
Required. The ID of the call this event relates to.
-
version
private Long version
Required. The version of the VoIP specification this message adheres to. This specification is version 0.
-
reason
private String reason
Optional error reason for the hangup. This should not be provided when the user naturally ends or rejects the call. When there was an error in the call negotiation, this should be ice_failed for when ICE negotiation fails or invite_timeout for when the other party did not answer in time. One of: ["ice_failed", "invite_timeout"]
-
-