mobileGetRegisteredNotifications |
Type | function |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | mobileGetRegisteredNotifications()
|
Synonyms | iphonegetregisterednotifications |
Summary | Returns a comma delimited list of Local Notifications that are scheduled
with the iOS or Android operating system.
|
Introduced | 5.5 |
OS | ios, android |
Platforms | mobile |
Example | get mobileGetRegisteredNotifications()
local tScheduledNotifications
mobileGetRegisteredNotifications
put the result into tScheduledNotifications
if tScheduledNotifications is empty then
answer "There are no pending notifications" with "Okay"
else
replace comma with return in tScheduledNotifications
mobilePick tScheduledNotifications, 1, "cancelDone"
if the result is not 0 then
mobileCancelLocalNotification line the result \
of tScheduledNotifications
if the result is false then
answer "No such notification." with "Okay"
end if
end if
end if
|
Values | Name | Type | Description |
---|
return | | The mobileGetRegisteredNotifications function returns a comma
delimited list of positive integers, each indicating the ID of a
particular Notification that is scheduled with the iOS or Android
operating system.
|
|
Related | Command: mobileCancelAllLocalNotifications, mobileCancelLocalNotification
|
Description | Use the mobileGetRegisteredNotifications function to return a comma
delimited list of scheduled Local Notifications.
|