harmony 鸿蒙@ohos.ability.wantConstant (wantConstant) (System API)
@ohos.ability.wantConstant (wantConstant) (System API)
The wantConstant module provides the actions, entities, and flags used in Want objects.
NOTE
The APIs of this module are supported since API version 6 and deprecated since API version 9. You are advised to use @ohos.app.ability.wantConstant instead. Newly added APIs will be marked with a superscript to indicate their earliest API version.
This topic describes only system APIs provided by the module. For details about its public APIs, see @ohos.ability.wantConstant (wantConstant).
Modules to Import
import wantConstant from '@ohos.ability.wantConstant';
Flags
Enumerates the flags that specify how the Want will be handled.
System capability: SystemCapability.Ability.AbilityBase
System API: This is a system API.
Name | Value | Description |
---|---|---|
FLAG_AUTH_PERSISTABLE_URI_PERMISSION | 0x00000040 | Grants the permission to make the URI persistent. |
FLAG_AUTH_PREFIX_URI_PERMISSION | 0x00000080 | Grants the permission to verify URIs by prefix matching. |
FLAG_ABILITY_CONTINUATION_REVERSIBLE | 0x00000400 | Indicates that ability continuation is reversible. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙AbilityAccessControl
harmony 鸿蒙OH_NativeBundle_ApplicationInfo
harmony 鸿蒙OH_NativeBundle_ElementName
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦