Class 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.

    • 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"]
    • Constructor Detail

      • CallHangupContent

        public CallHangupContent()
    • Method Detail

      • getCallId

        public String getCallId()
      • setCallId

        public void setCallId​(String callId)
      • getVersion

        public Long getVersion()
      • setVersion

        public void setVersion​(Long version)
      • getReason

        public String getReason()
      • setReason

        public void setReason​(String reason)