mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-12-12 18:18:03 +00:00
无障碍接口增加systemapi权限
Signed-off-by: lsl <lanshulei@huawei.com>
This commit is contained in:
parent
d40527e5dd
commit
21c5ec1cd1
@ -366,6 +366,7 @@ declare interface AccessibilityElement {
|
||||
*
|
||||
* @param { AsyncCallback<number> } callback Indicates the listener.
|
||||
* @syscap SystemCapability.BarrierFree.Accessibility.Core
|
||||
* @systemapi
|
||||
* @since 12
|
||||
*/
|
||||
getCursorPosition(callback: AsyncCallback<number>): void;
|
||||
@ -375,6 +376,7 @@ declare interface AccessibilityElement {
|
||||
*
|
||||
* @returns { Promise<number> }
|
||||
* @syscap SystemCapability.BarrierFree.Accessibility.Core
|
||||
* @systemapi
|
||||
* @since 12
|
||||
*/
|
||||
getCursorPosition(): Promise<number>;
|
||||
@ -495,6 +497,7 @@ declare interface AccessibilityElement {
|
||||
* 2. Incorrect parameter types;
|
||||
* 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.BarrierFree.Accessibility.Core
|
||||
* @systemapi
|
||||
* @since 12
|
||||
*/
|
||||
findElement(type: 'textType', condition: string): Promise<Array<AccessibilityElement>>;
|
||||
@ -510,6 +513,7 @@ declare interface AccessibilityElement {
|
||||
* 2. Incorrect parameter types;
|
||||
* 3. Parameter verification failed.
|
||||
* @syscap SystemCapability.BarrierFree.Accessibility.Core
|
||||
* @systemapi
|
||||
* @since 12
|
||||
*/
|
||||
findElement(type: 'elementId', condition: number): Promise<AccessibilityElement>;
|
||||
|
Loading…
Reference in New Issue
Block a user