• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License"),
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17  * Type of auto fill.
18  *
19  * @enum { number }
20  * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
21  * @systemapi
22  * @StageModelOnly
23  * @since 11
24  */
25export enum AutoFillType {
26  /**
27   * Indicates the type of unspecified.
28   *
29   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
30   * @systemapi
31   * @StageModelOnly
32   * @since 11
33   */
34  UNSPECIFIED = 0,
35
36  /**
37   * Indicates the type of password.
38   *
39   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
40   * @systemapi
41   * @StageModelOnly
42   * @since 11
43   */
44  PASSWORD = 1,
45
46  /**
47   * Indicates the type of user name.
48   *
49   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
50   * @systemapi
51   * @StageModelOnly
52   * @since 11
53   */
54  USER_NAME = 2,
55
56  /**
57   * Indicates the type of new password.
58   *
59   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
60   * @systemapi
61   * @StageModelOnly
62   * @since 11
63   */
64  NEW_PASSWORD = 3
65}