1e41f4b71Sopenharmony_ci# @ohos.app.ability.insightIntent (insightIntent) 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciThe **insightIntent** module provides APIs for InsightIntent calls. 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **NOTE** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8e41f4b71Sopenharmony_ci> 9e41f4b71Sopenharmony_ci> The APIs of this module can be used only in the stage model. 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci## Modules to Import 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci```ts 14e41f4b71Sopenharmony_ciimport { insightIntent } from '@kit.AbilityKit'; 15e41f4b71Sopenharmony_ci``` 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ci## ExecuteMode 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ciEnumerates the InsightIntent call execution modes. 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Ability.AbilityRuntime.Core 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci| Name| Value| Description| 24e41f4b71Sopenharmony_ci| -------- | -------- | -------- | 25e41f4b71Sopenharmony_ci| UI_ABILITY_FOREGROUND | 0 | Display a UIAbility in the foreground.<br>**Atomic service API**: This API can be used in atomic services since API version 11.| 26e41f4b71Sopenharmony_ci| UI_ABILITY_BACKGROUND | 1 | Start a UIAbility in the background.<br>**Atomic service API**: This API can be used in atomic services since API version 11.| 27e41f4b71Sopenharmony_ci| UI_EXTENSION_ABILITY | 2 | Start a UIExtensionAbility.| 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci## ExecuteResult 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ciDefines the InsightIntent call execution result. 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Ability.AbilityRuntime.Core 36e41f4b71Sopenharmony_ci 37e41f4b71Sopenharmony_ci| Name| Type| Read-only| Optional| Description| 38e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- | -------- | 39e41f4b71Sopenharmony_ci| code | number | No| No| Error code returned.| 40e41f4b71Sopenharmony_ci| result | Record<string, Object> | No| Yes| Execution result returned.| 41