Glue services: Difference between revisions

No edit summary
No edit summary
Line 578: Line 578:
| 540 || [[#DeleteAlarmSetting]]
| 540 || [[#DeleteAlarmSetting]]
|-
|-
| 1000 ||  
| 1000 || [[#GetNotificationCount]]
|-
|-
| 1010 || [[#ListNotifications]]
| 1010 || ListNotifications
|-
|-
| 1020 || [[#DeleteNotification]]
| 1020 || DeleteNotification
|-
|-
| 1030 || [[#ClearNotifications]]
| 1030 || ClearNotifications
|-
|-
| 1040 || [[#OpenNotificationSystemEventAccessor]]
| 1040 || [[#GetNotificationSendingNotifier]]
|-
|-
| 1500 || [[#SetPresentationSetting]]
| 1500 || SetNotificationPresentationSetting
|-
|-
| 1510 || [[#GetPresentationSetting]]
| 1510 || GetNotificationPresentationSetting
|-
|-
| 2000 || [[#GetAlarmSetting]]
| 2000 || [[#GetAlarmSetting]]
|-
|-
| 2001 ||
| 2001 || GetAlarmSettingWithApplicationParameter
|-
|-
| 2010 || [[#MuteAlarmSetting]]
| 2010 || [[#SetAlarmSettingIsMuted]]
|-
|-
| 2020 || [[#IsAlarmSettingReady]]
| 2020 || [[#IsAlarmSettingDeletable]]
|-
|-
| 8000 ||
| 8000 || RegisterAppletResourceUserId
|-
|-
| 8010 ||
| 8010 || UnregisterAppletResourceUserId
|-
|-
| 8999 || [10.0.0+]
| 8999 || [10.0.0+] GetCurrentTime
|-
|-
| 9000 || [[#GetNextAlarm]]
| 9000 || [[#GetAlarmSettingNextNotificationTime]]
|}
|}


== Cmd1000 ==
== GetNotificationCount ==
No input, returns a total of 4-bytes of output.
No input. Returns a total of 4-bytes of output.


== ListNotifications ==
== GetNotificationSendingNotifier ==
Unofficial name.
No input. Returns an output [[#INotificationSystemEventAccessor]].
 
== DeleteNotification ==
Unofficial name.
 
== ClearNotifications ==
Unofficial name.
 
No input/output.
 
== OpenNotificationSystemEventAccessor ==
Unofficial name.
 
No input, returns an output [[#INotificationSystemEventAccessor]].


== INotificationSystemEventAccessor ==
== INotificationSystemEventAccessor ==
Line 637: Line 624:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || GetSystemEvent
|}
|}
Cmd0: no input, returns an output handle.
== SetPresentationSetting ==
Unofficial name.
== GetPresentationSetting ==
Unofficial name.


== GetAlarmSetting ==
== GetAlarmSetting ==
Unofficial name.
Takes an input [[#AlarmSettingId]]. Returns an [[#AlarmSetting]].
Takes an input [[#AlarmSettingId]]. Returns an [[#AlarmSetting]].


== MuteAlarmSetting ==
== SetAlarmSettingIsMuted ==
Unofficial name.
Takes an input [[#AlarmSettingId]] and a bool. No output.
 
Takes an input [[#AlarmSettingId]] and a bool.
 
== IsAlarmSettingReady ==
Unofficial name.


== IsAlarmSettingDeletable ==
Takes an input [[#AlarmSettingId]]. Returns a bool.
Takes an input [[#AlarmSettingId]]. Returns a bool.


== GetNextAlarm ==
== GetAlarmSettingNextNotificationTime ==
Unofficial name.
 
Takes an input [[#AlarmSettingId]]. Returns an u8 '''IsAlarmScheduled''' and a [[Glue_services#PosixTime|PosixTime]] for the next scheduled alarm.
Takes an input [[#AlarmSettingId]]. Returns an u8 '''IsAlarmScheduled''' and a [[Glue_services#PosixTime|PosixTime]] for the next scheduled alarm.