• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022 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
21import { ApplicationInfo } from './ApplicationInfo';
22import { Metadata } from './Metadata';
23import bundleManager from './../@ohos.bundle.bundleManager';
24import { Skill } from './Skill';
25
26/**
27 * Obtains configuration information about an ability
28 *
29 * @typedef AbilityInfo
30 * @syscap SystemCapability.BundleManager.BundleFramework.Core
31 * @since 9
32 */
33/**
34 * Obtains configuration information about an ability
35 *
36 * @typedef AbilityInfo
37 * @syscap SystemCapability.BundleManager.BundleFramework.Core
38 * @crossplatform
39 * @since 10
40 */
41/**
42 * Obtains configuration information about an ability
43 *
44 * @typedef AbilityInfo
45 * @syscap SystemCapability.BundleManager.BundleFramework.Core
46 * @crossplatform
47 * @atomicservice
48 * @since arkts {'1.1':'11', '1.2':'20'}
49 * @arkts 1.1&1.2
50 */
51export interface AbilityInfo {
52  /**
53   * Indicates the name of the bundle containing the ability
54   *
55   * @type { string }
56   * @readonly
57   * @syscap SystemCapability.BundleManager.BundleFramework.Core
58   * @since 9
59   */
60  /**
61   * Indicates the name of the bundle containing the ability
62   *
63   * @type { string }
64   * @readonly
65   * @syscap SystemCapability.BundleManager.BundleFramework.Core
66   * @crossplatform
67   * @since 10
68   */
69  /**
70   * Indicates the name of the bundle containing the ability
71   *
72   * @type { string }
73   * @readonly
74   * @syscap SystemCapability.BundleManager.BundleFramework.Core
75   * @crossplatform
76   * @atomicservice
77   * @since arkts {'1.1':'11', '1.2':'20'}
78   * @arkts 1.1&1.2
79   */
80  readonly bundleName: string;
81
82  /**
83   * Indicates the module name of the package to which the capability belongs
84   *
85   * @type { string }
86   * @readonly
87   * @syscap SystemCapability.BundleManager.BundleFramework.Core
88   * @since 9
89   */
90  /**
91   * Indicates the module name of the package to which the capability belongs
92   *
93   * @type { string }
94   * @readonly
95   * @syscap SystemCapability.BundleManager.BundleFramework.Core
96   * @crossplatform
97   * @since 10
98   */
99  /**
100   * Indicates the module name of the package to which the capability belongs
101   *
102   * @type { string }
103   * @readonly
104   * @syscap SystemCapability.BundleManager.BundleFramework.Core
105   * @crossplatform
106   * @atomicservice
107   * @since arkts {'1.1':'11', '1.2':'20'}
108   * @arkts 1.1&1.2
109   */
110  readonly moduleName: string;
111
112  /**
113   * Ability simplified class name
114   *
115   * @type { string }
116   * @readonly
117   * @syscap SystemCapability.BundleManager.BundleFramework.Core
118   * @since 9
119   */
120  /**
121   * Ability simplified class name
122   *
123   * @type { string }
124   * @readonly
125   * @syscap SystemCapability.BundleManager.BundleFramework.Core
126   * @crossplatform
127   * @since 10
128   */
129  /**
130   * Ability simplified class name
131   *
132   * @type { string }
133   * @readonly
134   * @syscap SystemCapability.BundleManager.BundleFramework.Core
135   * @crossplatform
136   * @atomicservice
137   * @since arkts {'1.1':'11', '1.2':'20'}
138   * @arkts 1.1&1.2
139   */
140  readonly name: string;
141
142  /**
143   * Indicates the label of the ability
144   *
145   * @type { string }
146   * @readonly
147   * @syscap SystemCapability.BundleManager.BundleFramework.Core
148   * @since 9
149   */
150  /**
151   * Indicates the label of the ability
152   *
153   * @type { string }
154   * @readonly
155   * @syscap SystemCapability.BundleManager.BundleFramework.Core
156   * @crossplatform
157   * @since 10
158   */
159  /**
160   * Indicates the label of the ability
161   *
162   * @type { string }
163   * @readonly
164   * @syscap SystemCapability.BundleManager.BundleFramework.Core
165   * @crossplatform
166   * @atomicservice
167   * @since arkts {'1.1':'11', '1.2':'20'}
168   * @arkts 1.1&1.2
169   */
170  readonly label: string;
171
172  /**
173   * Indicates the label id of the ability
174   *
175   * @type { number }
176   * @readonly
177   * @syscap SystemCapability.BundleManager.BundleFramework.Core
178   * @since 9
179   */
180  /**
181   * Indicates the label id of the ability
182   *
183   * @type { number }
184   * @readonly
185   * @syscap SystemCapability.BundleManager.BundleFramework.Core
186   * @crossplatform
187   * @since 10
188   */
189  /**
190   * Indicates the label id of the ability
191   *
192   * @type { number }
193   * @readonly
194   * @syscap SystemCapability.BundleManager.BundleFramework.Core
195   * @crossplatform
196   * @atomicservice
197   * @since arkts {'1.1':'11', '1.2':'20'}
198   * @arkts 1.1&1.2
199   */
200  readonly labelId: number;
201
202  /**
203   * Indicates the ability
204   *
205   * @type { string }
206   * @readonly
207   * @syscap SystemCapability.BundleManager.BundleFramework.Core
208   * @since 9
209   */
210  /**
211   * Indicates the ability
212   *
213   * @type { string }
214   * @readonly
215   * @syscap SystemCapability.BundleManager.BundleFramework.Core
216   * @crossplatform
217   * @since 10
218   */
219  /**
220   * Indicates the ability
221   *
222   * @type { string }
223   * @readonly
224   * @syscap SystemCapability.BundleManager.BundleFramework.Core
225   * @crossplatform
226   * @atomicservice
227   * @since arkts {'1.1':'11', '1.2':'20'}
228   * @arkts 1.1&1.2
229   */
230  readonly description: string;
231
232  /**
233   * Indicates the description id of the ability
234   *
235   * @type { number }
236   * @readonly
237   * @syscap SystemCapability.BundleManager.BundleFramework.Core
238   * @since 9
239   */
240  /**
241   * Indicates the description id of the ability
242   *
243   * @type { number }
244   * @readonly
245   * @syscap SystemCapability.BundleManager.BundleFramework.Core
246   * @crossplatform
247   * @since 10
248   */
249  /**
250   * Indicates the description id of the ability
251   *
252   * @type { number }
253   * @readonly
254   * @syscap SystemCapability.BundleManager.BundleFramework.Core
255   * @crossplatform
256   * @atomicservice
257   * @since arkts {'1.1':'11', '1.2':'20'}
258   * @arkts 1.1&1.2
259   */
260  readonly descriptionId: number;
261
262  /**
263   * Indicates the icon of the ability
264   *
265   * @type { string }
266   * @readonly
267   * @syscap SystemCapability.BundleManager.BundleFramework.Core
268   * @since 9
269   */
270  /**
271   * Indicates the icon of the ability
272   *
273   * @type { string }
274   * @readonly
275   * @syscap SystemCapability.BundleManager.BundleFramework.Core
276   * @crossplatform
277   * @since 10
278   */
279  /**
280   * Indicates the icon of the ability
281   *
282   * @type { string }
283   * @readonly
284   * @syscap SystemCapability.BundleManager.BundleFramework.Core
285   * @crossplatform
286   * @atomicservice
287   * @since arkts {'1.1':'11', '1.2':'20'}
288   * @arkts 1.1&1.2
289   */
290  readonly icon: string;
291
292  /**
293   * Indicates the icon id of the ability
294   *
295   * @type { number }
296   * @readonly
297   * @syscap SystemCapability.BundleManager.BundleFramework.Core
298   * @since 9
299   */
300  /**
301   * Indicates the icon id of the ability
302   *
303   * @type { number }
304   * @readonly
305   * @syscap SystemCapability.BundleManager.BundleFramework.Core
306   * @crossplatform
307   * @since 10
308   */
309  /**
310   * Indicates the icon id of the ability
311   *
312   * @type { number }
313   * @readonly
314   * @syscap SystemCapability.BundleManager.BundleFramework.Core
315   * @crossplatform
316   * @atomicservice
317   * @since arkts {'1.1':'11', '1.2':'20'}
318   * @arkts 1.1&1.2
319   */
320  readonly iconId: number;
321
322  /**
323   * Process of ability, if user do not set it, the value equal application process
324   *
325   * @type { string }
326   * @readonly
327   * @syscap SystemCapability.BundleManager.BundleFramework.Core
328   * @since 9
329   */
330  /**
331   * Process of ability, if user do not set it, the value equal application process
332   *
333   * @type { string }
334   * @readonly
335   * @syscap SystemCapability.BundleManager.BundleFramework.Core
336   * @atomicservice
337   * @since 11
338   */
339  /**
340   * Process of ability, if user do not set it, the value equal application process
341   *
342   * @type { string }
343   * @readonly
344   * @syscap SystemCapability.BundleManager.BundleFramework.Core
345   * @crossplatform
346   * @atomicservice
347   * @since 20
348   * @arkts 1.1&1.2
349   */
350  readonly process: string;
351
352  /**
353   * Indicates whether this ability can be called by other abilities
354   *
355   * @type { boolean }
356   * @readonly
357   * @syscap SystemCapability.BundleManager.BundleFramework.Core
358   * @since 9
359   */
360  /**
361   * Indicates whether this ability can be called by other abilities
362   *
363   * @type { boolean }
364   * @readonly
365   * @syscap SystemCapability.BundleManager.BundleFramework.Core
366   * @atomicservice
367   * @since 11
368   */
369  /**
370   * Indicates whether this ability can be called by other abilities
371   *
372   * @type { boolean }
373   * @readonly
374   * @syscap SystemCapability.BundleManager.BundleFramework.Core
375   * @crossplatform
376   * @atomicservice
377   * @since 20
378   * @arkts 1.1&1.2
379   */
380  readonly exported: boolean;
381
382  /**
383   * Enumerates types of templates that can be used by an ability
384   *
385   * @type { bundleManager.AbilityType }
386   * @readonly
387   * @syscap SystemCapability.BundleManager.BundleFramework.Core
388   * @FAModelOnly
389   * @since 9
390   */
391  readonly type: bundleManager.AbilityType;
392
393  /**
394   * Enumerates ability display orientations
395   *
396   * @type { bundleManager.DisplayOrientation }
397   * @readonly
398   * @syscap SystemCapability.BundleManager.BundleFramework.Core
399   * @since 9
400   */
401  /**
402   * Enumerates ability display orientations
403   *
404   * @type { bundleManager.DisplayOrientation }
405   * @readonly
406   * @syscap SystemCapability.BundleManager.BundleFramework.Core
407   * @atomicservice
408   * @since 11
409   */
410  /**
411   * Enumerates ability display orientations
412   *
413   * @type { bundleManager.DisplayOrientation }
414   * @readonly
415   * @syscap SystemCapability.BundleManager.BundleFramework.Core
416   * @crossplatform
417   * @atomicservice
418   * @since 20
419   * @arkts 1.1&1.2
420   */
421  readonly orientation: bundleManager.DisplayOrientation;
422
423  /**
424   * Enumerates ability launch type
425   *
426   * @type { bundleManager.LaunchType }
427   * @readonly
428   * @syscap SystemCapability.BundleManager.BundleFramework.Core
429   * @since 9
430   */
431  /**
432   * Enumerates ability launch type
433   *
434   * @type { bundleManager.LaunchType }
435   * @readonly
436   * @syscap SystemCapability.BundleManager.BundleFramework.Core
437   * @crossplatform
438   * @since 10
439   */
440  /**
441   * Enumerates ability launch type
442   *
443   * @type { bundleManager.LaunchType }
444   * @readonly
445   * @syscap SystemCapability.BundleManager.BundleFramework.Core
446   * @crossplatform
447   * @atomicservice
448   * @since arkts {'1.1':'11', '1.2':'20'}
449   * @arkts 1.1&1.2
450   */
451  readonly launchType: bundleManager.LaunchType;
452
453  /**
454   * The permissions that others need to launch this ability
455   *
456   * @type { Array<string> }
457   * @readonly
458   * @syscap SystemCapability.BundleManager.BundleFramework.Core
459   * @since 9
460   */
461  /**
462   * The permissions that others need to launch this ability
463   *
464   * @type { Array<string> }
465   * @readonly
466   * @syscap SystemCapability.BundleManager.BundleFramework.Core
467   * @atomicservice
468   * @since 11
469   */
470  /**
471   * The permissions that others need to launch this ability
472   *
473   * @type { Array<string> }
474   * @readonly
475   * @syscap SystemCapability.BundleManager.BundleFramework.Core
476   * @crossplatform
477   * @atomicservice
478   * @since 20
479   * @arkts 1.1&1.2
480   */
481  readonly permissions: Array<string>;
482
483  /**
484   * Indicates the permission required for reading ability data
485   *
486   * @type { string }
487   * @readonly
488   * @syscap SystemCapability.BundleManager.BundleFramework.Core
489   * @FAModelOnly
490   * @since 9
491   */
492  readonly readPermission: string;
493
494  /**
495   * Indicates the permission required for writing data to the ability
496   *
497   * @type { string }
498   * @readonly
499   * @syscap SystemCapability.BundleManager.BundleFramework.Core
500   * @FAModelOnly
501   * @since 9
502   */
503  readonly writePermission: string;
504
505  /**
506   * Uri of ability
507   *
508   * @type { string }
509   * @readonly
510   * @syscap SystemCapability.BundleManager.BundleFramework.Core
511   * @FAModelOnly
512   * @since 9
513   */
514  readonly uri: string;
515
516  /**
517   * The device types that this ability can run on
518   *
519   * @type { Array<string> }
520   * @readonly
521   * @syscap SystemCapability.BundleManager.BundleFramework.Core
522   * @since 9
523   */
524  /**
525   * The device types that this ability can run on
526   *
527   * @type { Array<string> }
528   * @readonly
529   * @syscap SystemCapability.BundleManager.BundleFramework.Core
530   * @atomicservice
531   * @since 11
532   */
533  /**
534   * The device types that this ability can run on
535   *
536   * @type { Array<string> }
537   * @readonly
538   * @syscap SystemCapability.BundleManager.BundleFramework.Core
539   * @crossplatform
540   * @atomicservice
541   * @since 20
542   * @arkts 1.1&1.2
543   */
544  readonly deviceTypes: Array<string>;
545
546  /**
547   * Obtains configuration information about an application
548   *
549   * @type { ApplicationInfo }
550   * @readonly
551   * @syscap SystemCapability.BundleManager.BundleFramework.Core
552   * @since 9
553   */
554  /**
555   * Obtains configuration information about an application
556   *
557   * @type { ApplicationInfo }
558   * @readonly
559   * @syscap SystemCapability.BundleManager.BundleFramework.Core
560   * @crossplatform
561   * @since 10
562   */
563  /**
564   * Obtains configuration information about an application
565   *
566   * @type { ApplicationInfo }
567   * @readonly
568   * @syscap SystemCapability.BundleManager.BundleFramework.Core
569   * @crossplatform
570   * @atomicservice
571   * @since arkts {'1.1':'11', '1.2':'20'}
572   * @arkts 1.1&1.2
573   */
574  readonly applicationInfo: ApplicationInfo;
575
576  /**
577   * Indicates the metadata of ability
578   *
579   * @type { Array<Metadata> }
580   * @readonly
581   * @syscap SystemCapability.BundleManager.BundleFramework.Core
582   * @since 9
583   */
584  /**
585   * Indicates the metadata of ability
586   *
587   * @type { Array<Metadata> }
588   * @readonly
589   * @syscap SystemCapability.BundleManager.BundleFramework.Core
590   * @crossplatform
591   * @since 10
592   */
593  /**
594   * Indicates the metadata of ability
595   *
596   * @type { Array<Metadata> }
597   * @readonly
598   * @syscap SystemCapability.BundleManager.BundleFramework.Core
599   * @crossplatform
600   * @atomicservice
601   * @since arkts {'1.1':'11', '1.2':'20'}
602   * @arkts 1.1&1.2
603   */
604  readonly metadata: Array<Metadata>;
605
606  /**
607   * Indicates whether the ability is enabled
608   *
609   * @type { boolean }
610   * @readonly
611   * @syscap SystemCapability.BundleManager.BundleFramework.Core
612   * @since 9
613   */
614  /**
615   * Indicates whether the ability is enabled
616   *
617   * @type { boolean }
618   * @readonly
619   * @syscap SystemCapability.BundleManager.BundleFramework.Core
620   * @atomicservice
621   * @since 11
622   */
623  /**
624   * Indicates whether the ability is enabled
625   *
626   * @type { boolean }
627   * @readonly
628   * @syscap SystemCapability.BundleManager.BundleFramework.Core
629   * @crossplatform
630   * @atomicservice
631   * @since 20
632   * @arkts 1.1&1.2
633   */
634  readonly enabled: boolean;
635
636  /**
637   * Indicates which window mode is supported
638   *
639   * @type { Array<bundleManager.SupportWindowMode> }
640   * @readonly
641   * @syscap SystemCapability.BundleManager.BundleFramework.Core
642   * @since 9
643   */
644  /**
645   * Indicates which window mode is supported
646   *
647   * @type { Array<bundleManager.SupportWindowMode> }
648   * @readonly
649   * @syscap SystemCapability.BundleManager.BundleFramework.Core
650   * @atomicservice
651   * @since 11
652   */
653  /**
654   * Indicates which window mode is supported
655   *
656   * @type { Array<bundleManager.SupportWindowMode> }
657   * @readonly
658   * @syscap SystemCapability.BundleManager.BundleFramework.Core
659   * @crossplatform
660   * @atomicservice
661   * @since 20
662   * @arkts 1.1&1.2
663   */
664  readonly supportWindowModes: Array<bundleManager.SupportWindowMode>;
665
666  /**
667   * Indicates window size
668   *
669   * @type { WindowSize }
670   * @readonly
671   * @syscap SystemCapability.BundleManager.BundleFramework.Core
672   * @since 9
673   */
674  /**
675   * Indicates window size
676   *
677   * @type { WindowSize }
678   * @readonly
679   * @syscap SystemCapability.BundleManager.BundleFramework.Core
680   * @atomicservice
681   * @since 11
682   */
683  /**
684   * Indicates window size
685   *
686   * @type { WindowSize }
687   * @readonly
688   * @syscap SystemCapability.BundleManager.BundleFramework.Core
689   * @crossplatform
690   * @atomicservice
691   * @since 20
692   * @arkts 1.1&1.2
693   */
694  readonly windowSize: WindowSize;
695
696  /**
697   * Indicates whether to hide the application icon from the dock area
698   *
699   * @type { boolean }
700   * @readonly
701   * @syscap SystemCapability.BundleManager.BundleFramework.Core
702   * @atomicservice
703   * @since arkts {'1.1':'12', '1.2':'20'}
704   * @arkts 1.1&1.2
705   */
706  readonly excludeFromDock: boolean;
707
708  /**
709   * Indicates skills of the ability
710   *
711   * @type { Array<Skill> }
712   * @readonly
713   * @syscap SystemCapability.BundleManager.BundleFramework.Core
714   * @atomicservice
715   * @since arkts {'1.1':'12', '1.2':'20'}
716   * @arkts 1.1&1.2
717   */
718  readonly skills: Array<Skill>;
719
720  /**
721   * Indicates the appIndex of application, only work in clone app mode
722   *
723   * @type { number }
724   * @readonly
725   * @syscap SystemCapability.BundleManager.BundleFramework.Core
726   * @since arkts {'1.1':'12', '1.2':'20'}
727   * @arkts 1.1&1.2
728   */
729  readonly appIndex: number;
730
731  /**
732   * Indicates the orientation id of the ability
733   *
734   * @type { number }
735   * @readonly
736   * @syscap SystemCapability.BundleManager.BundleFramework.Core
737   * @atomicservice
738   * @since arkts {'1.1':'14', '1.2':'20'}
739   * @arkts 1.1&1.2
740   */
741  readonly orientationId: number;
742}
743
744/**
745 * Indicates the window size.
746 *
747 * @typedef WindowSize
748 * @syscap SystemCapability.BundleManager.BundleFramework.Core
749 * @since 9
750 */
751/**
752 * Indicates the window size.
753 *
754 * @typedef WindowSize
755 * @syscap SystemCapability.BundleManager.BundleFramework.Core
756 * @atomicservice
757 * @since 11
758 */
759/**
760 * Indicates the window size.
761 *
762 * @typedef WindowSize
763 * @syscap SystemCapability.BundleManager.BundleFramework.Core
764 * @crossplatform
765 * @atomicservice
766 * @since 20
767 * @arkts 1.1&1.2
768 */
769export interface WindowSize {
770  /**
771   * Indicates maximum ratio of width over height of window under free window status.
772   *
773   * @type { number }
774   * @readonly
775   * @syscap SystemCapability.BundleManager.BundleFramework.Core
776   * @since 9
777   */
778  /**
779   * Indicates maximum ratio of width over height of window under free window status.
780   *
781   * @type { number }
782   * @readonly
783   * @syscap SystemCapability.BundleManager.BundleFramework.Core
784   * @atomicservice
785   * @since 11
786   */
787  /**
788   * Indicates maximum ratio of width over height of window under free window status.
789   *
790   * @type { number }
791   * @readonly
792   * @syscap SystemCapability.BundleManager.BundleFramework.Core
793   * @crossplatform
794   * @atomicservice
795   * @since 20
796   * @arkts 1.1&1.2
797   */
798  readonly maxWindowRatio: number;
799
800  /**
801   * Indicates minimum ratio of width over height of window under free window status.
802   *
803   * @type { number }
804   * @readonly
805   * @syscap SystemCapability.BundleManager.BundleFramework.Core
806   * @since 9
807   */
808  /**
809   * Indicates minimum ratio of width over height of window under free window status.
810   *
811   * @type { number }
812   * @readonly
813   * @syscap SystemCapability.BundleManager.BundleFramework.Core
814   * @atomicservice
815   * @since 11
816   */
817  /**
818   * Indicates minimum ratio of width over height of window under free window status.
819   *
820   * @type { number }
821   * @readonly
822   * @syscap SystemCapability.BundleManager.BundleFramework.Core
823   * @crossplatform
824   * @atomicservice
825   * @since 20
826   * @arkts 1.1&1.2
827   */
828  readonly minWindowRatio: number;
829
830  /**
831   * Indicates maximum width of window under free window status.
832   *
833   * @type { number }
834   * @readonly
835   * @syscap SystemCapability.BundleManager.BundleFramework.Core
836   * @since 9
837   */
838  /**
839   * Indicates maximum width of window under free window status.
840   *
841   * @type { number }
842   * @readonly
843   * @syscap SystemCapability.BundleManager.BundleFramework.Core
844   * @atomicservice
845   * @since 11
846   */
847  /**
848   * Indicates maximum width of window under free window status.
849   *
850   * @type { number }
851   * @readonly
852   * @syscap SystemCapability.BundleManager.BundleFramework.Core
853   * @crossplatform
854   * @atomicservice
855   * @since 20
856   * @arkts 1.1&1.2
857   */
858  readonly maxWindowWidth: number;
859
860  /**
861   * Indicates minimum width of window under free window status.
862   *
863   * @type { number }
864   * @readonly
865   * @syscap SystemCapability.BundleManager.BundleFramework.Core
866   * @since 9
867   */
868  /**
869   * Indicates minimum width of window under free window status.
870   *
871   * @type { number }
872   * @readonly
873   * @syscap SystemCapability.BundleManager.BundleFramework.Core
874   * @atomicservice
875   * @since 11
876   */
877  /**
878   * Indicates minimum width of window under free window status.
879   *
880   * @type { number }
881   * @readonly
882   * @syscap SystemCapability.BundleManager.BundleFramework.Core
883   * @crossplatform
884   * @atomicservice
885   * @since 20
886   * @arkts 1.1&1.2
887   */
888  readonly minWindowWidth: number;
889
890  /**
891   * Indicates maximum height of window under free window status.
892   *
893   * @type { number }
894   * @readonly
895   * @syscap SystemCapability.BundleManager.BundleFramework.Core
896   * @since 9
897   */
898  /**
899   * Indicates maximum height of window under free window status.
900   *
901   * @type { number }
902   * @readonly
903   * @syscap SystemCapability.BundleManager.BundleFramework.Core
904   * @atomicservice
905   * @since 11
906   */
907  /**
908   * Indicates maximum height of window under free window status.
909   *
910   * @type { number }
911   * @readonly
912   * @syscap SystemCapability.BundleManager.BundleFramework.Core
913   * @crossplatform
914   * @atomicservice
915   * @since 20
916   * @arkts 1.1&1.2
917   */
918  readonly maxWindowHeight: number;
919
920  /**
921   * Indicates minimum height of window under free window status.
922   *
923   * @type { number }
924   * @readonly
925   * @syscap SystemCapability.BundleManager.BundleFramework.Core
926   * @since 9
927   */
928  /**
929   * Indicates minimum height of window under free window status.
930   *
931   * @type { number }
932   * @readonly
933   * @syscap SystemCapability.BundleManager.BundleFramework.Core
934   * @atomicservice
935   * @since 11
936   */
937  /**
938   * Indicates minimum height of window under free window status.
939   *
940   * @type { number }
941   * @readonly
942   * @syscap SystemCapability.BundleManager.BundleFramework.Core
943   * @crossplatform
944   * @atomicservice
945   * @since 20
946   * @arkts 1.1&1.2
947   */
948  readonly minWindowHeight: number;
949}
950