Class CallInviteContent
- java.lang.Object
-
- io.github.ma1uta.matrix.event.content.CallInviteContent
-
- All Implemented Interfaces:
EventContent
public class CallInviteContent extends Object implements EventContent
Message Event.This event is sent by the caller when they wish to establish a call.
-
-
Constructor Summary
Constructors Constructor Description CallInviteContent()
-
Method Summary
Modifier and Type Method Description String
getCallId()
Long
getLifetime()
Offer
getOffer()
Long
getVersion()
void
setCallId(String callId)
void
setLifetime(Long lifetime)
void
setOffer(Offer offer)
void
setVersion(Long version)
-
-
-
Field Detail
-
callId
private String callId
Required. The ID of the call this event relates to.
-
offer
private Offer offer
Required. The session description object.
-
version
private Long version
Required. The version of the VoIP specification this message adheres to. This specification is version 0.
-
lifetime
private Long lifetime
Required. The time in milliseconds that the invite is valid for. Once the invite age exceeds this value, clients should discard it. They should also no longer show the call as awaiting an answer in the UI.
-
-
Method Detail
-
getCallId
public String getCallId()
-
setCallId
public void setCallId(String callId)
-
getVersion
public Long getVersion()
-
setVersion
public void setVersion(Long version)
-
getOffer
public Offer getOffer()
-
setOffer
public void setOffer(Offer offer)
-
getLifetime
public Long getLifetime()
-
setLifetime
public void setLifetime(Long lifetime)
-
-