Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HarmonyOS
Enumerates the trigger types of the auto-fill service. Different trigger modes of the auto-fill service are selected through user gestures.
Since: 26.0.0
- import { autoFillManager } from '@kit.AbilityKit';
Enumerates the trigger types of the auto-fill service. Three trigger modes are defined: AUTO_REQUEST, MANUAL_REQUEST, and PASTE_REQUEST. AutoFillTriggerType is the enum type of FillRequest.triggerType.
Since: 26.0.0
Atomic service API: This API can be used in atomic services since API version 26.0.0.
System capability: SystemCapability.Ability.AbilityRuntime.AbilityCore
Model restriction: This API can be used only in the stage model.
| Name | Value | Description |
|---|---|---|
| AUTO_REQUEST | 0 | The auto-fill service is triggered automatically after a TextInput component gains focus. |
| MANUAL_REQUEST | 1 | The auto-fill service is triggered manually. You can touch and hold any input component to display the secondary menu, and select auto-fill to trigger the auto-fill service. |
| PASTE_REQUEST | 2 | The auto-fill service is triggered by paste. It is triggered only when you touch and hold a username or password in the password vault to copy it securely, and then touch and hold any input component to display the secondary menu and select paste. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.