Share via


AlarmClock.ExtraAlarmSearchMode Field

Definition

Bundle extra: Specify the type of search mode to look up an alarm.

[Android.Runtime.Register("EXTRA_ALARM_SEARCH_MODE", ApiSince=23)]
public const string ExtraAlarmSearchMode;
[<Android.Runtime.Register("EXTRA_ALARM_SEARCH_MODE", ApiSince=23)>]
val mutable ExtraAlarmSearchMode : string

Field Value

Attributes

Remarks

Bundle extra: Specify the type of search mode to look up an alarm.

For example, used by #ACTION_DISMISS_ALARM to identify the alarm to dismiss.

This extra is only used when the alarm is not already identified by a deeplink as specified in the Intent's data URI.

The value of this extra is a String, restricted to the following set of supported search modes: <ul> <li>Time - #ALARM_SEARCH_MODE_TIME: Selects the alarm that is most closely matched by the search parameters #EXTRA_HOUR, #EXTRA_MINUTES, #EXTRA_IS_PM. <li>Next alarm - #ALARM_SEARCH_MODE_NEXT: Selects the alarm that will ring next, or the alarm that is currently ringing, if any. <li>All alarms - #ALARM_SEARCH_MODE_ALL: Selects all alarms. <li>Label - #ALARM_SEARCH_MODE_LABEL: Search by alarm label. Should return alarms that contain the word or phrase in given label. </ul>

Java documentation for android.provider.AlarmClock.EXTRA_ALARM_SEARCH_MODE.

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