Titanium.Android.Calendar.Alert

Platform Since
Android 1.5

Summary

An object which represents a single alert for an event in an Android calendar.

Methods

Name Summary
addEventListener

Adds the specified callback as an event listener for the named event.

fireEvent

Fires a synthesized event to any registered listeners.

getAlarmTime

Gets the value of the alarmTime property.

getBegin

Gets the value of the begin property.

getEnd

Gets the value of the end property.

getEventId

Gets the value of the eventId property.

getId

Gets the value of the id property.

getMinutes

Gets the value of the minutes property.

getState

Gets the value of the state property.

removeEventListener

Removes the specified callback as an event listener for the named event.

Properties

Name Type Summary
alarmTime Date

The date/time at which the alert's alarm is triggered. read-only

begin Date

The date/time at which the corresponding event begins. read-only

end Date

The date/time at which the corresponding event ends. read-only

eventId Number

The integer id of the event for which the alert is set. read-only

id String

The id of the alert. read-only

minutes Number

The minutes before the event when the alert should trigger. read-only

state Number

The current state of the alert. Possible values are the STATE_ constants in Titanium.Android.Calendar. read-only

Events

This type has no events.