1e41f4b71Sopenharmony_ci# @ohos.ability.wantConstant (wantConstant) (System API) 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciThe **wantConstant** module provides the actions, entities, and flags used in **Want** objects. 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **NOTE** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> 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](js-apis-app-ability-wantConstant.md) instead. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8e41f4b71Sopenharmony_ci> 9e41f4b71Sopenharmony_ci> This topic describes only system APIs provided by the module. For details about its public APIs, see [@ohos.ability.wantConstant (wantConstant)](js-apis-ability-wantConstant.md). 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci## Modules to Import 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci```ts 14e41f4b71Sopenharmony_ciimport wantConstant from '@ohos.ability.wantConstant'; 15e41f4b71Sopenharmony_ci``` 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ci## Flags 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci Enumerates the flags that specify how the Want will be handled. 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Ability.AbilityBase 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci| Name | Value | Description | 24e41f4b71Sopenharmony_ci| ------------------------------------ | ---------- | ------------------------------------------------------------ | 25e41f4b71Sopenharmony_ci| FLAG_AUTH_PERSISTABLE_URI_PERMISSION | 0x00000040 | Grants the permission to make the URI persistent.<br>**System API**: This is a system API and cannot be called by third-party applications. | 26e41f4b71Sopenharmony_ci| FLAG_AUTH_PREFIX_URI_PERMISSION | 0x00000080 | Grants the permission to verify URIs by prefix matching.<br>**System API**: This is a system API and cannot be called by third-party applications.| 27e41f4b71Sopenharmony_ci| FLAG_ABILITY_CONTINUATION_REVERSIBLE | 0x00000400 | Indicates that ability continuation is reversible.<br>**System API**: This is a system API and cannot be called by third-party applications. | 28