API for checking what caused the application to launch.
This includes the system, launch by user interaction (User selects the application from the launcher menu), launch by the mobile or a mobile companion application, or launch by a scheduled wakeup event for the specified application.
Provides the method used to launch the current application.
The method or reason the current application was launched
Get the argument passed to the app when it was launched.
Currently the only way to pass arguments to apps is by using an openWatchApp action on a pin.
The argument passed to the app, or 0 if the app wasn't launched from a Launch App action
AppLaunchReason is used to inform the application about how it was launched.
App launched by the system.
App launched by user selection in launcher menu.
App launched by mobile or companion app.
App launched by wakeup event.
App launched by worker calling worker_launch_app()
App launched by user using quick launch.
App launched by user opening it from a pin.
AppLaunchReason is used to inform the application about how it was launched.
App launched by the system.
App launched by user selection in launcher menu.
App launched by mobile or companion app.
App launched by wakeup event.
App launched by worker calling worker_launch_app()
App launched by user using quick launch.
App launched by user opening it from a pin.
App launched by a smartstrap.
Do you have questions about the Pebble SDK?
Do you need some help understanding something on this page?
You can either take advantage of our awesome developer community and check out the SDK Help forums, or you can send us a message through the website!