Package com.vonage.client.meetings
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MeetingsEventCallbackConstructs an instance of this class from a JSON payload.The date-time when the room was created, expressed in ISO 8601 format.Duration of the recording in seconds.The date-time the session or recording ended, expressed in ISO 8601 format.getEvent()Type of event represented by this object.The date-time when the room will expire, expressed in ISO 8601 format.Indicates if this participant is the session's host.Unique identifier for the participant.The participant name.The participant type (e.g.Unique recording ID for the meeting.URL of the uploaded recording.Meeting room's ID.The type of meeting room.Corresponds to the underlying Video API session ID.The date-time when the session started, expressed in ISO 8601 format.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
MeetingsEventCallback
protected MeetingsEventCallback()
-
-
Method Details
-
getEvent
Type of event represented by this object.- Returns:
- The event type as an enum.
-
getSessionId
Corresponds to the underlying Video API session ID.- Returns:
- The session ID, or
nullif not applicable.
-
getParticipantName
The participant name.- Returns:
- Display name of the participant, or
nullif not applicable.
-
getParticipantType
The participant type (e.g. "Guest").- Returns:
- Type of participant, or
nullif not applicable.
-
getRoomId
Meeting room's ID.- Returns:
- The room ID, or
nullif not applicable.
-
getRecordingId
Unique recording ID for the meeting.- Returns:
- The recording ID, or
nullif not applicable.
-
getParticipantId
Unique identifier for the participant.- Returns:
- The participant ID, or
nullif not applicable.
-
getRoomType
The type of meeting room.- Returns:
- The meeting room type as an enum, or
nullif not applicable.
-
getExpiresAt
The date-time when the room will expire, expressed in ISO 8601 format.- Returns:
- The room expiration timestamp, or
nullif not applicable.
-
getCreatedAt
The date-time when the room was created, expressed in ISO 8601 format.- Returns:
- The room creation timestamp, or
nullif not applicable.
-
getStartedAt
The date-time when the session started, expressed in ISO 8601 format.- Returns:
- The start timestamp, or
nullif not applicable.
-
getEndedAt
The date-time the session or recording ended, expressed in ISO 8601 format.- Returns:
- The end timestamp, or
nullif not applicable.
-
getDuration
Duration of the recording in seconds.- Returns:
- The duration in seconds, or
nullif not applicable.
-
getRecordingUrl
URL of the uploaded recording.- Returns:
- The recording URL, or
nullif not applicable.
-
getIsHost
Indicates if this participant is the session's host.- Returns:
- Whether the participant is the session host, or
nullif not applicable.
-
fromJson
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.
-