harmony 鸿蒙js-apidiff-accessibility

  • 2023-10-30
  • 浏览 (192)

Change Type Old Version New Version d.ts File
Added NA Class name: accessibility;
Method or attribute name: function isOpenAccessibilitySync(): boolean;
@ohos.accessibility.d.ts
Added NA Class name: accessibility;
Method or attribute name: function isOpenTouchGuideSync(): boolean;
@ohos.accessibility.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type AccessibilityElement = _AccessibilityElement;
@ohos.application.AccessibilityExtensionAbility.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type ElementAttributeValues = _ElementAttributeValues;
@ohos.application.AccessibilityExtensionAbility.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type FocusDirection = _FocusDirection;
@ohos.application.AccessibilityExtensionAbility.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type ElementAttributeKeys = keyof ElementAttributeValues;
@ohos.application.AccessibilityExtensionAbility.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type FocusType = _FocusType;
@ohos.application.AccessibilityExtensionAbility.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type WindowType = _WindowType;
@ohos.application.AccessibilityExtensionAbility.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type Rect = _Rect;
@ohos.application.AccessibilityExtensionAbility.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type AccessibilityExtensionContext = _AccessibilityExtensionContext.default;
@ohos.application.AccessibilityExtensionAbility.d.ts
Added NA Class name: AccessibilityExtensionContext;
Method or attribute name: injectGestureSync(gesturePath: GesturePath): void;
AccessibilityExtensionContext.d.ts
Deprecated version changed Class name: accessibility;
Method or attribute name: function isOpenAccessibility(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: accessibility;
Method or attribute name: function isOpenAccessibility(callback: AsyncCallback<boolean>): void;
New version information: 10
Substitute API: ohos.accessibility#isOpenAccessibilitySync
@ohos.accessibility.d.ts
Deprecated version changed Class name: accessibility;
Method or attribute name: function isOpenAccessibility(): Promise<boolean>;
Old version information:
Class name: accessibility;
Method or attribute name: function isOpenAccessibility(): Promise<boolean>;
New version information: 10
Substitute API: ohos.accessibility#isOpenAccessibilitySync
@ohos.accessibility.d.ts
Deprecated version changed Class name: accessibility;
Method or attribute name: function isOpenTouchGuide(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: accessibility;
Method or attribute name: function isOpenTouchGuide(callback: AsyncCallback<boolean>): void;
New version information: 10
Substitute API: ohos.accessibility#isOpenTouchGuideSync
@ohos.accessibility.d.ts
Deprecated version changed Class name: accessibility;
Method or attribute name: function isOpenTouchGuide(): Promise<boolean>;
Old version information:
Class name: accessibility;
Method or attribute name: function isOpenTouchGuide(): Promise<boolean>;
New version information: 10
Substitute API: ohos.accessibility#isOpenTouchGuideSync
@ohos.accessibility.d.ts
Deprecated version changed Class name: accessibility;
Method or attribute name: function getAbilityLists(abilityType: AbilityType, stateType: AbilityState): Promise<Array<AccessibilityAbilityInfo>>;
Old version information:
Class name: accessibility;
Method or attribute name: function getAbilityLists(abilityType: AbilityType, stateType: AbilityState): Promise<Array<AccessibilityAbilityInfo>>;
New version information: 9
Substitute API: ohos.accessibility#getAccessibilityExtensionList
@ohos.accessibility.d.ts
Deprecated version changed Class name: accessibility;
Method or attribute name: function sendEvent(event: EventInfo): Promise<void>;
Old version information:
Class name: accessibility;
Method or attribute name: function sendEvent(event: EventInfo): Promise<void>;
New version information: 9
Substitute API: ohos.accessibility#sendAccessibilityEvent
@ohos.accessibility.d.ts
Deprecated version changed Class name: AccessibilityExtensionContext;
Method or attribute name: injectGesture(gesturePath: GesturePath): Promise<void>;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: injectGesture(gesturePath: GesturePath): Promise<void>;
New version information: 10
Substitute API: AccessibilityExtensionContext/AccessibilityExtensionContext#injectGestureSync
AccessibilityExtensionContext.d.ts
Deprecated version changed Class name: AccessibilityExtensionContext;
Method or attribute name: injectGesture(gesturePath: GesturePath, callback: AsyncCallback<void>): void;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: injectGesture(gesturePath: GesturePath, callback: AsyncCallback<void>): void;
New version information: 10
Substitute API: AccessibilityExtensionContext/AccessibilityExtensionContext#injectGestureSync
AccessibilityExtensionContext.d.ts
Error code added Class name: config;
Method or attribute name: function enableAbility(
name: string,
capability: Array<accessibility.Capability>,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: config;
Method or attribute name: function enableAbility(
name: string,
capability: Array<accessibility.Capability>,
callback: AsyncCallback<void>
): void;
New version information: 201,202,401,9300001,9300002
@ohos.accessibility.config.d.ts
Error code added Class name: config;
Method or attribute name: function disableAbility(name: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: config;
Method or attribute name: function disableAbility(name: string, callback: AsyncCallback<void>): void;
New version information: 201,202,401,9300001
@ohos.accessibility.config.d.ts
Error code added Class name: Config;
Method or attribute name: set(value: T, callback: AsyncCallback<void>): void;
Old version information:
Class name: Config;
Method or attribute name: set(value: T, callback: AsyncCallback<void>): void;
New version information: 201,202,401
@ohos.accessibility.config.d.ts
Error code added Class name: Config;
Method or attribute name: get(): Promise<T>;
Old version information:
Class name: Config;
Method or attribute name: get(): Promise<T>;
New version information: 201,202
@ohos.accessibility.config.d.ts
Error code added Class name: Config;
Method or attribute name: get(callback: AsyncCallback<T>): void;
Old version information:
Class name: Config;
Method or attribute name: get(callback: AsyncCallback<T>): void;
New version information: 201,202
@ohos.accessibility.config.d.ts
Error code added Class name: Config;
Method or attribute name: off(callback?: Callback<T>): void;
Old version information:
Class name: Config;
Method or attribute name: off(callback?: Callback<T>): void;
New version information: 202
@ohos.accessibility.config.d.ts
Error code added Class name: accessibility;
Method or attribute name: function getAccessibilityExtensionList(

abilityType: AbilityType,

stateType: AbilityState,

callback: AsyncCallback<Array<AccessibilityAbilityInfo>>

): void;
Old version information:
Class name: accessibility;
Method or attribute name: function getAccessibilityExtensionList(

abilityType: AbilityType,

stateType: AbilityState,

callback: AsyncCallback<Array<AccessibilityAbilityInfo>>

): void;
New version information: 401
@ohos.accessibility.d.ts
Error code added Class name: accessibility;
Method or attribute name: function sendAccessibilityEvent(event: EventInfo): Promise<void>;
Old version information:
Class name: accessibility;
Method or attribute name: function sendAccessibilityEvent(event: EventInfo): Promise<void>;
New version information: 401
@ohos.accessibility.d.ts
Error code added Class name: AccessibilityExtensionContext;
Method or attribute name: setTargetBundleName(targetNames: Array<string>, callback: AsyncCallback<void>): void;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: setTargetBundleName(targetNames: Array<string>, callback: AsyncCallback<void>): void;
New version information: 401
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityExtensionContext;
Method or attribute name: getFocusElement(callback: AsyncCallback<AccessibilityElement>): void;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: getFocusElement(callback: AsyncCallback<AccessibilityElement>): void;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityExtensionContext;
Method or attribute name: getFocusElement(isAccessibilityFocus: boolean, callback: AsyncCallback<AccessibilityElement>): void;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: getFocusElement(isAccessibilityFocus: boolean, callback: AsyncCallback<AccessibilityElement>): void;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityExtensionContext;
Method or attribute name: getWindowRootElement(callback: AsyncCallback<AccessibilityElement>): void;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: getWindowRootElement(callback: AsyncCallback<AccessibilityElement>): void;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityExtensionContext;
Method or attribute name: getWindowRootElement(windowId: number, callback: AsyncCallback<AccessibilityElement>): void;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: getWindowRootElement(windowId: number, callback: AsyncCallback<AccessibilityElement>): void;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityExtensionContext;
Method or attribute name: getWindows(callback: AsyncCallback<Array<AccessibilityElement>>): void;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: getWindows(callback: AsyncCallback<Array<AccessibilityElement>>): void;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityExtensionContext;
Method or attribute name: getWindows(displayId: number, callback: AsyncCallback<Array<AccessibilityElement>>): void;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: getWindows(displayId: number, callback: AsyncCallback<Array<AccessibilityElement>>): void;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityExtensionContext;
Method or attribute name: injectGesture(gesturePath: GesturePath, callback: AsyncCallback<void>): void;
Old version information:
Class name: AccessibilityExtensionContext;
Method or attribute name: injectGesture(gesturePath: GesturePath, callback: AsyncCallback<void>): void;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityElement;
Method or attribute name: attributeValue<T extends keyof ElementAttributeValues>(
attributeName: T,
callback: AsyncCallback<ElementAttributeValues[T]>
): void;
Old version information:
Class name: AccessibilityElement;
Method or attribute name: attributeValue<T extends keyof ElementAttributeValues>(
attributeName: T,
callback: AsyncCallback<ElementAttributeValues[T]>
): void;
New version information: 401,9300004
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityElement;
Method or attribute name: performAction(actionName: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: AccessibilityElement;
Method or attribute name: performAction(actionName: string, callback: AsyncCallback<void>): void;
New version information: 401,9300005
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityElement;
Method or attribute name: performAction(actionName: string, parameters: object, callback: AsyncCallback<void>): void;
Old version information:
Class name: AccessibilityElement;
Method or attribute name: performAction(actionName: string, parameters: object, callback: AsyncCallback<void>): void;
New version information: 401,9300005
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityElement;
Method or attribute name: findElement(type: ‘content’, condition: string, callback: AsyncCallback<Array<AccessibilityElement>>): void;
Old version information:
Class name: AccessibilityElement;
Method or attribute name: findElement(type: ‘content’, condition: string, callback: AsyncCallback<Array<AccessibilityElement>>): void;
New version information: 401
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityElement;
Method or attribute name: findElement(type: ‘focusType’, condition: FocusType, callback: AsyncCallback<AccessibilityElement>): void;
Old version information:
Class name: AccessibilityElement;
Method or attribute name: findElement(type: ‘focusType’, condition: FocusType, callback: AsyncCallback<AccessibilityElement>): void;
New version information: 401
AccessibilityExtensionContext.d.ts
Error code added Class name: AccessibilityElement;
Method or attribute name: findElement(type: ‘focusDirection’, condition: FocusDirection, callback: AsyncCallback<AccessibilityElement>): void;
Old version information:
Class name: AccessibilityElement;
Method or attribute name: findElement(type: ‘focusDirection’, condition: FocusDirection, callback: AsyncCallback<AccessibilityElement>): void;
New version information: 401
AccessibilityExtensionContext.d.ts
Error code changed Class name: config;
Method or attribute name: function enableAbility(name: string, capability: Array<accessibility.Capability>): Promise<void>;
Old version information: 201,401,9300001,9300002
Class name: config;
Method or attribute name: function enableAbility(name: string, capability: Array<accessibility.Capability>): Promise<void>;
New version information: 201,202,401,9300001,9300002
@ohos.accessibility.config.d.ts
Error code changed Class name: config;
Method or attribute name: function disableAbility(name: string): Promise<void>;
Old version information: 201,401,9300001
Class name: config;
Method or attribute name: function disableAbility(name: string): Promise<void>;
New version information: 201,202,401,9300001
@ohos.accessibility.config.d.ts
Error code changed Class name: config;
Method or attribute name: function on(type: ‘enabledAccessibilityExtensionListChange’, callback: Callback<void>): void;
Old version information: 401
Class name: config;
Method or attribute name: function on(type: ‘enabledAccessibilityExtensionListChange’, callback: Callback<void>): void;
New version information: 202,401
@ohos.accessibility.config.d.ts
Error code changed Class name: config;
Method or attribute name: function off(type: ‘enabledAccessibilityExtensionListChange’, callback?: Callback<void>): void;
Old version information: 401
Class name: config;
Method or attribute name: function off(type: ‘enabledAccessibilityExtensionListChange’, callback?: Callback<void>): void;
New version information: 202,401
@ohos.accessibility.config.d.ts
Error code changed Class name: Config;
Method or attribute name: set(value: T): Promise<void>;
Old version information: 201,401
Class name: Config;
Method or attribute name: set(value: T): Promise<void>;
New version information: 201,202,401
@ohos.accessibility.config.d.ts
Error code changed Class name: Config;
Method or attribute name: on(callback: Callback<T>): void;
Old version information: 401
Class name: Config;
Method or attribute name: on(callback: Callback<T>): void;
New version information: 201,202,401
@ohos.accessibility.config.d.ts
Error code changed Class name: AccessibilityExtensionContext;
Method or attribute name: getFocusElement(isAccessibilityFocus?: boolean): Promise<AccessibilityElement>;
Old version information: 9300003
Class name: AccessibilityExtensionContext;
Method or attribute name: getFocusElement(isAccessibilityFocus?: boolean): Promise<AccessibilityElement>;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Error code changed Class name: AccessibilityExtensionContext;
Method or attribute name: getWindowRootElement(windowId?: number): Promise<AccessibilityElement>;
Old version information: 9300003
Class name: AccessibilityExtensionContext;
Method or attribute name: getWindowRootElement(windowId?: number): Promise<AccessibilityElement>;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Error code changed Class name: AccessibilityExtensionContext;
Method or attribute name: getWindows(displayId?: number): Promise<Array<AccessibilityElement>>;
Old version information: 9300003
Class name: AccessibilityExtensionContext;
Method or attribute name: getWindows(displayId?: number): Promise<Array<AccessibilityElement>>;
New version information: 401,9300003
AccessibilityExtensionContext.d.ts
Access level changed Class name: config;
Method or attribute name: function enableAbility(name: string, capability: Array<accessibility.Capability>): Promise<void>;
Old version information:
Class name: config;
Method or attribute name: function enableAbility(name: string, capability: Array<accessibility.Capability>): Promise<void>;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: config;
Method or attribute name: function enableAbility(
name: string,
capability: Array<accessibility.Capability>,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: config;
Method or attribute name: function enableAbility(
name: string,
capability: Array<accessibility.Capability>,
callback: AsyncCallback<void>
): void;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: config;
Method or attribute name: function disableAbility(name: string): Promise<void>;
Old version information:
Class name: config;
Method or attribute name: function disableAbility(name: string): Promise<void>;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: config;
Method or attribute name: function disableAbility(name: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: config;
Method or attribute name: function disableAbility(name: string, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: config;
Method or attribute name: function on(type: ‘enabledAccessibilityExtensionListChange’, callback: Callback<void>): void;
Old version information:
Class name: config;
Method or attribute name: function on(type: ‘enabledAccessibilityExtensionListChange’, callback: Callback<void>): void;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: config;
Method or attribute name: function off(type: ‘enabledAccessibilityExtensionListChange’, callback?: Callback<void>): void;
Old version information:
Class name: config;
Method or attribute name: function off(type: ‘enabledAccessibilityExtensionListChange’, callback?: Callback<void>): void;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: config;
Method or attribute name: type DaltonizationColorFilter = ‘Normal’ |‘Protanomaly’ |‘Deuteranomaly’ |‘Tritanomaly’;
Old version information:
Class name: config;
Method or attribute name: type DaltonizationColorFilter = ‘Normal’ |‘Protanomaly’ |‘Deuteranomaly’ |‘Tritanomaly’;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: Config;
Method or attribute name: interface Config
Old version information:
Class name: Config;
Method or attribute name: interface Config
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: Config;
Method or attribute name: set(value: T): Promise<void>;
Old version information:
Class name: Config;
Method or attribute name: set(value: T): Promise<void>;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: Config;
Method or attribute name: set(value: T, callback: AsyncCallback<void>): void;
Old version information:
Class name: Config;
Method or attribute name: set(value: T, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: Config;
Method or attribute name: get(): Promise<T>;
Old version information:
Class name: Config;
Method or attribute name: get(): Promise<T>;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: Config;
Method or attribute name: get(callback: AsyncCallback<T>): void;
Old version information:
Class name: Config;
Method or attribute name: get(callback: AsyncCallback<T>): void;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: Config;
Method or attribute name: on(callback: Callback<T>): void;
Old version information:
Class name: Config;
Method or attribute name: on(callback: Callback<T>): void;
New version information: systemapi
@ohos.accessibility.config.d.ts
Access level changed Class name: Config;
Method or attribute name: off(callback?: Callback<T>): void;
Old version information:
Class name: Config;
Method or attribute name: off(callback?: Callback<T>): void;
New version information: systemapi
@ohos.accessibility.config.d.ts
Type changed Class name: accessibility;
Method or attribute name: type AbilityType = ‘audible’ |‘generic’ |‘haptic’ |‘spoken’ |‘visual’ |‘all’;
Old version information: ‘audible’ |‘generic’ |‘haptic’ |‘spoken’ |‘visual’ |‘all’
Class name: accessibility;
Method or attribute name: type AbilityType = ‘audible’ |‘generic’ |‘haptic’ |‘spoken’ |‘visual’ |‘all’;
New version information:
@ohos.accessibility.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-ai

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-customization

0  赞