• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2023-2024 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 * @file
18 * @kit AbilityKit
19 */
20
21/**
22  * Type of auto fill.
23  *
24  * @enum { number }
25  * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
26  * @systemapi
27  * @StageModelOnly
28  * @since 11
29  */
30export enum AutoFillType {
31  /**
32   * Indicates the type of unspecified.
33   *
34   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
35   * @systemapi
36   * @StageModelOnly
37   * @since 11
38   */
39  UNSPECIFIED = 0,
40
41  /**
42   * Indicates the type of password.
43   *
44   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
45   * @systemapi
46   * @StageModelOnly
47   * @since 11
48   */
49  PASSWORD = 1,
50
51  /**
52   * Indicates the type of user name.
53   *
54   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
55   * @systemapi
56   * @StageModelOnly
57   * @since 11
58   */
59  USER_NAME = 2,
60
61  /**
62   * Indicates the type of new password.
63   *
64   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
65   * @systemapi
66   * @StageModelOnly
67   * @since 11
68   */
69  NEW_PASSWORD = 3,
70
71  /**
72   * Indicates the type of full street address.
73   *
74   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
75   * @systemapi
76   * @StageModelOnly
77   * @since 12
78   */
79  FULL_STREET_ADDRESS = 4,
80
81  /**
82   * Indicates the type of house number.
83   *
84   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
85   * @systemapi
86   * @StageModelOnly
87   * @since 12
88   */
89  HOUSE_NUMBER = 5,
90
91  /**
92   * Indicates the type of district address.
93   *
94   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
95   * @systemapi
96   * @StageModelOnly
97   * @since 12
98   */
99  DISTRICT_ADDRESS = 6,
100
101  /**
102   * Indicates the type of city address.
103   *
104   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
105   * @systemapi
106   * @StageModelOnly
107   * @since 12
108   */
109  CITY_ADDRESS = 7,
110
111  /**
112   * Indicates the type of province address.
113   *
114   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
115   * @systemapi
116   * @StageModelOnly
117   * @since 12
118   */
119  PROVINCE_ADDRESS = 8,
120
121  /**
122   * Indicates the type of country address.
123   *
124   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
125   * @systemapi
126   * @StageModelOnly
127   * @since 12
128   */
129  COUNTRY_ADDRESS = 9,
130
131  /**
132   * Indicates the type of person full name.
133   *
134   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
135   * @systemapi
136   * @StageModelOnly
137   * @since 12
138   */
139  PERSON_FULL_NAME = 10,
140
141  /**
142   * Indicates the type of person last name.
143   *
144   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
145   * @systemapi
146   * @StageModelOnly
147   * @since 12
148   */
149  PERSON_LAST_NAME = 11,
150
151  /**
152   * Indicates the type of person first name.
153   *
154   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
155   * @systemapi
156   * @StageModelOnly
157   * @since 12
158   */
159  PERSON_FIRST_NAME = 12,
160
161   /**
162   * Indicates the type of phone number.
163   *
164   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
165   * @systemapi
166   * @StageModelOnly
167   * @since 12
168   */
169  PHONE_NUMBER = 13,
170
171  /**
172   * Indicates the type of phone country code.
173   *
174   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
175   * @systemapi
176   * @StageModelOnly
177   * @since 12
178   */
179  PHONE_COUNTRY_CODE = 14,
180
181  /**
182   * Indicates the type of full phone number.
183   *
184   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
185   * @systemapi
186   * @StageModelOnly
187   * @since 12
188   */
189  FULL_PHONE_NUMBER = 15,
190
191  /**
192   * Indicates the type of email address.
193   *
194   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
195   * @systemapi
196   * @StageModelOnly
197   * @since 12
198   */
199  EMAIL_ADDRESS = 16,
200
201  /**
202   * Indicates the type of bank card number.
203   *
204   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
205   * @systemapi
206   * @StageModelOnly
207   * @since 12
208   */
209  BANK_CARD_NUMBER = 17,
210
211  /**
212   * Indicates the type of ID card number.
213   *
214   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
215   * @systemapi
216   * @StageModelOnly
217   * @since 12
218   */
219  ID_CARD_NUMBER = 18,
220
221  /**
222   * Indicates the type of nickname.
223   *
224   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
225   * @systemapi
226   * @StageModelOnly
227   * @since 12
228   */
229  NICKNAME = 24,
230
231  /**
232   * Indicates the type of detail info without street.
233   *
234   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
235   * @systemapi
236   * @StageModelOnly
237   * @since 12
238   */
239  DETAIL_INFO_WITHOUT_STREET = 25,
240
241  /**
242   * Indicates the type of format address.
243   *
244   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
245   * @systemapi
246   * @StageModelOnly
247   * @since 12
248   */
249  FORMAT_ADDRESS = 26
250}