IntentRequestinterface
Describes a request for raising an Intent.
Properties (9)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| clearSavedHandler⚓︎ | boolean | false | x | If |
| context⚓︎ | IntentContext | x | x | Context data that will be provided to the Intent handler. |
| handlers⚓︎ | IntentHandler[] | x | x | Collection of Intent handlers that can be presented to the user via an Intents Resolver UI. If there isn't an Intents Resolver app available (or if the list consists of only one handler), the first member of the collection will be used as an Intent handler. |
| intent⚓︎ | string | x | Name of the intent to raise. |
|
| metadata⚓︎ | Record<string, any> | x | x | Optional metadata that can be used to provide additional information about the raised Intent.
Will be provided as an argument to the callback that represents the Intent handler implementation passed to the |
| options⚓︎ | ApplicationStartOptions | x | x | Settings that will be passed to the newly started app instance, if such is to be used as an Intent handler. |
| target⚓︎ | "startNew" | "reuse" | { app?: string; instance?: string } | x | x | Target for the raised Intent. Use |
| timeout⚓︎ | number | 90000 | x | Interval in milliseconds to wait for the |
| waitUserResponseIndefinitely⚓︎ | boolean | false | x | If |