Freigeben über


AudioManager.AudioSessionIdGenerate Field

Definition

A special audio session ID to indicate that the audio session ID isn't known and the framework should generate a new value.

[Android.Runtime.Register("AUDIO_SESSION_ID_GENERATE")]
public const int AudioSessionIdGenerate = 0;
[<Android.Runtime.Register("AUDIO_SESSION_ID_GENERATE")>]
val mutable AudioSessionIdGenerate : int

Field Value

Value = 0
Attributes

Remarks

A special audio session ID to indicate that the audio session ID isn't known and the framework should generate a new value. This can be used when building a new AudioTrack instance with AudioTrack#AudioTrack(AudioAttributes, AudioFormat, int, int, int).

Java documentation for android.media.AudioManager.AUDIO_SESSION_ID_GENERATE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to