Change Type | Old Version | New Version | d.ts File |
---|---|---|---|
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 |
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: 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 changed | Class name: config; Method or attribute name: function enableAbility( name: string, capability: Array<accessibility.Capability>, callback: AsyncCallback<void> ): void; Old version information: 201,401, 9300001,9300002 |
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 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, callback: AsyncCallback<void>): void;; Old version information: 201,401, 9300001 |
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 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, callback: AsyncCallback<void>): void; Old version information: 201,401 |
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 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, callback: AsyncCallback<AccessibilityElement>): void;; Old version information: 9300003 |
Class name: AccessibilityExtensionContext; Method or attribute name: getFocusElement(isAccessibilityFocus: boolean, callback: AsyncCallback<AccessibilityElement>): void;; New version information: 401, 9300003 |
AccessibilityExtensionContext.d.ts |
Error code changed | Class name: AccessibilityExtensionContext; Method or attribute name: getFocusElement(callback: AsyncCallback<AccessibilityElement>): void;; Old version information: 9300003 |
Class name: AccessibilityExtensionContext; Method or attribute name: getFocusElement(callback: AsyncCallback<AccessibilityElement>): void;; New version information: 401, 9300003 |
AccessibilityExtensionContext.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, callback: AsyncCallback<AccessibilityElement>): void;; Old version information: 9300003 |
Class name: AccessibilityExtensionContext; Method or attribute name: getWindowRootElement(windowId: number, callback: AsyncCallback<AccessibilityElement>): void;; New version information: 401, 9300003 |
AccessibilityExtensionContext.d.ts |
Error code changed | Class name: AccessibilityExtensionContext; Method or attribute name: getWindowRootElement(callback: AsyncCallback<AccessibilityElement>): void;; Old version information: 9300003 |
Class name: AccessibilityExtensionContext; Method or attribute name: getWindowRootElement(callback: AsyncCallback<AccessibilityElement>): void;; 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 |
Error code changed | Class name: AccessibilityExtensionContext; Method or attribute name: getWindows(callback: AsyncCallback<Array<AccessibilityElement>>): void;; Old version information: 9300003 |
Class name: AccessibilityExtensionContext; Method or attribute name: getWindows(callback: AsyncCallback<Array<AccessibilityElement>>): void;; New version information: 401, 9300003 |
AccessibilityExtensionContext.d.ts |
Error code changed | Class name: AccessibilityExtensionContext; Method or attribute name: getWindows(displayId: number, callback: AsyncCallback<Array<AccessibilityElement>>): void;; Old version information: 9300003 |
Class name: AccessibilityExtensionContext; Method or attribute name: getWindows(displayId: number, callback: AsyncCallback<Array<AccessibilityElement>>): void;; New version information: 401, 9300003 |
AccessibilityExtensionContext.d.ts |