openharmony 鸿蒙 js-apis-inner-application-autoFillTriggerType-sys

2026-08-25 浏览 (1)

AutoFillTriggerType (System API)

This module specifies how the autofill service is triggered, based on different user gestures.

NOTE

  • The initial APIs of this module are supported since API version 23. 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.
  • The APIs provided by this module are system APIs.

Modules to Import

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

AutoFillTriggerType

Defines the trigger type for launching the autofill service, with three possible values: AUTO_REQUEST, MANUAL_REQUEST, and PASTE_REQUEST. This enumeration is used by the system API FillRequest.triggerType.

System API: This is a system API.

System capability: SystemCapability.Ability.AbilityRuntime.AbilityCore

NameValueDescription
AUTO_REQUEST0Automatically triggers the autofill service when a TextInput component gains focus.
MANUAL_REQUEST1Manually triggers the autofill service by long-pressing any input component to bring up a secondary menu and selecting autofill.
PASTE_REQUEST2Triggers the autofill service via paste by long-pressing a username or password in the password vault to select secure copy, long-pressing any input component to bring up a secondary menu, and selecting paste.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apis-app-ability-appServiceExtensionAbility

openharmony 鸿蒙 js-apis-inner-wantAgent-triggerInfo-sys

openharmony 鸿蒙 js-apis-inner-wantAgent-wantAgentInfo-sys

openharmony 鸿蒙 js-apis-appControl-sys

openharmony 鸿蒙 js-apis-app-ability-environmentCallback

openharmony 鸿蒙 js-apis-inner-application-missionInfo-sys

openharmony 鸿蒙 js-apis-bundleManager-sharedBundleInfo-sys

openharmony 鸿蒙 js-apis-inner-application-continueMissionInfo-sys

openharmony 鸿蒙 js-apis-inner-application-appServiceExtensionContext

openharmony 鸿蒙 js-apis-bundleManager-businessAbilityInfo-sys

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/B63IITJa