FileDocCategorySizeDatePackage
Reminder.javaAPI DocAndroid 1.5 API2295Wed May 06 22:41:16 BST 2009com.google.wireless.gdata.calendar.data

Reminder

public class Reminder extends Object
Contains information about a reminder for an event.

Fields Summary
public static final byte
METHOD_DEFAULT
Default reminder method as defined on the calendar server.
public static final byte
METHOD_EMAIL
Reminder that uses e-mail for notification.
public static final byte
METHOD_SMS
Reminder that uses sms for notification.
public static final byte
METHOD_ALERT
Reminder that uses a local alert for notification.
public static final int
MINUTES_DEFAULT
Reminder that uses a calendar-wide default time for the alarm.
private int
minutes
private byte
method
Constructors Summary
public Reminder()
Creates a new empty reminder.


              
      
    
Methods Summary
public bytegetMethod()
Returns the method of the reminder.

return
The method of the reminder.

        return method;
    
public intgetMinutes()
Gets how many minutes before an event that the reminder should be triggered.

return
How many minutes before an event that the reminder should be triggered.

        return minutes;
    
public voidsetMethod(byte method)
Sets the method of the reminder.

param
method The method of the reminder.

        this.method = method;
    
public voidsetMinutes(int minutes)
Sets how many minutes before an event that the reminder should be triggered.

param
minutes How many minutes before an event that the reminder should be triggered.

        this.minutes = minutes;
    
public voidtoString(java.lang.StringBuffer sb)

        sb.append("REMINDER MINUTES: " + minutes);
        sb.append("\n");
        sb.append("REMINDER METHOD: " + method);
        sb.append("\n");
    
public java.lang.StringtoString()

        StringBuffer sb = new StringBuffer();
        toString(sb);
        return sb.toString();