Share via


AlarmClock.ExtraIsPm Field

Definition

Bundle extra: The AM/PM of the alarm.

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

Field Value

Attributes

Remarks

Bundle extra: The AM/PM of the alarm.

Used by #ACTION_DISMISS_ALARM.

This extra is optional and only used when #EXTRA_ALARM_SEARCH_MODE is set to #ALARM_SEARCH_MODE_TIME. In this search mode, the #EXTRA_IS_PM is used together with #EXTRA_HOUR and #EXTRA_MINUTES. The implementation should look up the alarm that is most closely matched by these search parameters. If #EXTRA_IS_PM is missing, then the AM/PM of the specified #EXTRA_HOUR is ambiguous and the implementation should ask for clarification from the user.

The value is a Boolean, where false=AM and true=PM.

Java documentation for android.provider.AlarmClock.EXTRA_IS_PM.

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