Udostępnij za pośrednictwem


RingtoneManager.StopPreviousRingtone Property

Definition

Whether retrieving another Ringtone will stop playing the previously retrieved Ringtone.

public virtual bool StopPreviousRingtone { [Android.Runtime.Register("getStopPreviousRingtone", "()Z", "GetGetStopPreviousRingtoneHandler")] get; [Android.Runtime.Register("setStopPreviousRingtone", "(Z)V", "GetSetStopPreviousRingtone_ZHandler")] set; }
[<get: Android.Runtime.Register("getStopPreviousRingtone", "()Z", "GetGetStopPreviousRingtoneHandler")>]
[<set: Android.Runtime.Register("setStopPreviousRingtone", "(Z)V", "GetSetStopPreviousRingtone_ZHandler")>]
member this.StopPreviousRingtone : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Java documentation for android.media.RingtoneManager.getStopPreviousRingtone().

Property setter documentation:

Whether retrieving another Ringtone will stop playing the previously retrieved Ringtone.

If this is false, make sure to Ringtone#stop() any previous ringtones to free resources.

Java documentation for android.media.RingtoneManager.setStopPreviousRingtone(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

See also