Dela via


PushAudioOutputStream Class

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 PushAudioOutputStream create(PushAudioOutputStreamCallback callback)

Creates a PushAudioOutputStream that delegates to the specified callback interface for write() and close() methods.

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