Partager via


ToneGenerator.AudioSessionId Property

Definition

Returns the audio session ID.

public int AudioSessionId { [Android.Runtime.Register("getAudioSessionId", "()I", "")] get; }
[<get: Android.Runtime.Register("getAudioSessionId", "()I", "")>]
member this.AudioSessionId : int

Property Value

the ID of the audio session this ToneGenerator belongs to or 0 if an error occured.

Attributes

Remarks

Returns the audio session ID.

Java documentation for android.media.ToneGenerator.getAudioSessionId().

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