Class MeetingsEventCallback

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.meetings.MeetingsEventCallback
All Implemented Interfaces:
Jsonable

Represents a deserialized callback response webhook for event updates from the Meetings API.
  • Constructor Details

  • Method Details

    • getEvent

      public EventType getEvent()
      Type of event represented by this object.
      Returns:
      The event type as an enum.
    • getSessionId

      public String getSessionId()
      Corresponds to the underlying Video API session ID.
      Returns:
      The session ID, or null if not applicable.
    • getParticipantName

      The participant name.
      Returns:
      Display name of the participant, or null if not applicable.
    • getParticipantType

      The participant type (e.g. "Guest").
      Returns:
      Type of participant, or null if not applicable.
    • getRoomId

      public UUID getRoomId()
      Meeting room's ID.
      Returns:
      The room ID, or null if not applicable.
    • getRecordingId

      public UUID getRecordingId()
      Unique recording ID for the meeting.
      Returns:
      The recording ID, or null if not applicable.
    • getParticipantId

      Unique identifier for the participant.
      Returns:
      The participant ID, or null if not applicable.
    • getRoomType

      The type of meeting room.
      Returns:
      The meeting room type as an enum, or null if not applicable.
    • getExpiresAt

      The date-time when the room will expire, expressed in ISO 8601 format.
      Returns:
      The room expiration timestamp, or null if not applicable.
    • getCreatedAt

      The date-time when the room was created, expressed in ISO 8601 format.
      Returns:
      The room creation timestamp, or null if not applicable.
    • getStartedAt

      The date-time when the session started, expressed in ISO 8601 format.
      Returns:
      The start timestamp, or null if not applicable.
    • getEndedAt

      public Instant getEndedAt()
      The date-time the session or recording ended, expressed in ISO 8601 format.
      Returns:
      The end timestamp, or null if not applicable.
    • getDuration

      public Integer getDuration()
      Duration of the recording in seconds.
      Returns:
      The duration in seconds, or null if not applicable.
    • getRecordingUrl

      public URI getRecordingUrl()
      URL of the uploaded recording.
      Returns:
      The recording URL, or null if not applicable.
    • getIsHost

      public Boolean getIsHost()
      Indicates if this participant is the session's host.
      Returns:
      Whether the participant is the session host, or null if not applicable.
    • fromJson

      public static MeetingsEventCallback fromJson(String json)
      Constructs an instance of this class from a JSON payload.
      Parameters:
      json - The webhook response JSON string.
      Returns:
      The deserialized webhook response object.
      Throws:
      VonageResponseParseException - If the response could not be deserialized.