Partager via


Ringtone.Looping Property

Definition

Returns whether the looping mode was enabled on this player. -or- Sets the player to be looping or non-looping.

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

Property Value

true if this player loops when playing.

Attributes

Remarks

Property getter documentation:

Returns whether the looping mode was enabled on this player.

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

Property setter documentation:

Sets the player to be looping or non-looping.

Java documentation for android.media.Ringtone.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