Class CallEvent

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.CallEvent
All Implemented Interfaces:
Jsonable

public class CallEvent extends JsonableBaseObject
Represents metadata about a call.
  • Constructor Details

  • Method Details

    • getUuid

      public String 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 public static CallEvent fromJson(String json)
      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.