Home


Local Notifications

Local Notifications are reminders which show up on your screen after the app becomes inactive for a specific amount of time.

Methods

EnableLocalNotification

void EnableLocalNotification(
    text title,
    text message,
    number delaySeconds
)

Schedule a new local notification, if possible. The notification will persist until you disable it manually. For example, if you set a notification for 60 seconds, it will invoke this notification 60 seconds after the app is closed, every time.

Parameters:

text  title - Title (header) of the notification.

text  message - Message (body) of the notification.

number  delaySeconds - Delay of the notification (how long to wait after app becomes inactive). Use seconds.

DisableLocalNotification

void DisableLocalNotification()

Schedule a new local notification, if possible. The notification will persist until you disable it manually. For example, if you set a notification for 60 seconds, it will invoke this notification 60 seconds after the app is closed, every time.