Class TurnStatusReceivedEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.dialog.TurnStatusReceivedEventArgs
-
public class TurnStatusReceivedEventArgs extends Object
Class that describes the events of a turn status received event.
-
-
Constructor Summary
Constructors Constructor Description TurnStatusReceivedEventArgs(long eventArgs)Constructs an TurnStatusReceivedEventArgs object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConversationId()Gets the conversation identifier for the turn reporting status.StringgetInteractionId()Gets the interaction identifier for the turn reporting status.intgetStatusCode()Gets the status code for the turn.
-
-
-
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.
-
-