Compartilhar via


MediaPlayer.Looping Property

Definition

Checks whether the MediaPlayer is looping or non-looping. -or- Sets the player to be looping or non-looping.

public virtual bool Looping { [Android.Runtime.Register("isLooping", "()Z", "GetIsLoopingHandler")] get; [Android.Runtime.Register("setLooping", "(Z)V", "GetSetLooping_ZHandler")] set; }
[<get: Android.Runtime.Register("isLooping", "()Z", "GetIsLoopingHandler")>]
[<set: Android.Runtime.Register("setLooping", "(Z)V", "GetSetLooping_ZHandler")>]
member this.Looping : bool with get, set

Property Value

true if the MediaPlayer is currently looping, false otherwise

Attributes

Remarks

Property getter documentation:

Checks whether the MediaPlayer is looping or non-looping.

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

Property setter documentation:

Sets the player to be looping or non-looping.

Java documentation for android.media.MediaPlayer.setLooping(boolean).

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