Compartilhar via


RingtoneManager.ExtraRingtoneDefaultUri Field

Definition

Given to the ringtone picker as a Uri.

[Android.Runtime.Register("EXTRA_RINGTONE_DEFAULT_URI")]
public const string ExtraRingtoneDefaultUri;
[<Android.Runtime.Register("EXTRA_RINGTONE_DEFAULT_URI")>]
val mutable ExtraRingtoneDefaultUri : string

Field Value

Attributes

Remarks

Given to the ringtone picker as a Uri. The Uri of the ringtone to play when the user attempts to preview the "Default" ringtone. This can be one of System#DEFAULT_RINGTONE_URI, System#DEFAULT_NOTIFICATION_URI, or System#DEFAULT_ALARM_ALERT_URI to have the "Default" point to the current sound for the given default sound type. If you are showing a ringtone picker for some other type of sound, you are free to provide any Uri here.

Java documentation for android.media.RingtoneManager.EXTRA_RINGTONE_DEFAULT_URI.

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