Partager via


AlarmClock.ExtraRingtone Field

Definition

Bundle extra: A ringtone to be played with this alarm.

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

Field Value

Attributes

Remarks

Bundle extra: A ringtone to be played with this alarm.

Used by #ACTION_SET_ALARM.

This value is a String and can either be set to #VALUE_RINGTONE_SILENT or to a content URI of the media to be played. If not specified or the URI doesn't exist, "content://settings/system/alarm_alert will be used.

Java documentation for android.provider.AlarmClock.EXTRA_RINGTONE.

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