TurnStatusReceivedEventArgs Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. dialog. TurnStatusReceivedEventArgs
- com.
public class TurnStatusReceivedEventArgs
Class that describes the events of a turn status received event.
Constructor Summary
Constructor | Description |
---|---|
TurnStatusReceivedEventArgs(long eventArgs) |
Constructs an Turn |
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
Constructor Details
TurnStatusReceivedEventArgs
public TurnStatusReceivedEventArgs(long eventArgs)
Constructs an TurnStatusReceivedEventArgs object.
Parameters:
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:
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:
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:
Applies to
Azure SDK for Java