Class TurnStatusReceivedEventArgs


  • public class TurnStatusReceivedEventArgs
    extends Object
    Class that describes the events of a turn status received event.
    • Constructor Detail

      • TurnStatusReceivedEventArgs

        public TurnStatusReceivedEventArgs​(long eventArgs)
        Constructs an TurnStatusReceivedEventArgs object.
        Parameters:
        eventArgs - The native TurnStatusReceivedEventArgs
    • Method Detail

      • getInteractionId

        public String getInteractionId()
        Gets the interaction identifier for the turn reporting status. Interaction identifiers are associated with the input signal (e.g. voice) that started a turn.
        Returns:
        The interaction identifier for the turn.
      • getConversationId

        public String getConversationId()
        Gets the conversation identifier for the turn reporting status. Conversations can span multiple interactions and a long period of time.
        Returns:
        The conversation identifier for the turn.
      • getStatusCode

        public int getStatusCode()
        Gets the status code for the turn. These codes reflect standard HTTP error codes such as 200 for success, 400 for a failure, and so on.
        Returns:
        The status code reported for the turn.