PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/titanium/mobile/android/calendar/Alert.hx

http://github.com/visup/haxe-titanium-api
Haxe | 55 lines | 14 code | 3 blank | 38 comment | 0 complexity | aee8ef3acf6370dcbce947bbd84a08c4 MD5 | raw file
 1package titanium.mobile.android.calendar;
 2
 3
 4/**
 5Alert class
 6
 7Documentation available at:
 8http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Android.Calendar.Alert-object
 9
10- namespace
11
12Titanium.Android.Calendar.Alert
13
14- type
15
16object
17
18- description
19
20An object which represents a single alert for an event in an Android calendar.
21
22- since
23
241.5
25
26- platforms
27
28android
29
30- properties
31
32id[string]: The id of the alert.
33eventId[int]: The integer id of the event for which the alert is set.
34begin[date]: The date/time at which the corresponding event begins.
35end[date]: The date/time at which the corresponding event ends.
36alarmTime[date]: The date/time at which the alert's alarm is triggered.
37state[int]: The current state of the alert.  Possible values are the STATE_ constants in `Titanium.Android.Calendar`.
38minutes[int]: The minutes before the event when the alert should trigger.
39
40**/
41
42#if androidos
43@:native("Titanium.Android.Calendar.Alert")
44extern class Alert
45{		
46	// properties
47	public var id:String;
48	public var eventId:Int;
49	public var begin:Date;
50	public var end:Date;
51	public var alarmTime:Date;
52	public var state:Int;
53	public var minutes:Int;
54}
55#end