Megosztás a következőn keresztül:


AlarmClock.ActionSnoozeAlarm Field

Definition

Activity Action: Snooze a currently ringing alarm.

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

Field Value

Attributes

Remarks

Activity Action: Snooze a currently ringing alarm.

Snoozes the currently ringing alarm. The extra #EXTRA_ALARM_SNOOZE_DURATION can be optionally set to specify the snooze duration; if unset, the implementation should use a reasonable default, for example 10 minutes. The alarm should ring again after the snooze duration.

Note: setting the extra #EXTRA_ALARM_SNOOZE_DURATION does not change the default snooze duration; it's only applied to the currently ringing alarm.

If there is no currently ringing alarm, then this is a no-op.

Java documentation for android.provider.AlarmClock.ACTION_SNOOZE_ALARM.

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