ActivityReceivedEventArgs Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. dialog. ActivityReceivedEventArgs
- com.
public class ActivityReceivedEventArgs
Class that describes the events of a activity received event.
Constructor Summary
Constructor | Description |
---|---|
ActivityReceivedEventArgs(long eventArgs) |
Constructs an Activity |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActivity()
Gets the activity received. |
Pull |
getAudio()
Gets the associated audio stream if present. |
boolean |
hasAudio()
Checks whether the event has associated audio. |
Methods inherited from java.lang.Object
Constructor Details
ActivityReceivedEventArgs
public ActivityReceivedEventArgs(long eventArgs)
Constructs an ActivityReceivedEventArgs object.
Parameters:
Method Details
getActivity
public String getActivity()
Gets the activity received.
Returns:
getAudio
public PullAudioOutputStream getAudio()
Gets the associated audio stream if present.
Returns:
hasAudio
public boolean hasAudio()
Checks whether the event has associated audio.
Returns:
Applies to
Azure SDK for Java