Share via


AlarmType Enum

Definition

Enumerates values returned by several methods of AlarmType and taken as a parameter of several methods of AlarmManager.

public enum AlarmType
type AlarmType = 
Inheritance
AlarmType

Fields

Name Value Description
RtcWakeup 0

Alarm time in CurrentTimeMillis()(wall clock time in UTC), which will wake up the device when it goes off.

Rtc 1

Alarm time in CurrentTimeMillis()(wall clock time in UTC).

ElapsedRealtimeWakeup 2

Alarm time in ElapsedRealtime()(time since boot, including sleep), which will wake up the device when it goes off.

ElapsedRealtime 3

Remarks

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