共用方式為


AudioRecord.AudioSessionId Property

Definition

Returns the audio session ID.

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

Property Value

the ID of the audio session this AudioRecord belongs to.

Attributes

Remarks

Returns the audio session ID.

Java documentation for android.media.AudioRecord.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