ReminderTrigger
Inheritance: java.lang.Object
public class ReminderTrigger
Specifies when an alarm will trigger.
Constructors
Constructor | Description |
---|---|
ReminderTrigger(Date dateTime) | Initialize a new instance of ReminderTrigger class. |
ReminderTrigger(ReminderDuration duration, int related) | Initialize a new instance of ReminderTrigger class. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getDateTime() | A trigger set to an absolute date/time. |
getDuration() | Specifies a relative time for the trigger of the alarm. |
getRelated() | Specify the relationship of the alarm trigger with respect to the start or end of the event. |
hashCode() | |
notify() | |
notifyAll() | |
setDateTime(Date value) | A trigger set to an absolute date/time. |
setDuration(ReminderDuration value) | Specifies a relative time for the trigger of the alarm. |
setRelated(int value) | Specify the relationship of the alarm trigger with respect to the start or end of the event. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
ReminderTrigger(Date dateTime)
public ReminderTrigger(Date dateTime)
Initialize a new instance of ReminderTrigger class.
Parameters:
Parameter | Type | Description |
---|---|---|
dateTime | java.util.Date | Absolute DateTime value. |
ReminderTrigger(ReminderDuration duration, int related)
public ReminderTrigger(ReminderDuration duration, int related)
Initialize a new instance of ReminderTrigger class.
Parameters:
Parameter | Type | Description |
---|---|---|
duration | ReminderDuration | To specify a relative time for the trigger of the alarm. |
related | int | To specify the relationship of the alarm trigger with respect to the start or end of the event. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDateTime()
public final Date getDateTime()
A trigger set to an absolute date/time.
Returns: java.util.Date
getDuration()
public final ReminderDuration getDuration()
Specifies a relative time for the trigger of the alarm.
Returns: ReminderDuration
getRelated()
public final int getRelated()
Specify the relationship of the alarm trigger with respect to the start or end of the event.
Returns: int
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setDateTime(Date value)
public final void setDateTime(Date value)
A trigger set to an absolute date/time.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.util.Date |
setDuration(ReminderDuration value)
public final void setDuration(ReminderDuration value)
Specifies a relative time for the trigger of the alarm.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ReminderDuration |
setRelated(int value)
public final void setRelated(int value)
Specify the relationship of the alarm trigger with respect to the start or end of the event.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |