共用方式為


MediaController.IMediaPlayerControl.AudioSessionId Property

Definition

Get the audio session id for the player used by this VideoView.

public int AudioSessionId { [Android.Runtime.Register("getAudioSessionId", "()I", "GetGetAudioSessionIdHandler:Android.Widget.MediaController/IMediaPlayerControlInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getAudioSessionId", "()I", "GetGetAudioSessionIdHandler:Android.Widget.MediaController/IMediaPlayerControlInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.AudioSessionId : int

Property Value

Attributes

Remarks

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