Class: $.NotificationsApp
- Inherits:
-
Application.AppBase
-
Application.AppBase
-
Overview
This app demonstrates how to use the Notifications API to show notifications to the user.
Instance Member Summary collapse
Instance Method Summary collapse
-
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial view for the app.
-
getServiceDelegate() as [ System.ServiceDelegate ]
Return the service delegate for the app.
-
initialize()
Constructor.
-
onNotification(message as Notifications.NotificationMessage) as Void
Handle notification messages.
-
onStart(state as Lang.Dictionary or Null) as Void
Handle app startup.
Instance Attribute Details
var _view as $.NotificationsView
Instance Method Details
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial view for the app
getServiceDelegate() as [ System.ServiceDelegate ]
Return the service delegate for the app
initialize()
Constructor
onNotification(message as Notifications.NotificationMessage) as Void
Handle notification messages
onStart(state as Lang.Dictionary or Null) as Void
Handle app startup