• 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 * @file
18 * @kit InputKit
19 */
20
21/**
22 * IntentionCode
23 *
24 * @enum { number }
25 * @syscap SystemCapability.MultimodalInput.Input.Core
26 * @since 10
27 */
28/**
29 * IntentionCode
30 *
31 * @enum { number }
32 * @syscap SystemCapability.MultimodalInput.Input.Core
33 * @atomicservice
34 * @since 12
35 */
36export declare enum IntentionCode {
37  /**
38   * INTENTION_UNKNOWN
39   *
40   * @syscap SystemCapability.MultimodalInput.Input.Core
41   * @since 10
42   */
43  /**
44   * INTENTION_UNKNOWN
45   *
46   * @syscap SystemCapability.MultimodalInput.Input.Core
47   * @atomicservice
48   * @since 12
49   */
50  INTENTION_UNKNOWN = -1,
51
52  /**
53   * INTENTION_UP
54   *
55   * @syscap SystemCapability.MultimodalInput.Input.Core
56   * @since 10
57   */
58  /**
59   * INTENTION_UP
60   *
61   * @syscap SystemCapability.MultimodalInput.Input.Core
62   * @atomicservice
63   * @since 12
64   */
65  INTENTION_UP = 1,
66
67  /**
68   * INTENTION_DOWN
69   *
70   * @syscap SystemCapability.MultimodalInput.Input.Core
71   * @since 10
72   */
73  /**
74   * INTENTION_DOWN
75   *
76   * @syscap SystemCapability.MultimodalInput.Input.Core
77   * @atomicservice
78   * @since 12
79   */
80  INTENTION_DOWN = 2,
81
82  /**
83   * INTENTION_LEFT
84   *
85   * @syscap SystemCapability.MultimodalInput.Input.Core
86   * @since 10
87   */
88  /**
89   * INTENTION_LEFT
90   *
91   * @syscap SystemCapability.MultimodalInput.Input.Core
92   * @atomicservice
93   * @since 12
94   */
95  INTENTION_LEFT = 3,
96
97  /**
98   * INTENTION_RIGHT
99   *
100   * @syscap SystemCapability.MultimodalInput.Input.Core
101   * @since 10
102   */
103  /**
104   * INTENTION_RIGHT
105   *
106   * @syscap SystemCapability.MultimodalInput.Input.Core
107   * @atomicservice
108   * @since 12
109   */
110  INTENTION_RIGHT = 4,
111
112  /**
113   * INTENTION_SELECT
114   *
115   * @syscap SystemCapability.MultimodalInput.Input.Core
116   * @since 10
117   */
118  /**
119   * INTENTION_SELECT
120   *
121   * @syscap SystemCapability.MultimodalInput.Input.Core
122   * @atomicservice
123   * @since 12
124   */
125  INTENTION_SELECT = 5,
126
127  /**
128   * INTENTION_ESCAPE
129   *
130   * @syscap SystemCapability.MultimodalInput.Input.Core
131   * @since 10
132   */
133  /**
134   * INTENTION_ESCAPE
135   *
136   * @syscap SystemCapability.MultimodalInput.Input.Core
137   * @atomicservice
138   * @since 12
139   */
140  INTENTION_ESCAPE = 6,
141
142  /**
143   * INTENTION_BACK
144   *
145   * @syscap SystemCapability.MultimodalInput.Input.Core
146   * @since 10
147   */
148  /**
149   * INTENTION_BACK
150   *
151   * @syscap SystemCapability.MultimodalInput.Input.Core
152   * @atomicservice
153   * @since 12
154   */
155  INTENTION_BACK = 7,
156
157  /**
158   * INTENTION_FORWARD
159   *
160   * @syscap SystemCapability.MultimodalInput.Input.Core
161   * @since 10
162   */
163  /**
164   * INTENTION_FORWARD
165   *
166   * @syscap SystemCapability.MultimodalInput.Input.Core
167   * @atomicservice
168   * @since 12
169   */
170  INTENTION_FORWARD = 8,
171
172  /**
173   * INTENTION_MENU
174   *
175   * @syscap SystemCapability.MultimodalInput.Input.Core
176   * @since 10
177   */
178  /**
179   * INTENTION_MENU
180   *
181   * @syscap SystemCapability.MultimodalInput.Input.Core
182   * @atomicservice
183   * @since 12
184   */
185  INTENTION_MENU = 9,
186
187  /**
188   * INTENTION_PAGE_UP
189   *
190   * @syscap SystemCapability.MultimodalInput.Input.Core
191   * @since 10
192   */
193  /**
194   * INTENTION_PAGE_UP
195   *
196   * @syscap SystemCapability.MultimodalInput.Input.Core
197   * @atomicservice
198   * @since 12
199   */
200  INTENTION_PAGE_UP = 11,
201
202  /**
203   * INTENTION_PAGE_DOWN
204   *
205   * @syscap SystemCapability.MultimodalInput.Input.Core
206   * @since 10
207   */
208  /**
209   * INTENTION_PAGE_DOWN
210   *
211   * @syscap SystemCapability.MultimodalInput.Input.Core
212   * @atomicservice
213   * @since 12
214   */
215  INTENTION_PAGE_DOWN = 12,
216
217  /**
218   * INTENTION_ZOOM_OUT
219   *
220   * @syscap SystemCapability.MultimodalInput.Input.Core
221   * @since 10
222   */
223  /**
224   * INTENTION_ZOOM_OUT
225   *
226   * @syscap SystemCapability.MultimodalInput.Input.Core
227   * @atomicservice
228   * @since 12
229   */
230  INTENTION_ZOOM_OUT = 13,
231
232  /**
233   * INTENTION_ZOOM_IN
234   *
235   * @syscap SystemCapability.MultimodalInput.Input.Core
236   * @since 10
237   */
238  /**
239   * INTENTION_ZOOM_IN
240   *
241   * @syscap SystemCapability.MultimodalInput.Input.Core
242   * @atomicservice
243   * @since 12
244   */
245  INTENTION_ZOOM_IN = 14
246}
247