PushAudioOutputStreamCallback Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. audio. PushAudioOutputStreamCallback
- com.
public abstract class PushAudioOutputStreamCallback
An abstract base class that defines callback methods (write() and close()) for custom audio output streams). Added in version 1.7.0
Constructor Summary
Constructor | Description | |
---|---|---|
PushAudioOutputStreamCallback() |
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract void |
close()
Closes the audio output stream. |
abstract int |
write(byte[] dataBuffer)
Writes data to audio output stream from the data buffer. |
Methods inherited from java.lang.Object
Constructor Details
PushAudioOutputStreamCallback
public PushAudioOutputStreamCallback()
Method Details
close
public abstract void close()
Closes the audio output stream.
write
public abstract int write(byte[] dataBuffer)
Writes data to audio output stream from the data buffer.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für