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
getDuration() Specifies a relative time for the trigger of the alarm.
setDuration(ReminderDuration value) Specifies a relative time for the trigger of the alarm.
getDateTime() A trigger set to an absolute date/time.
setDateTime(Date value) A trigger set to an absolute date/time.
getRelated() Specify the relationship of the alarm trigger with respect to the start or end of the event.
setRelated(int value) Specify the relationship of the alarm trigger with respect to the start or end of the event.

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.

getDuration()

public final ReminderDuration getDuration()

Specifies a relative time for the trigger of the alarm.

Returns: ReminderDuration

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

getDateTime()

public final Date getDateTime()

A trigger set to an absolute date/time.

Returns: java.util.Date

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

getRelated()

public final int getRelated()

Specify the relationship of the alarm trigger with respect to the start or end of the event.

Returns: int

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