TurnStatusReceivedEventArgs Class

  • java.lang.Object
    • com.microsoft.cognitiveservices.speech.dialog.TurnStatusReceivedEventArgs

public class TurnStatusReceivedEventArgs

Class that describes the events of a turn status received event.

Constructor Summary

Constructor Description
TurnStatusReceivedEventArgs(long eventArgs)

Constructs an TurnStatusReceivedEventArgs object.

Method Summary

Modifier and Type Method and Description
java.lang.String getConversationId()

Gets the conversation identifier for the turn reporting status.

java.lang.String getInteractionId()

Gets the interaction identifier for the turn reporting status.

int getStatusCode()

Gets the status code for the turn.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

TurnStatusReceivedEventArgs

public TurnStatusReceivedEventArgs(long eventArgs)

Constructs an TurnStatusReceivedEventArgs object.

Parameters:

eventArgs - The native TurnStatusReceivedEventArgs

Method Details

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.

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.

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.

Applies to