/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

  1. package titanium.mobile.android.calendar;
  2. /**
  3. Alert class
  4. Documentation available at:
  5. http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Android.Calendar.Alert-object
  6. - namespace
  7. Titanium.Android.Calendar.Alert
  8. - type
  9. object
  10. - description
  11. An object which represents a single alert for an event in an Android calendar.
  12. - since
  13. 1.5
  14. - platforms
  15. android
  16. - properties
  17. id[string]: The id of the alert.
  18. eventId[int]: The integer id of the event for which the alert is set.
  19. begin[date]: The date/time at which the corresponding event begins.
  20. end[date]: The date/time at which the corresponding event ends.
  21. alarmTime[date]: The date/time at which the alert's alarm is triggered.
  22. state[int]: The current state of the alert. Possible values are the STATE_ constants in `Titanium.Android.Calendar`.
  23. minutes[int]: The minutes before the event when the alert should trigger.
  24. **/
  25. #if androidos
  26. @:native("Titanium.Android.Calendar.Alert")
  27. extern class Alert
  28. {
  29. // properties
  30. public var id:String;
  31. public var eventId:Int;
  32. public var begin:Date;
  33. public var end:Date;
  34. public var alarmTime:Date;
  35. public var state:Int;
  36. public var minutes:Int;
  37. }
  38. #end