PushAudioOutputStream Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. audio. AudioOutputStream - com.
microsoft. cognitiveservices. speech. audio. PushAudioOutputStream
- com.
- com.
public final class PushAudioOutputStream
extends AudioOutputStream
Represents audio output stream used for custom audio output configurations. Added in version 1.7.0
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Push |
create(PushAudioOutputStreamCallback callback)
Creates a Push |
Methods inherited from AudioOutputStream
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
Method Details
create
public static PushAudioOutputStream create(PushAudioOutputStreamCallback callback)
Creates a PushAudioOutputStream that delegates to the specified callback interface for write() and close() methods.
Parameters:
callback
- The custom audio output object, derived from PushAudioOutputStreamCallback
Returns:
The push audio output stream being created.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java