• 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
251  /**
252   * Indicates the type of passport number.
253   *
254   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
255   * @systemapi
256   * @stagemodelonly
257   * @since 18
258   */
259  PASSPORT_NUMBER = 27,
260
261  /**
262   * Indicates the type of passport validity.
263   *
264   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
265   * @systemapi
266   * @stagemodelonly
267   * @since 18
268   */
269  VALIDITY = 28,
270
271  /**
272   * Indicates the type of issue place.
273   *
274   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
275   * @systemapi
276   * @stagemodelonly
277   * @since 18
278   */
279  ISSUE_AT = 29,
280
281  /**
282   * Indicates the type of invoice organization.
283   *
284   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
285   * @systemapi
286   * @stagemodelonly
287   * @since 18
288   */
289  ORGANIZATION = 30,
290
291  /**
292   * Indicates the type of invoice tax id.
293   *
294   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
295   * @systemapi
296   * @stagemodelonly
297   * @since 18
298   */
299  TAX_ID = 31,
300
301  /**
302   * Indicates the type of address city and state.
303   *
304   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
305   * @systemapi
306   * @stagemodelonly
307   * @since 18
308   */
309  ADDRESS_CITY_AND_STATE = 32,
310
311  /**
312   * Indicates the type of airline flight number.
313   *
314   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
315   * @systemapi
316   * @stagemodelonly
317   * @since 18
318   */
319  FLIGHT_NUMBER = 33,
320
321  /**
322   * Indicates the type of license number for drivers.
323   *
324   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
325   * @systemapi
326   * @stagemodelonly
327   * @since 18
328   */
329  LICENSE_NUMBER = 34,
330
331  /**
332   * Indicates the type of license file number for drivers.
333   *
334   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
335   * @systemapi
336   * @stagemodelonly
337   * @since 18
338   */
339  LICENSE_FILE_NUMBER = 35,
340
341  /**
342   * Indicates the type of license plate for vehicles.
343   *
344   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
345   * @systemapi
346   * @stagemodelonly
347   * @since 18
348   */
349  LICENSE_PLATE = 36,
350
351  /**
352   * Indicates the type of engine number for vehicles.
353   *
354   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
355   * @systemapi
356   * @stagemodelonly
357   * @since 18
358   */
359  ENGINE_NUMBER = 37,
360
361  /**
362   * Indicates the type of license chassis number for vehicles.
363   *
364   * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore
365   * @systemapi
366   * @stagemodelonly
367   * @since 18
368   */
369  LICENSE_CHASSIS_NUMBER = 38
370}