Class: Toybox.System.Intent
- Inherits:
-
Toybox.Lang.Object
Overview
An Intent sends content from one app to another app.
Strictly speaking, content is sent to a URI by an Intent, which can either be a native activity (e.g. Run, Bike, etc.) or another Connect IQ app. Used in conjunction with System.exitTo(), Intents can exit the current app and launch a second app, passing information from the originating app to the newly open app.
For example, a widget might collect data from a service via a Communications call and pass that data to a device app via Intent for use during an activity.
See Also:
Instance Member Summary collapse
- arguments as Lang.Dictionary or Null
- uri as Lang.String
Instance Method Summary collapse
-
initialize(aURI as Lang.String, aArgs as Lang.Dictionary or Null)
Constructor.
Instance Method Details
initialize(aURI as Lang.String, aArgs as Lang.Dictionary or Null)
Constructor