提交 22e59c48 编写于 作者: G Gloria

Update docs against 14688+15278

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 be46489b
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Module name: ohos.account.osAccount<br>Class name: InputerManager|@ohos.account.osAccount.d.ts|
|Added|NA|Module name: ohos.account.osAccount<br>Class name: InputerManager<br>Method or attribute name: static registerInputer(authType: AuthType, inputer: IInputer): void;|@ohos.account.osAccount.d.ts|
|Added|NA|Module name: ohos.account.osAccount<br>Class name: InputerManager<br>Method or attribute name: static unregisterInputer(authType: AuthType): void;|@ohos.account.osAccount.d.ts|
|Added|NA|Module name: ohos.account.osAccount<br>Class name: DomainPlugin|@ohos.account.osAccount.d.ts|
|Added|NA|Module name: ohos.account.osAccount<br>Class name: DomainPlugin<br>Method or attribute name: auth(domainAccountInfo: DomainAccountInfo, credential: Uint8Array, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
|Added|NA|Module name: ohos.account.osAccount<br>Class name: DomainAccountManager|@ohos.account.osAccount.d.ts|
|Added|NA|Module name: ohos.account.osAccount<br>Class name: DomainAccountManager<br>Method or attribute name: static registerPlugin(plugin: DomainPlugin): void;|@ohos.account.osAccount.d.ts|
|Added|NA|Module name: ohos.account.osAccount<br>Class name: DomainAccountManager<br>Method or attribute name: static unregisterPlugin(): void;|@ohos.account.osAccount.d.ts|
|Added|NA|Module name: ohos.account.osAccount<br>Class name: AuthType<br>Method or attribute name: DOMAIN = 1024|@ohos.account.osAccount.d.ts|
|Added|NA|Module name: ohos.account.osAccount<br>Class name: AuthSubType<br>Method or attribute name: DOMAIN_MIXED = 10240001|@ohos.account.osAccount.d.ts|
|Permission deleted|Class name: AppAccountManager<br>Method or attribute name: getAllAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void;<br>Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManager<br>Method or attribute name: getAllAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void;<br>Permission: N/A|@ohos.account.appAccount.d.ts|
|Permission deleted|Class name: AppAccountManager<br>Method or attribute name: getAllAccounts(): Promise<Array<AppAccountInfo>>;<br>Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManager<br>Method or attribute name: getAllAccounts(): Promise<Array<AppAccountInfo>>;<br>Permission: N/A|@ohos.account.appAccount.d.ts|
|Permission deleted|Class name: AppAccountManager<br>Method or attribute name: getAccountsByOwner(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): void;<br>Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManager<br>Method or attribute name: getAccountsByOwner(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): void;<br>Permission: N/A|@ohos.account.appAccount.d.ts|
|Permission deleted|Class name: AppAccountManager<br>Method or attribute name: getAccountsByOwner(owner: string): Promise<Array<AppAccountInfo>>;<br>Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManager<br>Method or attribute name: getAccountsByOwner(owner: string): Promise<Array<AppAccountInfo>>;<br>Permission: N/A|@ohos.account.appAccount.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Model changed|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>Model: N/A|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
|Model changed|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Model: N/A|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
|Model changed|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>Model: N/A|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
|Model changed|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>Model: N/A|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
|Model changed|Class name: settings<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>Model: N/A|Class name: settings<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
|Model changed|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Model: N/A|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings<br>Method or attribute name: function getURI(name: string, callback: AsyncCallback<object>): void;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getURI(name: string, callback: AsyncCallback<object>): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings<br>Method or attribute name: function getURI(name: string): Promise<object>;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getURI(name: string): Promise<object>;<br>Deprecated version: 9|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Deprecated version: 9|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>Deprecated version: 9|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
|Deprecated version changed|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
|Permission added|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Permission: N/A|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Permission: ohos.permission.MANAGE_SECURE_SETTINGS|@ohos.settings.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Permission deleted|Class name: power<br>Method or attribute name: function getPowerMode(): DevicePowerMode;<br>Permission: ohos.permission.POWER_OPTIMIZATION|Class name: power<br>Method or attribute name: function getPowerMode(): DevicePowerMode;<br>Permission: N/A|@ohos.power.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Module name: ohos.bundle.distributedBundleManager<br>Class name: distributedBundleManager|@ohos.bundle.distributedBundleManager.d.ts|
|Added|NA|Module name: ohos.bundle.distributedBundleManager<br>Class name: distributedBundleManager<br>Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, callback: AsyncCallback<RemoteAbilityInfo>): void;|@ohos.bundle.distributedBundleManager.d.ts|
|Added|NA|Module name: ohos.bundle.distributedBundleManager<br>Class name: distributedBundleManager<br>Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName): Promise<RemoteAbilityInfo>;|@ohos.bundle.distributedBundleManager.d.ts|
|Added|NA|Module name: ohos.bundle.distributedBundleManager<br>Class name: distributedBundleManager<br>Method or attribute name: function getRemoteAbilityInfo(elementNames: Array<ElementName>, callback: AsyncCallback<Array<RemoteAbilityInfo>>): void;|@ohos.bundle.distributedBundleManager.d.ts|
|Added|NA|Module name: ohos.bundle.distributedBundleManager<br>Class name: distributedBundleManager<br>Method or attribute name: function getRemoteAbilityInfo(elementNames: Array<ElementName>): Promise<Array<RemoteAbilityInfo>>;|@ohos.bundle.distributedBundleManager.d.ts|
|Added|NA|Module name: ohos.bundle.distributedBundleManager<br>Class name: distributedBundleManager<br>Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, locale: string, callback: AsyncCallback<RemoteAbilityInfo>): void;|@ohos.bundle.distributedBundleManager.d.ts|
|Added|NA|Module name: ohos.bundle.distributedBundleManager<br>Class name: distributedBundleManager<br>Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, locale: string): Promise<RemoteAbilityInfo>;|@ohos.bundle.distributedBundleManager.d.ts|
|Added|NA|Module name: ohos.bundle.distributedBundleManager<br>Class name: distributedBundleManager<br>Method or attribute name: function getRemoteAbilityInfo(elementNames: Array<ElementName>, locale: string, callback: AsyncCallback<Array<RemoteAbilityInfo>>): void;|@ohos.bundle.distributedBundleManager.d.ts|
|Added|NA|Module name: ohos.bundle.distributedBundleManager<br>Class name: distributedBundleManager<br>Method or attribute name: function getRemoteAbilityInfo(elementNames: Array<ElementName>, locale: string): Promise<Array<RemoteAbilityInfo>>;|@ohos.bundle.distributedBundleManager.d.ts|
|Added|NA|Class name: BundleInstaller<br>Method or attribute name: install(hapFilePaths: Array<string>, installParam?: InstallParam) : Promise<void>;|@ohos.bundle.installer.d.ts|
|Added|NA|Class name: BundleInstaller<br>Method or attribute name: uninstall(bundleName: string, installParam?: InstallParam) : Promise<void>;|@ohos.bundle.installer.d.ts|
|Added|NA|Class name: BundleInstaller<br>Method or attribute name: recover(bundleName: string, installParam?: InstallParam) : Promise<void>;|@ohos.bundle.installer.d.ts|
|Deleted|Module name: ohos.bundle.distributedBundle<br>Class name: distributedBundle|NA|@ohos.bundle.distributedBundle.d.ts|
|Deleted|Module name: ohos.bundle.distributedBundle<br>Class name: distributedBundle<br>Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, callback: AsyncCallback<RemoteAbilityInfo>): void;|NA|@ohos.bundle.distributedBundle.d.ts|
|Deleted|Module name: ohos.bundle.distributedBundle<br>Class name: distributedBundle<br>Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName): Promise<RemoteAbilityInfo>;|NA|@ohos.bundle.distributedBundle.d.ts|
|Deleted|Module name: ohos.bundle.distributedBundle<br>Class name: distributedBundle<br>Method or attribute name: function getRemoteAbilityInfo(elementNames: Array<ElementName>, callback: AsyncCallback<Array<RemoteAbilityInfo>>): void;|NA|@ohos.bundle.distributedBundle.d.ts|
|Deleted|Module name: ohos.bundle.distributedBundle<br>Class name: distributedBundle<br>Method or attribute name: function getRemoteAbilityInfo(elementNames: Array<ElementName>): Promise<Array<RemoteAbilityInfo>>;|NA|@ohos.bundle.distributedBundle.d.ts|
|Deleted|Module name: ohos.bundle.distributedBundle<br>Class name: distributedBundle<br>Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, locale: string, callback: AsyncCallback<RemoteAbilityInfo>): void;|NA|@ohos.bundle.distributedBundle.d.ts|
|Deleted|Module name: ohos.bundle.distributedBundle<br>Class name: distributedBundle<br>Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, locale: string): Promise<RemoteAbilityInfo>;|NA|@ohos.bundle.distributedBundle.d.ts|
|Deleted|Module name: ohos.bundle.distributedBundle<br>Class name: distributedBundle<br>Method or attribute name: function getRemoteAbilityInfo(elementNames: Array<ElementName>, locale: string, callback: AsyncCallback<Array<RemoteAbilityInfo>>): void;|NA|@ohos.bundle.distributedBundle.d.ts|
|Deleted|Module name: ohos.bundle.distributedBundle<br>Class name: distributedBundle<br>Method or attribute name: function getRemoteAbilityInfo(elementNames: Array<ElementName>, locale: string): Promise<Array<RemoteAbilityInfo>>;|NA|@ohos.bundle.distributedBundle.d.ts|
|Deleted|Module name: hapModuleInfo<br>Class name: HapModuleInfo<br>Method or attribute name: readonly moduleSourceDir: string;|NA|hapModuleInfo.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Module name: ohos.taskpool<br>Class name: taskpool|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: Priority|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: Priority<br>Method or attribute name: HIGH|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: Priority<br>Method or attribute name: MEDIUM|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: Priority<br>Method or attribute name: LOW|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: Task|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: Task<br>Method or attribute name: constructor(func: Function, ...args: unknown[]);|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: Task<br>Method or attribute name: function: Function;|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: Task<br>Method or attribute name: arguments?: unknown[];|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: taskpool<br>Method or attribute name: function execute(func: Function, ...args: unknown[]): Promise<unknown>;|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: taskpool<br>Method or attribute name: function execute(task: Task, priority?: Priority): Promise<unknown>;|@ohos.taskpool.d.ts|
|Added|NA|Module name: ohos.taskpool<br>Class name: taskpool<br>Method or attribute name: function cancel(task: Task): void;|@ohos.taskpool.d.ts|
|Added|NA|Class name: URLParams<br>Method or attribute name: constructor(init?: string[][] \| Record<string, string> \| string \| URLParams);|@ohos.url.d.ts|
|Added|NA|Class name: URL<br>Method or attribute name: readonly params: URLParams;|@ohos.url.d.ts|
|Deprecated version changed|Class name: URL<br>Method or attribute name: readonly searchParams: URLSearchParams;<br>Deprecated version: N/A|Class name: URL<br>Method or attribute name: readonly searchParams: URLSearchParams;<br>Deprecated version: 9<br>Substitute API: ohos.url.URL.params |@ohos.url.d.ts|
|Deprecated version changed|Class name: worker<br>Method or attribute name: const parentPort: DedicatedWorkerGlobalScope;<br>Deprecated version: N/A|Class name: worker<br>Method or attribute name: const parentPort: DedicatedWorkerGlobalScope;<br>Deprecated version: 9<br>Substitute API: ohos.worker.workerPort |@ohos.worker.d.ts|
|Initial version changed|Class name: URL<br>Method or attribute name: static parseURL(url: string, base?: string \| URL): URL;<br>Initial version: N/A|Class name: URL<br>Method or attribute name: static parseURL(url: string, base?: string \| URL): URL;<br>Initial version: 9|@ohos.url.d.ts|
|Initial version changed|Class name: worker<br>Method or attribute name: const parentPort: DedicatedWorkerGlobalScope;<br>Initial version: N/A|Class name: worker<br>Method or attribute name: const parentPort: DedicatedWorkerGlobalScope;<br>Initial version: 7|@ohos.worker.d.ts|
|Initial version changed|Class name: worker<br>Method or attribute name: const workerPort: ThreadWorkerGlobalScope;<br>Initial version: N/A|Class name: worker<br>Method or attribute name: const workerPort: ThreadWorkerGlobalScope;<br>Initial version: 9|@ohos.worker.d.ts|
|Function changed|Class name: DedicatedWorkerGlobalScope<br>Method or attribute name: onmessage?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent<T>) => void;<br>|Class name: DedicatedWorkerGlobalScope<br>Method or attribute name: onmessage?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;<br>|@ohos.worker.d.ts|
|Function changed|Class name: DedicatedWorkerGlobalScope<br>Method or attribute name: onmessageerror?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent<T>) => void;<br>|Class name: DedicatedWorkerGlobalScope<br>Method or attribute name: onmessageerror?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;<br>|@ohos.worker.d.ts|
|Function changed|Class name: Worker<br>Method or attribute name: onmessage?: (event: MessageEvent<T>) => void;<br>|Class name: Worker<br>Method or attribute name: onmessage?: (event: MessageEvent) => void;<br>|@ohos.worker.d.ts|
|Function changed|Class name: Worker<br>Method or attribute name: onmessageerror?: (event: MessageEvent<T>) => void;<br>|Class name: Worker<br>Method or attribute name: onmessageerror?: (event: MessageEvent) => void;<br>|@ohos.worker.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Module name: ohos.resourceManager<br>Class name: AsyncCallback|@ohos.resourceManager.d.ts|
|Added|NA|Class name: AsyncCallback<br>Method or attribute name: |@ohos.resourceManager.d.ts|
|Added|NA|Module name: ohos.resourceManager<br>Class name: AsyncCallback<br>Method or attribute name: (err: Error, data: T): void;|@ohos.resourceManager.d.ts|
|Added|NA|Class name: AsyncCallback<br>Method or attribute name: (err: Error, data: T): void;|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringValue(resource: Resource, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringValue(resource: Resource, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringValue(resId: number, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringValue(resource: Resource, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringArrayValue(resource: Resource, callback: AsyncCallback<Array<string>>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringArrayValue(resource: Resource, callback: _AsyncCallback<Array<string>>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringArrayValue(resId: number, callback: AsyncCallback<Array<string>>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringArrayValue(resource: Resource, callback: _AsyncCallback<Array<string>>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaContent(resource: Resource, callback: AsyncCallback<Uint8Array>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaContent(resource: Resource, callback: _AsyncCallback<Uint8Array>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaContent(resId: number, callback: AsyncCallback<Uint8Array>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaContent(resource: Resource, callback: _AsyncCallback<Uint8Array>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64(resource: Resource, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64(resource: Resource, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64(resId: number, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64(resource: Resource, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getDeviceCapability(callback: AsyncCallback<DeviceCapability>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getDeviceCapability(callback: _AsyncCallback<DeviceCapability>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getConfiguration(callback: AsyncCallback<Configuration>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getConfiguration(callback: _AsyncCallback<Configuration>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getPluralStringValue(resource: Resource, num: number, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getPluralStringValue(resource: Resource, num: number, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getPluralStringValue(resId: number, num: number, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getPluralStringValue(resource: Resource, num: number, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringByName(resName: string, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringByName(resName: string, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringArrayByName(resName: string, callback: AsyncCallback<Array<string>>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringArrayByName(resName: string, callback: _AsyncCallback<Array<string>>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaByName(resName: string, callback: AsyncCallback<Uint8Array>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaByName(resName: string, callback: _AsyncCallback<Uint8Array>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaBase64ByName(resName: string, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaBase64ByName(resName: string, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getPluralStringByName(resName: string, num: number, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getPluralStringByName(resName: string, num: number, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringValue(resource: Resource, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringValue(resId: number, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringValue(resId: number, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringValue(resId: number, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringArrayValue(resource: Resource, callback: AsyncCallback<Array<string>>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringArrayValue(resId: number, callback: _AsyncCallback<Array<string>>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getStringArrayValue(resId: number, callback: AsyncCallback<Array<string>>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getStringArrayValue(resId: number, callback: _AsyncCallback<Array<string>>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getPluralStringValue(resource: Resource, num: number, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getPluralStringValue(resId: number, num: number, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getPluralStringValue(resId: number, num: number, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getPluralStringValue(resId: number, num: number, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaContent(resource: Resource, callback: AsyncCallback<Uint8Array>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaContent(resId: number, callback: _AsyncCallback<Uint8Array>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaContent(resId: number, callback: AsyncCallback<Uint8Array>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaContent(resId: number, callback: _AsyncCallback<Uint8Array>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64(resource: Resource, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64(resId: number, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64(resId: number, callback: AsyncCallback<string>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64(resId: number, callback: _AsyncCallback<string>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getRawFileContent(path: string, callback: AsyncCallback<Uint8Array>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getRawFileContent(path: string, callback: _AsyncCallback<Uint8Array>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: getRawFd(path: string, callback: AsyncCallback<RawFileDescriptor>): void;<br>|Class name: ResourceManager<br>Method or attribute name: getRawFd(path: string, callback: _AsyncCallback<RawFileDescriptor>): void;<br>|@ohos.resourceManager.d.ts|
|Function changed|Class name: ResourceManager<br>Method or attribute name: closeRawFd(path: string, callback: AsyncCallback<void>): void;<br>|Class name: ResourceManager<br>Method or attribute name: closeRawFd(path: string, callback: _AsyncCallback<void>): void;<br>|@ohos.resourceManager.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Module name: ohos.commonEventManager<br>Class name: Support<br>Method or attribute name: COMMON_EVENT_USER_INFO_UPDATED = "usual.event.USER_INFO_UPDATED"|@ohos.commonEventManager.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function publishAsBundle(request: NotificationRequest, representativeBundle: string, userId: number, callback: AsyncCallback<void>): void;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function publishAsBundle(request: NotificationRequest, representativeBundle: string, userId: number): Promise<void>;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function cancelAsBundle(id: number, representativeBundle: string, userId: number, callback: AsyncCallback<void>): void;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function cancelAsBundle(id: number, representativeBundle: string, userId: number): Promise<void>;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function enableNotificationSlot(bundle: BundleOption, type: SlotType, enable: boolean, callback: AsyncCallback<void>): void;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function enableNotificationSlot(bundle: BundleOption, type: SlotType, enable: boolean): Promise<void>;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function isNotificationSlotEnabled(bundle: BundleOption, type: SlotType, callback: AsyncCallback<boolean>): void;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function isNotificationSlotEnabled(bundle: BundleOption, type: SlotType): Promise<boolean>;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean, callback: AsyncCallback<void>): void;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean): Promise<void>;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function getSyncNotificationEnabledWithoutApp(userId: number, callback: AsyncCallback<boolean>): void;|NA|@ohos.notification.d.ts|
|Deleted|Module name: ohos.notification<br>Class name: notification<br>Method or attribute name: function getSyncNotificationEnabledWithoutApp(userId: number): Promise<boolean>;|NA|@ohos.notification.d.ts|
|Initial version changed|Class name: RemoveReason<br>Initial version: 9|Class name: RemoveReason<br>Initial version: N/A|@ohos.notification.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: backgroundTaskManager<br>Method or attribute name: function applyEfficiencyResources(request: EfficiencyResourcesRequest): boolean;|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: backgroundTaskManager<br>Method or attribute name: function resetAllEfficiencyResources(): void;|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: ResourceType|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: ResourceType<br>Method or attribute name: CPU = 1|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: ResourceType<br>Method or attribute name: COMMON_EVENT = 1 << 1|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: ResourceType<br>Method or attribute name: TIMER = 1 << 2|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: ResourceType<br>Method or attribute name: WORK_SCHEDULER = 1 << 3|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: ResourceType<br>Method or attribute name: BLUETOOTH = 1 << 4|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: ResourceType<br>Method or attribute name: GPS = 1 << 5|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: ResourceType<br>Method or attribute name: AUDIO = 1 << 6|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: EfficiencyResourcesRequest|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: EfficiencyResourcesRequest<br>Method or attribute name: resourceTypes: number;|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: EfficiencyResourcesRequest<br>Method or attribute name: isApply: boolean;|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: EfficiencyResourcesRequest<br>Method or attribute name: timeOut: number;|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: EfficiencyResourcesRequest<br>Method or attribute name: isPersist?: boolean;|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: EfficiencyResourcesRequest<br>Method or attribute name: isProcess?: boolean;|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.backgroundTaskManager<br>Class name: EfficiencyResourcesRequest<br>Method or attribute name: reason: string;|NA|@ohos.backgroundTaskManager.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: workId: number;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: bundleName: string;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: abilityName: string;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: isPersisted?: boolean;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: networkType?: NetworkType;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: isCharging?: boolean;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: chargerType?: ChargingType;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: batteryLevel?: number;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: batteryStatus?: BatteryStatus;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: storageRequest?: StorageRequest;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: repeatCycleTime?: number;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: isRepeat?: boolean;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: repeatCount?: number;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: isDeepIdle?: boolean;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: idleWaitTime?: number;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: WorkInfo<br>Method or attribute name: parameters?: {[key: string]: any};|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler<br>Method or attribute name: function startWork(work: WorkInfo): boolean;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler<br>Method or attribute name: function stopWork(work: WorkInfo, needCancel?: boolean): boolean;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler<br>Method or attribute name: function getWorkStatus(workId: number, callback: AsyncCallback<WorkInfo>): void;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler<br>Method or attribute name: function getWorkStatus(workId: number): Promise<WorkInfo>;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler<br>Method or attribute name: function obtainAllWorks(callback: AsyncCallback<void>): Array<WorkInfo>;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler<br>Method or attribute name: function obtainAllWorks(): Promise<Array<WorkInfo>>;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler<br>Method or attribute name: function stopAndClearWorks(): boolean;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler<br>Method or attribute name: function isLastWorkTimeOut(workId: number, callback: AsyncCallback<void>): boolean;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: workScheduler<br>Method or attribute name: function isLastWorkTimeOut(workId: number): Promise<boolean>;|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: NetworkType|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: NetworkType<br>Method or attribute name: NETWORK_TYPE_ANY = 0|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: NetworkType<br>Method or attribute name: NETWORK_TYPE_MOBILE|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: NetworkType<br>Method or attribute name: NETWORK_TYPE_WIFI|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: NetworkType<br>Method or attribute name: NETWORK_TYPE_BLUETOOTH|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: NetworkType<br>Method or attribute name: NETWORK_TYPE_WIFI_P2P|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: NetworkType<br>Method or attribute name: NETWORK_TYPE_ETHERNET|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: ChargingType|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: ChargingType<br>Method or attribute name: CHARGING_PLUGGED_ANY = 0|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: ChargingType<br>Method or attribute name: CHARGING_PLUGGED_AC|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: ChargingType<br>Method or attribute name: CHARGING_PLUGGED_USB|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: ChargingType<br>Method or attribute name: CHARGING_PLUGGED_WIRELESS|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: BatteryStatus|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: BatteryStatus<br>Method or attribute name: BATTERY_STATUS_LOW = 0|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: BatteryStatus<br>Method or attribute name: BATTERY_STATUS_OKAY|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: BatteryStatus<br>Method or attribute name: BATTERY_STATUS_LOW_OR_OKAY|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: StorageRequest|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: StorageRequest<br>Method or attribute name: STORAGE_LEVEL_LOW = 0|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: StorageRequest<br>Method or attribute name: STORAGE_LEVEL_OKAY|NA|@ohos.workScheduler.d.ts|
|Deleted|Module name: ohos.workScheduler<br>Class name: StorageRequest<br>Method or attribute name: STORAGE_LEVEL_LOW_OR_OKAY|NA|@ohos.workScheduler.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Permission added|Class name: deviceInfo<br>Method or attribute name: const serial: string;<br>Permission: N/A|Class name: deviceInfo<br>Method or attribute name: const serial: string;<br>Permission: ohos.permission.sec.ACCESS_UDID|@ohos.deviceInfo.d.ts|
|Permission added|Class name: deviceInfo<br>Method or attribute name: const udid: string;<br>Permission: N/A|Class name: deviceInfo<br>Method or attribute name: const udid: string;<br>Permission: ohos.permission.sec.ACCESS_UDID|@ohos.deviceInfo.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: Rect<br>Method or attribute name: readonly left: number;|@ohos.uitest.d.ts|
|Added|NA|Class name: Rect<br>Method or attribute name: readonly top: number;|@ohos.uitest.d.ts|
|Added|NA|Class name: Rect<br>Method or attribute name: readonly right: number;|@ohos.uitest.d.ts|
|Added|NA|Class name: Rect<br>Method or attribute name: readonly bottom: number;|@ohos.uitest.d.ts|
|Deleted|Module name: ohos.uitest<br>Class name: Rect<br>Method or attribute name: readonly leftX: number;|NA|@ohos.uitest.d.ts|
|Deleted|Module name: ohos.uitest<br>Class name: Rect<br>Method or attribute name: readonly topY: number;|NA|@ohos.uitest.d.ts|
|Deleted|Module name: ohos.uitest<br>Class name: Rect<br>Method or attribute name: readonly rightX: number;|NA|@ohos.uitest.d.ts|
|Deleted|Module name: ohos.uitest<br>Class name: Rect<br>Method or attribute name: readonly bottomY: number;|NA|@ohos.uitest.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: |@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: SUCCESS = 12500000|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: SUCCESS = 12500000|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: FAIL = 12500001|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: FAIL = 12500001|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: GENERAL_ERROR = 12500002|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: GENERAL_ERROR = 12500002|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: CANCELED = 12500003|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: CANCELED = 12500003|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: TIMEOUT = 12500004|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: TIMEOUT = 12500004|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: TYPE_NOT_SUPPORT = 12500005|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: TYPE_NOT_SUPPORT = 12500005|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 12500006|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 12500006|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: BUSY = 12500007|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: BUSY = 12500007|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: LOCKED = 12500009|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: LOCKED = 12500009|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Module name: ohos.userIAM.userAuth<br>Class name: UserAuthResultCode<br>Method or attribute name: NOT_ENROLLED = 12500010|@ohos.userIAM.userAuth.d.ts|
|Added|NA|Class name: UserAuthResultCode<br>Method or attribute name: NOT_ENROLLED = 12500010|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: SUCCESS = 12500000|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: FAIL = 12500001|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: GENERAL_ERROR = 12500002|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: CANCELED = 12500003|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: TIMEOUT = 12500004|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: TYPE_NOT_SUPPORT = 12500005|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 12500006|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: BUSY = 12500007|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: LOCKED = 12500009|NA|@ohos.userIAM.userAuth.d.ts|
|Deleted|Module name: ohos.userIAM.userAuth<br>Class name: ResultCodeV9<br>Method or attribute name: NOT_ENROLLED = 12500010|NA|@ohos.userIAM.userAuth.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: WindowStageEventType<br>Method or attribute name: SHOWN = 1|@ohos.window.d.ts|
|Added|NA|Class name: WindowStageEventType<br>Method or attribute name: HIDDEN|@ohos.window.d.ts|
|Deleted|Module name: ohos.window<br>Class name: WindowStageEventType<br>Method or attribute name: FOREGROUND = 1|NA|@ohos.window.d.ts|
|Deleted|Module name: ohos.window<br>Class name: WindowStageEventType<br>Method or attribute name: BACKGROUND|NA|@ohos.window.d.ts|
## cl.multimedia.av_session.001 Change of All av_session APIs to System APIs
All av_session APIs are changed to system APIs.
**Change Impacts**
Non-system applications and applications without system API permission cannot call system APIs.
**Key API/Component Changes**
All APIs are changed to system APIs. The table below describes the APIs.
| API, Enumeration, or Variable| Type| Is System API|
| -------- | -------- | ------- |
| SessionToken | interface | Yes|
| AVMetadata | interface | Yes|
| AVPlaybackState | interface | Yes|
| PlaybackPosition | interface | Yes|
| OutputDeviceInfo | interface | Yes|
| AVSessionDescriptor | interface | Yes|
| AVSessionController | interface | Yes|
| AVControlCommand | interface | Yes|
| createAVSession | function | Yes|
| getAllSessionDescriptors | function | Yes|
| createController | function | Yes|
| castAudio | function | Yes|
| on | function | Yes|
| off | function | Yes|
| sendSystemAVKeyEvent | function | Yes|
| sendSystemControlCommand | function | Yes|
| sessionId | variable | Yes|
| setAVMetadata | function | Yes|
| setAVPlaybackState | function | Yes|
| setLaunchAbility | function | Yes|
| getController | function | Yes|
| getOutputDevice | function | Yes|
| activate | function | Yes|
| deactivate | function | Yes|
| destroy | function | Yes|
| getAVPlaybackState | function | Yes|
| getAVMetadata | function | Yes|
| getOutputDevice | function | Yes|
| sendAVKeyEvent | function | Yes|
| getLaunchAbility | function | Yes|
| getRealPlaybackPositionSync | function | Yes|
| isActive | function | Yes|
| getValidCommands | function | Yes|
| sendControlCommand | function | Yes|
| AVSessionType | type | Yes|
| AVControlCommandType | type | Yes|
| LoopMode | enum | Yes|
| PlaybackState | enum | Yes|
| AVSessionErrorCode | enum | Yes|
# Bundle Manager Subsystem ChangeLog
## cl.bundlemanager.1 Field Change of the ApplicationInfo Struct in API Version 9
The **entryDir** field is deleted from the **ApplicationInfo** struct [[bundleManager/applicationInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/monthly_20221018/api/bundleManager/applicationInfo.d.ts)] in API version 9.
**Change Impacts**
There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 must adapt to the new modules and APIs.
**Key API/Component Changes**
The following table describes the changed fields in the **ApplicationInfo** struct.
| Deleted Field| Added or Changed Field in API Version 9| Type|
| --- | --- | --- |
| entryDir | None | string |
**Adaptation Guide**
When importing the bundle management query module, delete the **entryDir** field from the **ApplicationInfo** struct of API version 9.
## cl.bundlemanager.2 Field Change of the HapModuleInfo Struct in API Version 9
The **moduleSourceDir** field is deleted from the **HapModuleInfo** struct [[bundleManager/hapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/monthly_20221018/api/bundleManager/hapModuleInfo.d.ts)] in API version 9.
**Change Impacts**
There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 must adapt to the new modules and APIs.
**Key API/Component Changes**
The following table describes the changed fields in the **HapModuleInfo** struct.
| Deleted Field| Added or Changed Field in API Version 9| Type|
| --- | --- | --- |
| moduleSourceDir | None | string |
**Adaptation Guide**
When importing the bundle manager query module, delete the **moduleSourceDir** field from the **HapModuleInfo** struct of API version 9.
\ No newline at end of file
# User IAM Subsystem ChangeLog
## cl.useriam.1 API9 Authentication Result Code Class Name Change
The name of the authentication result code class of user IAM API version 9 is changed from **ResultCode** to **UserAuthResultCode**.
**Change Impacts**
Applications developed based on earlier versions are not affected. For the applications developed from this version, the class name of the error code needs to be adapted. Otherwise, the service logic is affected.
**Key API/Component Changes**
N/A
**Adaptation Guide**
Change the class name for invoking the authentication result code from **ResultCode** to **UserAuthResultCode**.
# Startup Subsystem JS API Changelog
## cl.startup.1 Bundle Name Change
**Change Impact**
The original bundle name **@ohos.systemParameterV9** will be deleted and cannot be used anymore. Use the new bundle name **@ohos.systemParameterEnhance** instead.
**Adaptation Guide**
Change the bundle name from **@ohos.systemParameterV9** to **@ohos.systemParameterEnhance**. The APIs remain unchanged. The following is the sample code:
```js
import @ohos.systemParameterEnhance
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册