ReminderTrigger

Inheritance: java.lang.Object

public class ReminderTrigger

Specifies when an alarm will trigger.

Constructors

ConstructorDescription
ReminderTrigger(Date dateTime)Initialize a new instance of ReminderTrigger class.
ReminderTrigger(ReminderDuration duration, int related)Initialize a new instance of ReminderTrigger class.

Methods

MethodDescription
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:

ParameterTypeDescription
dateTimejava.util.DateAbsolute DateTime value.

ReminderTrigger(ReminderDuration duration, int related)

public ReminderTrigger(ReminderDuration duration, int related)

Initialize a new instance of ReminderTrigger class.

Parameters:

ParameterTypeDescription
durationReminderDurationTo specify a relative time for the trigger of the alarm.
relatedintTo 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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valuejava.util.Date

setDuration(ReminderDuration value)

public final void setDuration(ReminderDuration value)

Specifies a relative time for the trigger of the alarm.

Parameters:

ParameterTypeDescription
valueReminderDuration

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:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int