@ohos.app.ability.insightIntent (Basic Definitions of InsightIntent Framework) (System API)

This module provides basic definitions of the InsightIntent framework.

NOTE

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.

The APIs of this module can be used only in the stage model.

This topic describes only system APIs provided by the module. For details about its public APIs, see @ohos.app.ability.insightIntent (Basic Definitions of InsightIntent Framework).

Modules to Import

import { insightIntent } from '@kit.AbilityKit';

ExecuteMode

Enumerates the intent execution modes. It specifies the mode of execution passed when the intent is triggered by a system entry point. The supported execution modes for each intent are defined during intent development.

System capability: SystemCapability.Ability.AbilityRuntime.Core

Name Value Description
SERVICE_EXTENSION_ABILITY 3 Starts a ServiceExtensionAbility.
System API: This is a system API.