Class ConversationExpirationEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.SessionEventArgs
-
- com.microsoft.cognitiveservices.speech.transcription.ConversationExpirationEventArgs
-
public class ConversationExpirationEventArgs extends SessionEventArgs
Defines a payload for the ConversationExpiration event. Added in version 1.12.0.
-
-
Field Summary
-
Fields inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
eventHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetExpirationTime()Get how much longer until the conversation expires.StringtoString()Returns a String that represents the recognition event payload.-
Methods inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
close, getSessionId
-
-
-
-
Method Detail
-
getExpirationTime
public long getExpirationTime()
Get how much longer until the conversation expires.- Returns:
- How much longer until the conversation expires.
-
toString
public String toString()
Returns a String that represents the recognition event payload.- Overrides:
toStringin classSessionEventArgs- Returns:
- A String that represents the recognition event payload.
-
-