android.app
Class AlarmManager

java.lang.Object
  extended by android.app.AlarmManager

public class AlarmManager
extends Object


Field Summary
static int ELAPSED_REALTIME
           
static int ELAPSED_REALTIME_WAKEUP
           
static long INTERVAL_DAY
           
static long INTERVAL_FIFTEEN_MINUTES
           
static long INTERVAL_HALF_DAY
           
static long INTERVAL_HALF_HOUR
           
static long INTERVAL_HOUR
           
static int RTC
           
static int RTC_WAKEUP
           
 
Method Summary
 void cancel(PendingIntent operation)
           
 void set(int type, long triggerAtTime, PendingIntent operation)
           
 void setInexactRepeating(int type, long triggerAtTime, long interval, PendingIntent operation)
           
 void setRepeating(int type, long triggerAtTime, long interval, PendingIntent operation)
           
 void setTime(long millis)
           
 void setTimeZone(String timeZone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RTC_WAKEUP

public static final int RTC_WAKEUP
See Also:
Constant Field Values

RTC

public static final int RTC
See Also:
Constant Field Values

ELAPSED_REALTIME_WAKEUP

public static final int ELAPSED_REALTIME_WAKEUP
See Also:
Constant Field Values

ELAPSED_REALTIME

public static final int ELAPSED_REALTIME
See Also:
Constant Field Values

INTERVAL_FIFTEEN_MINUTES

public static final long INTERVAL_FIFTEEN_MINUTES
See Also:
Constant Field Values

INTERVAL_HALF_HOUR

public static final long INTERVAL_HALF_HOUR
See Also:
Constant Field Values

INTERVAL_HOUR

public static final long INTERVAL_HOUR
See Also:
Constant Field Values

INTERVAL_HALF_DAY

public static final long INTERVAL_HALF_DAY
See Also:
Constant Field Values

INTERVAL_DAY

public static final long INTERVAL_DAY
See Also:
Constant Field Values
Method Detail

set

public void set(int type,
                long triggerAtTime,
                PendingIntent operation)

setRepeating

public void setRepeating(int type,
                         long triggerAtTime,
                         long interval,
                         PendingIntent operation)

setInexactRepeating

public void setInexactRepeating(int type,
                                long triggerAtTime,
                                long interval,
                                PendingIntent operation)

cancel

public void cancel(PendingIntent operation)

setTime

public void setTime(long millis)

setTimeZone

public void setTimeZone(String timeZone)


Copyright © 2008-2012. All Rights Reserved.