From beca8a6a831f54c8447c5ed234be837781457733 Mon Sep 17 00:00:00 2001 From: chen828 Date: Thu, 11 Sep 2025 08:55:41 +0000 Subject: [PATCH 1/5] update api/@ohos.UiTest.d.ts. Signed-off-by: chen828 --- api/@ohos.UiTest.d.ts | 47 ++++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/api/@ohos.UiTest.d.ts b/api/@ohos.UiTest.d.ts index 5d8b1069b0..9168a6c409 100755 --- a/api/@ohos.UiTest.d.ts +++ b/api/@ohos.UiTest.d.ts @@ -1540,12 +1540,23 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic * @test - * @arkts 1.1&1.2 */ once(type: 'toastShow', callback: Callback): void; + /** + * Listen for toast show once + * + * @param { Callback } callback - function, returns the monitored UIElementInfo. + * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. + * @syscap SystemCapability.Test.UiTest + * @atomicservice + * @since 11 dynamic + * @test + */ + onceToastShow( callback: Callback): void; + /** * Listen for dialog show once * @@ -1564,11 +1575,21 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic * @test - * @arkts 1.1&1.2 */ once(type: 'dialogShow', callback: Callback): void; + /** + * Listen for dialog show once + * + * @param { Callback } callback - function, returns the monitored UIElementInfo. + * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. + * @syscap SystemCapability.Test.UiTest + * @atomicservice + * @since 11 dynamic + * @test + */ + onceDialogShow(callback: Callback): void; } /** @@ -3376,21 +3397,6 @@ declare class Component { */ pinchIn(scale: double): Promise; - - /** - * Scroll on this {@link Component}to find matched {@link Component},applicable to scrollable one. - * - * @param { On } on - the attribute requirements of the target {@link Component}. - * @returns { Promise } the found result, or null if not found. - * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 17000002 - The async function is not called with await. - * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. - * @syscap SystemCapability.Test.UiTest - * @since 20 - * @test - * @arkts 1.2 - */ - scrollSearch(on: On): Promise; /** * Get the description attribute value. * @@ -4723,9 +4729,8 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic * @test - * @arkts 1.1&1.2 */ mouseScroll(p: Point, down: boolean, d: int, key1?: int, key2?: int): Promise; -- Gitee From 954b14c33df2debdb83128e31f655b4741f294df Mon Sep 17 00:00:00 2001 From: chen828 Date: Thu, 11 Sep 2025 11:16:33 +0000 Subject: [PATCH 2/5] update api/@ohos.UiTest.d.ts. Signed-off-by: chen828 --- api/@ohos.UiTest.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.UiTest.d.ts b/api/@ohos.UiTest.d.ts index 9168a6c409..16fe54d4c8 100755 --- a/api/@ohos.UiTest.d.ts +++ b/api/@ohos.UiTest.d.ts @@ -1552,7 +1552,7 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 dynamic + * @since 20 static * @test */ onceToastShow( callback: Callback): void; @@ -1586,7 +1586,7 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 dynamic + * @since 20 static * @test */ onceDialogShow(callback: Callback): void; -- Gitee From 027734a39256d32c52fad9ddf80539795985835a Mon Sep 17 00:00:00 2001 From: chen828 Date: Thu, 11 Sep 2025 12:52:55 +0000 Subject: [PATCH 3/5] update api/@ohos.UiTest.d.ts. Signed-off-by: chen828 --- api/@ohos.UiTest.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/@ohos.UiTest.d.ts b/api/@ohos.UiTest.d.ts index 16fe54d4c8..b85ab53d62 100755 --- a/api/@ohos.UiTest.d.ts +++ b/api/@ohos.UiTest.d.ts @@ -1552,8 +1552,9 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 static + * @since {'1.2': '20'} * @test + * @arkts 1.2 */ onceToastShow( callback: Callback): void; @@ -1586,8 +1587,9 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 static + * @since {'1.2': '20'} * @test + * @arkts 1.2 */ onceDialogShow(callback: Callback): void; } -- Gitee From a5862d3b8ebd04a6cc2709c582219a468a2662d7 Mon Sep 17 00:00:00 2001 From: chen828 Date: Thu, 11 Sep 2025 12:53:57 +0000 Subject: [PATCH 4/5] update api/@ohos.UiTest.d.ts. Signed-off-by: chen828 --- api/@ohos.UiTest.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.UiTest.d.ts b/api/@ohos.UiTest.d.ts index b85ab53d62..706941989d 100755 --- a/api/@ohos.UiTest.d.ts +++ b/api/@ohos.UiTest.d.ts @@ -1540,7 +1540,7 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 dynamic + * @since 11 * @test */ once(type: 'toastShow', callback: Callback): void; @@ -1576,7 +1576,7 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 dynamic + * @since 11 * @test */ once(type: 'dialogShow', callback: Callback): void; -- Gitee From 2a03aedd733e88583a8196b807c3bb12975791d9 Mon Sep 17 00:00:00 2001 From: chen828 Date: Fri, 12 Sep 2025 03:55:04 +0000 Subject: [PATCH 5/5] update api/@ohos.UiTest.d.ts. Signed-off-by: chen828 --- api/@ohos.UiTest.d.ts | 834 ++++++++++++++++++++---------------------- 1 file changed, 405 insertions(+), 429 deletions(-) diff --git a/api/@ohos.UiTest.d.ts b/api/@ohos.UiTest.d.ts index 706941989d..c9e082d774 100755 --- a/api/@ohos.UiTest.d.ts +++ b/api/@ohos.UiTest.d.ts @@ -42,8 +42,8 @@ import { Callback } from './@ohos.base'; * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum MatchPattern { /** @@ -67,9 +67,9 @@ declare enum MatchPattern { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ EQUALS = 0, /** @@ -93,9 +93,9 @@ declare enum MatchPattern { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ CONTAINS = 1, /** @@ -119,9 +119,9 @@ declare enum MatchPattern { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ STARTS_WITH = 2, /** @@ -145,9 +145,9 @@ declare enum MatchPattern { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ENDS_WITH = 3, /** @@ -155,9 +155,9 @@ declare enum MatchPattern { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ REG_EXP = 4, /** @@ -165,9 +165,9 @@ declare enum MatchPattern { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ REG_EXP_ICASE = 5, } @@ -176,7 +176,7 @@ declare enum MatchPattern { * Describes the attribute requirements for the target UiComponents. * * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On */ @@ -188,7 +188,7 @@ declare class By { * @param { MatchPattern } pattern The {@link MatchPattern} of the text value,default to {@link MatchPattern.EQUALS} * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#text * @test @@ -201,7 +201,7 @@ declare class By { * @param { string } key The inspectorKey value. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#id * @test @@ -214,7 +214,7 @@ declare class By { * @param { number } id The id value. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @test */ @@ -226,7 +226,7 @@ declare class By { * @param { string } tp The type value. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#type * @test @@ -239,7 +239,7 @@ declare class By { * @param { boolean } b The clickable status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#clickable * @test @@ -252,7 +252,7 @@ declare class By { * @param { boolean } b The scrollable status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#scrollable * @test @@ -265,7 +265,7 @@ declare class By { * @param { boolean } b The enabled status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#enabled * @test @@ -278,7 +278,7 @@ declare class By { * @param { boolean } b The focused status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#focused * @test @@ -291,7 +291,7 @@ declare class By { * @param { boolean } b The selected status,default to true. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#selected * @test @@ -305,7 +305,7 @@ declare class By { * @param { By } by Describes the attribute requirements of UiComponent which the target one is in front of. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#isBefore * @test @@ -319,7 +319,7 @@ declare class By { * @param { By } by Describes the attribute requirements of UiComponent which the target one is in back of. * @returns { By } this {@link By} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.On#isAfter * @test @@ -331,7 +331,7 @@ declare class By { * Represents a UiComponent of the ohos application,user can perform operations or query attributes on it. * * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.uitest.Component * @test @@ -342,7 +342,7 @@ declare class UiComponent { * * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#click * @test @@ -354,7 +354,7 @@ declare class UiComponent { * * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#doubleClick * @test @@ -366,7 +366,7 @@ declare class UiComponent { * * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#longClick * @test @@ -378,7 +378,7 @@ declare class UiComponent { * * @returns { Promise } the id value. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @test */ @@ -389,7 +389,7 @@ declare class UiComponent { * * @returns { Promise } the inspectorKey value. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#getId * @test @@ -401,7 +401,7 @@ declare class UiComponent { * * @returns { Promise } the text value. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#getText * @test @@ -413,7 +413,7 @@ declare class UiComponent { * * @returns { Promise } the type name. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#getType * @test @@ -425,7 +425,7 @@ declare class UiComponent { * * @returns { Promise } the clickable status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isClickable * @test @@ -437,7 +437,7 @@ declare class UiComponent { * * @returns { Promise } the scrollable status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isScrollable * @test @@ -449,7 +449,7 @@ declare class UiComponent { * * @returns { Promise } the enabled status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isEnabled * @test @@ -461,7 +461,7 @@ declare class UiComponent { * * @returns { Promise } the focused status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isFocused * @test @@ -473,7 +473,7 @@ declare class UiComponent { * * @returns { Promise } the selected status. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#isSelected * @test @@ -486,7 +486,7 @@ declare class UiComponent { * @param { string } text The text to inject. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#inputText * @test @@ -499,7 +499,7 @@ declare class UiComponent { * @param { By } by The attribute requirements of the target {@link UiComponent}. * @returns { Promise } the found result,or undefined if not found. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Component#scrollSearch * @test @@ -512,7 +512,7 @@ declare class UiComponent { * coordinates-based UI actions,capture screen and so on. * * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.uitest.Driver * @test @@ -523,7 +523,7 @@ declare class UiDriver { * * @returns { UiDriver } the {@link UiDriver} object. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#create * @test @@ -536,7 +536,7 @@ declare class UiDriver { * @param { number } duration The delay duration in milliseconds. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#delayMs * @test @@ -549,7 +549,7 @@ declare class UiDriver { * @param { By } by The attribute requirements of the target {@link UiComponent}. * @returns { Promise } the first matched {@link UiComponent} or undefined. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#findComponent * @test @@ -562,7 +562,7 @@ declare class UiDriver { * @param { By } by The attribute requirements of the target {@link UiComponent}. * @returns { Promise> } the matched {@link UiComponent}s list. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#findComponents * @test @@ -578,7 +578,7 @@ declare class UiDriver { * @throws {BusinessError} 17000002 - if the async function was not called with await. * @throws {BusinessError} 17000003 - if the assertion failed. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#assertComponentExist * @test @@ -590,7 +590,7 @@ declare class UiDriver { * * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#pressBack * @test @@ -603,7 +603,7 @@ declare class UiDriver { * @param { number } keyCode the target keyCode. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#triggerKey * @test @@ -617,7 +617,7 @@ declare class UiDriver { * @param { number } y The y-coordinate. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#click * @test @@ -631,7 +631,7 @@ declare class UiDriver { * @param { number } y The y-coordinate. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#doubleClick * @test @@ -645,7 +645,7 @@ declare class UiDriver { * @param { number } y The y-coordinate. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#longClick * @test @@ -661,7 +661,7 @@ declare class UiDriver { * @param { number } endy The y-coordinate of the ending point. * @returns { Promise } * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.UiTest.Driver#swipe * @test @@ -674,7 +674,7 @@ declare class UiDriver { * @param { string } savePath the path where to store the picture. * @returns { Promise } true if screen-capturing and file-storing are completed successfully,false otherwise. * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.uitest.Driver#screenCap * @test @@ -695,8 +695,8 @@ declare class UiDriver { * @enum { number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum WindowMode { /** @@ -711,9 +711,9 @@ declare enum WindowMode { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ FULLSCREEN = 0, /** @@ -728,9 +728,9 @@ declare enum WindowMode { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ PRIMARY = 1, /** @@ -745,9 +745,9 @@ declare enum WindowMode { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ SECONDARY = 2, /** @@ -762,9 +762,9 @@ declare enum WindowMode { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ FLOATING = 3 } @@ -782,8 +782,8 @@ declare enum WindowMode { * @enum { number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum ResizeDirection { /** @@ -798,9 +798,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ LEFT = 0, /** @@ -815,9 +815,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ RIGHT = 1, /** @@ -832,9 +832,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ UP = 2, /** @@ -849,9 +849,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ DOWN = 3, /** @@ -866,9 +866,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ LEFT_UP = 4, /** @@ -883,9 +883,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ LEFT_DOWN = 5, /** @@ -900,9 +900,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ RIGHT_UP = 6, /** @@ -917,9 +917,9 @@ declare enum ResizeDirection { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ RIGHT_DOWN = 7 } @@ -937,8 +937,8 @@ declare enum ResizeDirection { * @enum { number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare enum DisplayRotation { /** @@ -953,9 +953,9 @@ declare enum DisplayRotation { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ROTATION_0 = 0, /** @@ -970,9 +970,9 @@ declare enum DisplayRotation { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ROTATION_90 = 1, /** @@ -987,9 +987,9 @@ declare enum DisplayRotation { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ROTATION_180 = 2, /** @@ -1004,9 +1004,9 @@ declare enum DisplayRotation { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ ROTATION_270 = 3 } @@ -1033,8 +1033,8 @@ declare enum DisplayRotation { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare interface Point { /** @@ -1071,8 +1071,7 @@ declare interface Point { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ x: int; /** @@ -1109,8 +1108,7 @@ declare interface Point { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ y: int; /** @@ -1119,8 +1117,7 @@ declare interface Point { * @type { ?int } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ displayId?: int; } @@ -1147,8 +1144,8 @@ declare interface Point { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare interface Rect { /** @@ -1185,8 +1182,7 @@ declare interface Rect { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ left: int; /** @@ -1223,8 +1219,7 @@ declare interface Rect { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ top: int; /** @@ -1261,8 +1256,7 @@ declare interface Rect { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ right: int; /** @@ -1299,8 +1293,7 @@ declare interface Rect { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} - * @arkts 1.1&1.2 + * @since 20 dynamic&static */ bottom: int; /** @@ -1309,7 +1302,7 @@ declare interface Rect { * @type { ?number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic */ displayId?: number; } @@ -1327,8 +1320,8 @@ declare interface Rect { * @typedef WindowFilter * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ declare interface WindowFilter { /** @@ -1344,8 +1337,8 @@ declare interface WindowFilter { * @type { ?string } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ bundleName?: string; @@ -1362,8 +1355,8 @@ declare interface WindowFilter { * @type { ?string } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ title?: string; @@ -1380,8 +1373,8 @@ declare interface WindowFilter { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ focused?: boolean; @@ -1397,7 +1390,7 @@ declare interface WindowFilter { * * @type { ?boolean } * @syscap SystemCapability.Test.UiTest - * @since 11 + * @since 11 dynamiconly * @deprecated since 11 * @useinstead ohos.UiTest.WindowFilter#active */ @@ -1409,8 +1402,8 @@ declare interface WindowFilter { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 dynamic + * @since 20 static */ active?: boolean; @@ -1420,7 +1413,7 @@ declare interface WindowFilter { * @type { ?number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic */ displayId?: number; } @@ -1439,9 +1432,9 @@ declare interface WindowFilter { * @typedef UIElementInfo * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare interface UIElementInfo { /** @@ -1458,9 +1451,9 @@ declare interface UIElementInfo { * @readonly * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ readonly bundleName: string; /** @@ -1477,9 +1470,9 @@ declare interface UIElementInfo { * @readonly * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ readonly type: string; /** @@ -1496,9 +1489,9 @@ declare interface UIElementInfo { * @readonly * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ readonly text: string; } @@ -1517,9 +1510,9 @@ declare interface UIElementInfo { * @typedef UIEventObserver * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare interface UIEventObserver { /** @@ -1540,7 +1533,7 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ once(type: 'toastShow', callback: Callback): void; @@ -1552,9 +1545,8 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since {'1.2': '20'} + * @since 22 static * @test - * @arkts 1.2 */ onceToastShow( callback: Callback): void; @@ -1576,7 +1568,7 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ once(type: 'dialogShow', callback: Callback): void; @@ -1587,9 +1579,8 @@ declare interface UIEventObserver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since {'1.2': '20'} + * @since 22 static * @test - * @arkts 1.2 */ onceDialogShow(callback: Callback): void; } @@ -1616,8 +1607,8 @@ declare interface UIEventObserver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare enum UiDirection { /** @@ -1641,9 +1632,9 @@ declare enum UiDirection { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ LEFT = 0, /** @@ -1667,9 +1658,9 @@ declare enum UiDirection { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ RIGHT = 1, /** @@ -1693,9 +1684,9 @@ declare enum UiDirection { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ UP = 2, /** @@ -1719,9 +1710,9 @@ declare enum UiDirection { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ DOWN = 3 } @@ -1739,9 +1730,9 @@ declare enum UiDirection { * @enum { number } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare enum MouseButton { /** @@ -1756,9 +1747,9 @@ declare enum MouseButton { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ MOUSE_BUTTON_LEFT = 0, /** @@ -1773,9 +1764,9 @@ declare enum MouseButton { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ MOUSE_BUTTON_RIGHT = 1, /** @@ -1790,9 +1781,9 @@ declare enum MouseButton { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ MOUSE_BUTTON_MIDDLE = 2 } @@ -1802,9 +1793,9 @@ declare enum MouseButton { * @interface TouchPadSwipeOptions * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare interface TouchPadSwipeOptions { /** @@ -1812,9 +1803,9 @@ declare interface TouchPadSwipeOptions { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ stay?: boolean; @@ -1823,9 +1814,9 @@ declare interface TouchPadSwipeOptions { * @type { ?int } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ speed?: int; } @@ -1835,9 +1826,8 @@ declare interface TouchPadSwipeOptions { * @interface InputTextMode * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ declare interface InputTextMode { /** @@ -1845,9 +1835,8 @@ declare interface InputTextMode { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ paste?: boolean; @@ -1856,9 +1845,8 @@ declare interface InputTextMode { * @type { ?boolean } * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ addition?: boolean; } @@ -1882,8 +1870,8 @@ declare interface InputTextMode { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} - * @arkts 1.1&1.2 + * @since 12 dynamic + * @since 20 static */ declare class On { /** @@ -1919,9 +1907,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ text(txt: string, pattern?: MatchPattern): On; @@ -1955,9 +1943,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ id(id: string): On; @@ -1991,9 +1979,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ type(tp: string): On; @@ -2027,9 +2015,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ clickable(b?: boolean): On; @@ -2063,9 +2051,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ longClickable(b?: boolean): On; @@ -2099,9 +2087,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ scrollable(b?: boolean): On; @@ -2135,9 +2123,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ enabled(b?: boolean): On; @@ -2171,9 +2159,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ focused(b?: boolean): On; @@ -2207,9 +2195,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ selected(b?: boolean): On; @@ -2243,9 +2231,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ checked(b?: boolean): On; @@ -2279,9 +2267,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ checkable(b?: boolean): On; @@ -2306,9 +2294,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isBefore(on: On): On; @@ -2333,9 +2321,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isAfter(on: On): On; @@ -2360,9 +2348,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ within(on: On): On; @@ -2384,9 +2372,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ inWindow(bundleName: string): On; @@ -2398,7 +2386,7 @@ declare class On { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ belongingDisplay(displayId: number): On; @@ -2412,9 +2400,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ description(val: string, pattern?: MatchPattern): On; /** @@ -2426,9 +2414,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ id(id: string, pattern: MatchPattern): On; /** @@ -2440,9 +2428,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ type(tp: string, pattern: MatchPattern): On; /** @@ -2454,9 +2442,9 @@ declare class On { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ hint(val: string, pattern?: MatchPattern): On; @@ -2472,7 +2460,7 @@ declare class On { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ originalText(text: string, pattern?: MatchPattern): On; @@ -2499,9 +2487,9 @@ declare class On { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare class Component { /** @@ -2534,9 +2522,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ click(): Promise; @@ -2570,9 +2558,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ doubleClick(): Promise; @@ -2606,9 +2594,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ longClick(): Promise; @@ -2642,9 +2630,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getId(): Promise; @@ -2656,7 +2644,7 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getDisplayId(): Promise; @@ -2691,9 +2679,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getText(): Promise; @@ -2727,9 +2715,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getType(): Promise; @@ -2763,9 +2751,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isClickable(): Promise; @@ -2799,9 +2787,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isLongClickable(): Promise; @@ -2835,9 +2823,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isScrollable(): Promise; @@ -2871,9 +2859,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isEnabled(): Promise; @@ -2907,9 +2895,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isFocused(): Promise; @@ -2943,9 +2931,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isSelected(): Promise; @@ -2979,9 +2967,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isChecked(): Promise; @@ -3015,9 +3003,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isCheckable(): Promise; @@ -3057,9 +3045,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ inputText(text: string): Promise; @@ -3075,9 +3063,8 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ inputText(text: string, mode: InputTextMode): Promise; @@ -3111,9 +3098,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ clearText(): Promise; @@ -3153,9 +3140,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ scrollToTop(speed?: int): Promise; @@ -3195,9 +3182,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ scrollToBottom(speed?: int): Promise; @@ -3231,9 +3218,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getBounds(): Promise; @@ -3273,7 +3260,7 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ scrollSearch(on: On): Promise; @@ -3308,9 +3295,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getBoundsCenter(): Promise; @@ -3336,9 +3323,9 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ dragTo(target: Component): Promise; @@ -3365,9 +3352,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ pinchOut(scale: double): Promise; /** @@ -3393,9 +3380,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ pinchIn(scale: double): Promise; @@ -3407,9 +3394,9 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getDescription(): Promise; /** @@ -3420,9 +3407,9 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getHint(): Promise; /** @@ -3437,7 +3424,7 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 18 + * @since 18 dynamic * @test */ scrollSearch(on: On, vertical?: boolean, offset?: number): Promise; @@ -3452,9 +3439,8 @@ declare class Component { * @throws { BusinessError } 17000002 - The async function is not called with await. * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ scrollSearch(on: On, vertical?: boolean, offset?: int): Promise; /** @@ -3468,7 +3454,7 @@ declare class Component { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getOriginalText(): Promise; @@ -3498,9 +3484,9 @@ declare class Component { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare class Driver { /** @@ -3530,9 +3516,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ static create(): Driver; @@ -3569,9 +3555,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ delayMs(duration: int): Promise; @@ -3608,7 +3594,7 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ findComponent(on: On): Promise; @@ -3620,9 +3606,8 @@ declare class Driver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ findComponent(on: On): Promise; /** @@ -3645,7 +3630,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ findWindow(filter: WindowFilter): Promise; @@ -3657,9 +3642,8 @@ declare class Driver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ findWindow(filter: WindowFilter): Promise; /** @@ -3684,7 +3668,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ waitForComponent(on: On, time: number): Promise; @@ -3697,9 +3681,8 @@ declare class Driver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ waitForComponent(on: On, time: int): Promise; /** @@ -3735,7 +3718,7 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since 11 + * @since 11 dynamic * @test */ findComponents(on: On): Promise>; @@ -3747,9 +3730,8 @@ declare class Driver { * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest - * @since 20 + * @since 20 static * @test - * @arkts 1.2 */ findComponents(on: On): Promise | null>; /** @@ -3788,9 +3770,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ assertComponentExist(on: On): Promise; @@ -3821,9 +3803,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ pressBack(): Promise; @@ -3836,9 +3818,8 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ pressBack(displayId: int): Promise; @@ -3863,9 +3844,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ triggerKey(keyCode: int): Promise; @@ -3879,9 +3860,8 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ triggerKey(keyCode: int, displayId: int): Promise; @@ -3910,9 +3890,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ triggerCombineKeys(key0: int, key1: int, key2?: int): Promise; @@ -3928,7 +3908,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ triggerCombineKeys(key0: number, key1: number, key2?: number, displayId?: number): Promise; @@ -3969,9 +3949,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ click(x: int, y: int): Promise; @@ -4011,9 +3991,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ doubleClick(x: int, y: int): Promise; @@ -4053,9 +4033,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ longClick(x: int, y: int): Promise; @@ -4104,9 +4084,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ swipe(startx: int, starty: int, endx: int, endy: int, speed?: int): Promise; @@ -4138,9 +4118,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ drag(startx: int, starty: int, endx: int, endy: int, speed?: int): Promise; @@ -4153,7 +4133,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ clickAt(point: Point): Promise; @@ -4167,7 +4147,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ doubleClickAt(point: Point): Promise; @@ -4182,7 +4162,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ longClickAt(point: Point, duration?: number): Promise; @@ -4198,7 +4178,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ swipeBetween(from: Point, to: Point, speed?: number): Promise; @@ -4215,7 +4195,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ dragBetween(from: Point, to: Point, speed?: number, duration?: number): Promise; @@ -4240,9 +4220,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ screenCap(savePath: string): Promise; @@ -4256,7 +4236,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ screenCap(savePath: string, displayId: number): Promise; @@ -4281,9 +4261,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ setDisplayRotation(rotation: DisplayRotation): Promise; @@ -4303,9 +4283,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getDisplayRotation(): Promise; @@ -4318,7 +4298,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getDisplayRotation(displayId: number): Promise; @@ -4343,9 +4323,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ setDisplayRotationEnabled(enabled: boolean): Promise; @@ -4365,9 +4345,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getDisplaySize(): Promise; @@ -4380,9 +4360,8 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ getDisplaySize(displayId: int): Promise; @@ -4402,9 +4381,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getDisplayDensity(): Promise; @@ -4417,7 +4396,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getDisplayDensity(displayId: number): Promise; @@ -4438,9 +4417,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ wakeUpDisplay(): Promise; @@ -4460,9 +4439,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ pressHome(): Promise; @@ -4475,9 +4454,8 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ pressHome(displayId: int): Promise; @@ -4503,9 +4481,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ waitForIdle(idleTime: int, timeout: int): Promise; @@ -4551,9 +4529,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ fling(from: Point, to: Point, stepLen: int, speed: int): Promise; @@ -4580,9 +4558,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ injectMultiPointerAction(pointers: PointerMatrix, speed?: int): Promise; @@ -4622,9 +4600,9 @@ declare class Driver { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'12','1.2':'20'} + * @since 12 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ fling(direction: UiDirection, speed: int): Promise; @@ -4639,9 +4617,8 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ fling(direction: UiDirection, speed: int, displayId: int): Promise; @@ -4671,9 +4648,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseClick(p: Point, btnId: MouseButton, key1?: int, key2?: int): Promise; @@ -4697,9 +4674,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseMoveTo(p: Point): Promise; @@ -4750,9 +4727,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseScroll(p: Point, down: boolean, d: int, key1?: int, key2?: int, speed?: int): Promise; @@ -4778,9 +4755,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ screenCapture(savePath: string, rect?: Rect): Promise; @@ -4800,9 +4777,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ createUIEventObserver(): UIEventObserver; @@ -4818,9 +4795,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseDoubleClick(p: Point, btnId: MouseButton, key1?: int, key2?: int): Promise; @@ -4836,9 +4813,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseLongClick(p: Point, btnId: MouseButton, key1?: int, key2?: int): Promise; @@ -4855,7 +4832,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ mouseLongClick(p: Point, btnId: MouseButton, key1?: number, key2?: number, duration?: number): Promise; @@ -4871,9 +4848,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseMoveWithTrack(from: Point, to: Point, speed?: int): Promise; @@ -4888,9 +4865,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ mouseDrag(from: Point, to: Point, speed?: int): Promise; @@ -4906,7 +4883,7 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ mouseDrag(from: Point, to: Point, speed?: number, duration?: number): Promise; @@ -4921,9 +4898,9 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ inputText(p: Point, text: string): Promise; @@ -4939,9 +4916,8 @@ declare class Driver { * @throws { BusinessError } 17000002 - The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'20','1.2':'20'} + * @since 20 dynamic&static * @test - * @arkts 1.1&1.2 */ inputText(p: Point, text: string, mode: InputTextMode): Promise; @@ -4956,9 +4932,9 @@ declare class Driver { * @throws { BusinessError } 17000005 This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ touchPadMultiFingerSwipe(fingers: int, direction: UiDirection, options?: TouchPadSwipeOptions): Promise; @@ -4970,9 +4946,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ penClick(point: Point): Promise; @@ -4985,9 +4961,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ penLongClick(point: Point, pressure?: double): Promise; @@ -4999,9 +4975,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ penDoubleClick(point: Point): Promise; @@ -5016,9 +4992,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ penSwipe(startPoint: Point, endPoint: Point, speed?: int, pressure?: double): Promise; @@ -5032,9 +5008,9 @@ declare class Driver { * @throws { BusinessError } 17000002 The async function is not called with await. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'18','1.2':'20'} + * @since 18 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ injectPenPointerAction(pointers: PointerMatrix, speed?: int, pressure?: double): Promise; @@ -5049,7 +5025,7 @@ declare class Driver { * @throws { BusinessError } 17000007 - Parameter verification failed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ crownRotate(d: number, speed?: number): Promise; @@ -5065,9 +5041,9 @@ declare class Driver { * * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare class UiWindow { /** @@ -5088,9 +5064,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getBundleName(): Promise; @@ -5113,9 +5089,9 @@ declare class UiWindow { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getBounds(): Promise; @@ -5137,9 +5113,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getTitle(): Promise; @@ -5161,9 +5137,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ getWindowMode(): Promise; @@ -5185,9 +5161,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isFocused(): Promise; @@ -5208,7 +5184,7 @@ declare class UiWindow { * @throws { BusinessError } 17000002 - The async function is not called with await. * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest - * @since 11 + * @since 11 dynamiconly * @deprecated since 11 * @useinstead ohos.UiTest.UiWindow#isActive * @test @@ -5233,9 +5209,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ focus(): Promise; @@ -5265,9 +5241,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ moveTo(x: int, y: int): Promise; @@ -5299,9 +5275,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ resize(wide: int, height: int, direction: ResizeDirection): Promise; @@ -5325,9 +5301,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ split(): Promise; @@ -5351,9 +5327,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ maximize(): Promise; @@ -5377,9 +5353,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ minimize(): Promise; @@ -5403,9 +5379,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ resume(): Promise; @@ -5429,9 +5405,9 @@ declare class UiWindow { * @throws { BusinessError } 17000005 - This operation is not supported. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ close(): Promise; @@ -5443,9 +5419,9 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ isActive(): Promise; @@ -5457,7 +5433,7 @@ declare class UiWindow { * @throws { BusinessError } 17000004 - The window or component is invisible or destroyed. * @syscap SystemCapability.Test.UiTest * @atomicservice - * @since 20 + * @since 20 dynamic * @test */ getDisplayId(): Promise; @@ -5478,9 +5454,9 @@ declare class UiWindow { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare class PointerMatrix { /** @@ -5504,9 +5480,9 @@ declare class PointerMatrix { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ static create(fingers: int, steps: int): PointerMatrix; @@ -5531,9 +5507,9 @@ declare class PointerMatrix { * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ setPoint(finger: int, step: int, point: Point): void; } @@ -5542,7 +5518,7 @@ declare class PointerMatrix { * The static builder for building {@link By}object conveniently,usage example:BY.text('txt').enabled(true). * * @syscap SystemCapability.Test.UiTest - * @since 8 + * @since 8 dynamiconly * @deprecated since 9 * @useinstead ohos.uitest.ON * @test @@ -5562,13 +5538,13 @@ declare const BY: By; * @syscap SystemCapability.Test.UiTest * @crossplatform * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} + * @since 11 dynamic + * @since 20 static * @test - * @arkts 1.1&1.2 */ declare const ON: On; - /*** if arkts 1.1 */ + /*** if arkts dynamic */ export { UiComponent, UiDriver, -- Gitee