共用方式為


MediaPlayer.CurrentPosition Property

Definition

Gets the current playback position.

public virtual int CurrentPosition { [Android.Runtime.Register("getCurrentPosition", "()I", "GetGetCurrentPositionHandler")] get; }
[<get: Android.Runtime.Register("getCurrentPosition", "()I", "GetGetCurrentPositionHandler")>]
member this.CurrentPosition : int

Property Value

the current position in milliseconds

Attributes

Remarks

Gets the current playback position.

Java documentation for android.media.MediaPlayer.getCurrentPosition().

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