MediaPlayer.IsPlaying Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.