Package com.vonage.client.voice
Class CallEvent
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.CallEvent
- All Implemented Interfaces:
Jsonable
Represents metadata about a call.
-
Constructor Summary
Constructors -
Method Summary
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
-
CallEvent
public CallEvent()
-
-
Method Details
-
getUuid
The unique identifier for this call leg. The UUID is created when your call request is accepted by Vonage. You use the UUID in all requests for individual live calls.- Returns:
- The call ID.
-
getConversationUuid
The unique identifier for the conversation this call leg is part of.- Returns:
- The conversation ID as a string.
-
getStatus
The status of the call.- Returns:
- The call's status as an enum.
-
getDirection
Whether the call is inbound or outbound.- Returns:
- The call direction as an enum.
-
fromJson
Deprecated.Creates an instance of this class from a JSON payload.- Parameters:
json- The JSON string to parse.- Returns:
- An instance of this class with the fields populated, if present.
-
Jsonable.fromJson(String, Class).