Sdílet prostřednictvím


MediaPlayer.IsPlaying Property

Definition

Checks whether the MediaPlayer is playing.

public virtual bool IsPlaying { [Android.Runtime.Register("isPlaying", "()Z", "GetIsPlayingHandler")] get; }
[<get: Android.Runtime.Register("isPlaying", "()Z", "GetIsPlayingHandler")>]
member this.IsPlaying : bool

Property Value

true if currently playing, false otherwise

Attributes

Exceptions

if the internal player engine has not been initialized or has been released.

Remarks

Checks whether the MediaPlayer is playing.

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

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