提交 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.app.ability.dataUriUtils<br>Class name: dataUriUtils|@ohos.app.ability.dataUriUtils.d.ts|
|Added|NA|Module name: ohos.app.ability.dataUriUtils<br>Class name: dataUriUtils<br>Method or attribute name: function getId(uri: string): number|@ohos.app.ability.dataUriUtils.d.ts|
|Added|NA|Module name: ohos.app.ability.dataUriUtils<br>Class name: dataUriUtils<br>Method or attribute name: function attachId(uri: string, id: number): string|@ohos.app.ability.dataUriUtils.d.ts|
|Added|NA|Module name: ohos.app.ability.dataUriUtils<br>Class name: dataUriUtils<br>Method or attribute name: function deleteId(uri: string): string|@ohos.app.ability.dataUriUtils.d.ts|
|Added|NA|Module name: ohos.app.ability.dataUriUtils<br>Class name: dataUriUtils<br>Method or attribute name: function updateId(uri: string, id: number): string|@ohos.app.ability.dataUriUtils.d.ts|
|Added|NA|Module name: ohos.app.ability.EnvironmentCallback<br>Class name: EnvironmentCallback<br>Method or attribute name: onMemoryLevel(level: AbilityConstant.MemoryLevel): void;|@ohos.app.ability.EnvironmentCallback.d.ts|
|Deleted|Module name: ohos.app.ability.wantAgent<br>Class name: wantAgent<br>Method or attribute name: function trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback<CompleteData>): void;|NA|@ohos.app.ability.wantAgent.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: OnReleaseCallBack|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: OnReleaseCallBack<br>Method or attribute name: (msg: string): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: CalleeCallBack|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: CalleeCallBack<br>Method or attribute name: (indata: rpc.MessageParcel): rpc.Sequenceable;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Caller|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Caller<br>Method or attribute name: call(method: string, data: rpc.Sequenceable): Promise<void>;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Caller<br>Method or attribute name: callWithResult(method: string, data: rpc.Sequenceable): Promise<rpc.MessageParcel>;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Caller<br>Method or attribute name: release(): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Caller<br>Method or attribute name: onRelease(callback: OnReleaseCallBack): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Callee|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Callee<br>Method or attribute name: on(method: string, callback: CalleeCallBack): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Callee<br>Method or attribute name: off(method: string): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: context: AbilityContext;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: launchWant: Want;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: lastRequestWant: Want;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: callee: Callee;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onCreate(want: Want, param: AbilityConstant.LaunchParam): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onWindowStageCreate(windowStage: window.WindowStage): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onWindowStageDestroy(): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onWindowStageRestore(windowStage: window.WindowStage): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onDestroy(): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onForeground(): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onBackground(): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onContinue(wantParam : {[key: string]: any}): AbilityConstant.OnContinueResult;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onNewWant(want: Want, launchParams: AbilityConstant.LaunchParam): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: dump(params: Array<string>): Array<string>;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onMemoryLevel(level: AbilityConstant.MemoryLevel): void;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.Ability<br>Class name: Ability<br>Method or attribute name: onSaveState(reason: AbilityConstant.StateType, wantParam : {[key: string]: any}): AbilityConstant.OnSaveResult;|NA|@ohos.application.Ability.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: AbilityConstant|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LaunchParam|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LaunchParam<br>Method or attribute name: launchReason: LaunchReason;|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LaunchParam<br>Method or attribute name: lastExitReason: LastExitReason;|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LaunchReason|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LaunchReason<br>Method or attribute name: UNKNOWN = 0|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LaunchReason<br>Method or attribute name: START_ABILITY = 1|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LaunchReason<br>Method or attribute name: CALL = 2|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LaunchReason<br>Method or attribute name: CONTINUATION = 3|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LaunchReason<br>Method or attribute name: APP_RECOVERY = 4|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LastExitReason|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LastExitReason<br>Method or attribute name: UNKNOWN = 0|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LastExitReason<br>Method or attribute name: ABILITY_NOT_RESPONDING = 1|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: LastExitReason<br>Method or attribute name: NORMAL = 2|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnContinueResult|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnContinueResult<br>Method or attribute name: AGREE = 0|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnContinueResult<br>Method or attribute name: REJECT = 1|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnContinueResult<br>Method or attribute name: MISMATCH = 2|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: MemoryLevel|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: MemoryLevel<br>Method or attribute name: MEMORY_LEVEL_MODERATE = 0|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: MemoryLevel<br>Method or attribute name: MEMORY_LEVEL_LOW = 1|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: MemoryLevel<br>Method or attribute name: MEMORY_LEVEL_CRITICAL = 2|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: WindowMode|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: WindowMode<br>Method or attribute name: WINDOW_MODE_UNDEFINED = 0|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: WindowMode<br>Method or attribute name: WINDOW_MODE_FULLSCREEN = 1|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: WindowMode<br>Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY = 100|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: WindowMode<br>Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY = 101|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: WindowMode<br>Method or attribute name: WINDOW_MODE_FLOATING = 102|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnSaveResult|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnSaveResult<br>Method or attribute name: ALL_AGREE = 0|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnSaveResult<br>Method or attribute name: CONTINUATION_REJECT = 1|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnSaveResult<br>Method or attribute name: CONTINUATION_MISMATCH = 2|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnSaveResult<br>Method or attribute name: RECOVERY_AGREE = 3|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnSaveResult<br>Method or attribute name: RECOVERY_REJECT = 4|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: OnSaveResult<br>Method or attribute name: ALL_REJECT|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: StateType|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: StateType<br>Method or attribute name: CONTINUATION = 0|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityConstant<br>Class name: StateType<br>Method or attribute name: APP_RECOVERY = 1|NA|@ohos.application.AbilityConstant.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback<br>Method or attribute name: onAbilityCreate(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback<br>Method or attribute name: onWindowStageCreate(ability: Ability, windowStage: window.WindowStage): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback<br>Method or attribute name: onWindowStageActive(ability: Ability, windowStage: window.WindowStage): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback<br>Method or attribute name: onWindowStageInactive(ability: Ability, windowStage: window.WindowStage): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback<br>Method or attribute name: onWindowStageDestroy(ability: Ability, windowStage: window.WindowStage): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback<br>Method or attribute name: onAbilityDestroy(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback<br>Method or attribute name: onAbilityForeground(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback<br>Method or attribute name: onAbilityBackground(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.AbilityLifecycleCallback<br>Class name: AbilityLifecycleCallback<br>Method or attribute name: onAbilityContinue(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts|
|Deleted|Module name: ohos.application.abilityManager<br>Class name: abilityManager<br>Method or attribute name: function getExtensionRunningInfos(upperLimit: number): Promise<Array<ExtensionRunningInfo>>;|NA|@ohos.application.abilityManager.d.ts|
|Deleted|Module name: ohos.application.abilityManager<br>Class name: abilityManager<br>Method or attribute name: function getExtensionRunningInfos(upperLimit: number, callback: AsyncCallback<Array<ExtensionRunningInfo>>): void;|NA|@ohos.application.abilityManager.d.ts|
|Deleted|Module name: ohos.application.abilityManager<br>Class name: abilityManager<br>Method or attribute name: function getTopAbility(): Promise<ElementName>;|NA|@ohos.application.abilityManager.d.ts|
|Deleted|Module name: ohos.application.abilityManager<br>Class name: abilityManager<br>Method or attribute name: function getTopAbility(callback: AsyncCallback<ElementName>): void;|NA|@ohos.application.abilityManager.d.ts|
|Deleted|Module name: ohos.application.AbilityStage<br>Class name: AbilityStage|NA|@ohos.application.AbilityStage.d.ts|
|Deleted|Module name: ohos.application.AbilityStage<br>Class name: AbilityStage<br>Method or attribute name: context: AbilityStageContext;|NA|@ohos.application.AbilityStage.d.ts|
|Deleted|Module name: ohos.application.AbilityStage<br>Class name: AbilityStage<br>Method or attribute name: onCreate(): void;|NA|@ohos.application.AbilityStage.d.ts|
|Deleted|Module name: ohos.application.AbilityStage<br>Class name: AbilityStage<br>Method or attribute name: onAcceptWant(want: Want): string;|NA|@ohos.application.AbilityStage.d.ts|
|Deleted|Module name: ohos.application.AbilityStage<br>Class name: AbilityStage<br>Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.AbilityStage.d.ts|
|Deleted|Module name: ohos.application.AbilityStage<br>Class name: AbilityStage<br>Method or attribute name: onMemoryLevel(level: AbilityConstant.MemoryLevel): void;|NA|@ohos.application.AbilityStage.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ApplicationState|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ApplicationState<br>Method or attribute name: STATE_CREATE|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ApplicationState<br>Method or attribute name: STATE_FOREGROUND|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ApplicationState<br>Method or attribute name: STATE_ACTIVE|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ApplicationState<br>Method or attribute name: STATE_BACKGROUND|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ApplicationState<br>Method or attribute name: STATE_DESTROY|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ProcessState|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ProcessState<br>Method or attribute name: STATE_CREATE|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ProcessState<br>Method or attribute name: STATE_FOREGROUND|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ProcessState<br>Method or attribute name: STATE_ACTIVE|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ProcessState<br>Method or attribute name: STATE_BACKGROUND|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: ProcessState<br>Method or attribute name: STATE_DESTROY|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: appManager<br>Method or attribute name: function registerApplicationStateObserver(observer: ApplicationStateObserver, bundleNameList: Array<string>): number;|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: appManager<br>Method or attribute name: function getProcessRunningInformation(): Promise<Array<ProcessRunningInformation>>;|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.appManager<br>Class name: appManager<br>Method or attribute name: function getProcessRunningInformation(callback: AsyncCallback<Array<ProcessRunningInformation>>): void;|NA|@ohos.application.appManager.d.ts|
|Deleted|Module name: ohos.application.Configuration<br>Class name: Configuration<br>Method or attribute name: direction?: ConfigurationConstant.Direction;|NA|@ohos.application.Configuration.d.ts|
|Deleted|Module name: ohos.application.Configuration<br>Class name: Configuration<br>Method or attribute name: screenDensity?: ConfigurationConstant.ScreenDensity;|NA|@ohos.application.Configuration.d.ts|
|Deleted|Module name: ohos.application.Configuration<br>Class name: Configuration<br>Method or attribute name: displayId?: number;|NA|@ohos.application.Configuration.d.ts|
|Deleted|Module name: ohos.application.Configuration<br>Class name: Configuration<br>Method or attribute name: hasPointerDevice?: boolean;|NA|@ohos.application.Configuration.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: Direction|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: Direction<br>Method or attribute name: DIRECTION_NOT_SET = -1|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: Direction<br>Method or attribute name: DIRECTION_VERTICAL = 0|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: Direction<br>Method or attribute name: DIRECTION_HORIZONTAL = 1|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: ScreenDensity|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: ScreenDensity<br>Method or attribute name: SCREEN_DENSITY_NOT_SET = 0|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: ScreenDensity<br>Method or attribute name: SCREEN_DENSITY_SDPI = 120|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: ScreenDensity<br>Method or attribute name: SCREEN_DENSITY_MDPI = 160|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: ScreenDensity<br>Method or attribute name: SCREEN_DENSITY_LDPI = 240|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: ScreenDensity<br>Method or attribute name: SCREEN_DENSITY_XLDPI = 320|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: ScreenDensity<br>Method or attribute name: SCREEN_DENSITY_XXLDPI = 480|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.ConfigurationConstant<br>Class name: ScreenDensity<br>Method or attribute name: SCREEN_DENSITY_XXXLDPI = 640|NA|@ohos.application.ConfigurationConstant.d.ts|
|Deleted|Module name: ohos.application.context<br>Class name: context|NA|@ohos.application.context.d.ts|
|Deleted|Module name: ohos.application.EnvironmentCallback<br>Class name: EnvironmentCallback|NA|@ohos.application.EnvironmentCallback.d.ts|
|Deleted|Module name: ohos.application.EnvironmentCallback<br>Class name: EnvironmentCallback<br>Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.EnvironmentCallback.d.ts|
|Deleted|Module name: ohos.application.errorManager<br>Class name: errorManager|NA|@ohos.application.errorManager.d.ts|
|Deleted|Module name: ohos.application.errorManager<br>Class name: errorManager<br>Method or attribute name: function registerErrorObserver(observer: ErrorObserver): number;|NA|@ohos.application.errorManager.d.ts|
|Deleted|Module name: ohos.application.errorManager<br>Class name: errorManager<br>Method or attribute name: function unregisterErrorObserver(observerId: number, callback: AsyncCallback<void>): void;|NA|@ohos.application.errorManager.d.ts|
|Deleted|Module name: ohos.application.errorManager<br>Class name: errorManager<br>Method or attribute name: function unregisterErrorObserver(observerId: number): Promise<void>;|NA|@ohos.application.errorManager.d.ts|
|Deleted|Module name: ohos.application.ExtensionAbility<br>Class name: ExtensionAbility|NA|@ohos.application.ExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ExtensionAbility<br>Class name: ExtensionAbility<br>Method or attribute name: onConfigurationUpdated(newConfig: Configuration): void;|NA|@ohos.application.ExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ExtensionAbility<br>Class name: ExtensionAbility<br>Method or attribute name: onMemoryLevel(level: AbilityConstant.MemoryLevel): void;|NA|@ohos.application.ExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: context: FormExtensionContext;|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: onCreate(want: Want): formBindingData.FormBindingData;|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: onCastToNormal(formId: string): void;|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: onUpdate(formId: string): void;|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: onVisibilityChange(newStatus: { [key: string]: number }): void;|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: onEvent(formId: string, message: string): void;|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: onDestroy(formId: string): void;|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: onAcquireFormState?(want: Want): formInfo.FormState;|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.FormExtension<br>Class name: FormExtension<br>Method or attribute name: onShare?(formId: string): {[key: string]: any};|NA|@ohos.application.FormExtension.d.ts|
|Deleted|Module name: ohos.application.formHost<br>Class name: formHost<br>Method or attribute name: function shareForm(formId: string, deviceId: string, callback: AsyncCallback<void>): void;|NA|@ohos.application.formHost.d.ts|
|Deleted|Module name: ohos.application.formHost<br>Class name: formHost<br>Method or attribute name: function shareForm(formId: string, deviceId: string): Promise<void>;|NA|@ohos.application.formHost.d.ts|
|Deleted|Module name: ohos.application.formHost<br>Class name: formHost<br>Method or attribute name: function notifyFormsPrivacyProtected(formIds: Array<string>, isProtected: boolean, callback: AsyncCallback<void>): void;|NA|@ohos.application.formHost.d.ts|
|Deleted|Module name: ohos.application.formHost<br>Class name: formHost<br>Method or attribute name: function notifyFormsPrivacyProtected(formIds: Array<string>, isProtected: boolean): Promise<void>;|NA|@ohos.application.formHost.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormType<br>Method or attribute name: eTS = 2|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormParam<br>Method or attribute name: BUNDLE_NAME_KEY = "ohos.extra.param.key.bundle_name"|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormParam<br>Method or attribute name: ABILITY_NAME_KEY = "ohos.extra.param.key.ability_name"|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormParam<br>Method or attribute name: DEVICE_ID_KEY = "ohos.extra.param.key.device_id"|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormInfoFilter|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormInfoFilter<br>Method or attribute name: moduleName?: string;|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormDimension|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormDimension<br>Method or attribute name: Dimension_1_2 = 1|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormDimension<br>Method or attribute name: Dimension_2_2|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormDimension<br>Method or attribute name: Dimension_2_4|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormDimension<br>Method or attribute name: Dimension_4_4|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: FormDimension<br>Method or attribute name: Dimension_2_1|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: VisibilityType|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: VisibilityType<br>Method or attribute name: FORM_VISIBLE = 1|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formInfo<br>Class name: VisibilityType<br>Method or attribute name: FORM_INVISIBLE|NA|@ohos.application.formInfo.d.ts|
|Deleted|Module name: ohos.application.formProvider<br>Class name: formProvider<br>Method or attribute name: function getFormsInfo(filter: formInfo.FormInfoFilter, callback: AsyncCallback<Array<formInfo.FormInfo>>): void;|NA|@ohos.application.formProvider.d.ts|
|Deleted|Module name: ohos.application.formProvider<br>Class name: formProvider<br>Method or attribute name: function getFormsInfo(callback: AsyncCallback<Array<formInfo.FormInfo>>): void;|NA|@ohos.application.formProvider.d.ts|
|Deleted|Module name: ohos.application.formProvider<br>Class name: formProvider<br>Method or attribute name: function getFormsInfo(filter?: formInfo.FormInfoFilter): Promise<Array<formInfo.FormInfo>>;|NA|@ohos.application.formProvider.d.ts|
|Deleted|Module name: ohos.application.formProvider<br>Class name: formProvider<br>Method or attribute name: function requestPublishForm(want: Want, formBindingData: formBindingData.FormBindingData,<br><br> callback: AsyncCallback<string>): void;|NA|@ohos.application.formProvider.d.ts|
|Deleted|Module name: ohos.application.formProvider<br>Class name: formProvider<br>Method or attribute name: function requestPublishForm(want: Want, callback: AsyncCallback<string>): void;|NA|@ohos.application.formProvider.d.ts|
|Deleted|Module name: ohos.application.formProvider<br>Class name: formProvider<br>Method or attribute name: function requestPublishForm(want: Want, formBindingData?: formBindingData.FormBindingData): Promise<string>;|NA|@ohos.application.formProvider.d.ts|
|Deleted|Module name: ohos.application.formProvider<br>Class name: formProvider<br>Method or attribute name: function isRequestPublishFormSupported(callback: AsyncCallback<boolean>): void;|NA|@ohos.application.formProvider.d.ts|
|Deleted|Module name: ohos.application.formProvider<br>Class name: formProvider<br>Method or attribute name: function isRequestPublishFormSupported(): Promise<boolean>;|NA|@ohos.application.formProvider.d.ts|
|Deleted|Module name: ohos.application.missionManager<br>Class name: missionManager<br>Method or attribute name: function getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback<MissionSnapshot>): void;|NA|@ohos.application.missionManager.d.ts|
|Deleted|Module name: ohos.application.missionManager<br>Class name: missionManager<br>Method or attribute name: function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise<MissionSnapshot>;|NA|@ohos.application.missionManager.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility<br>Method or attribute name: context: ServiceExtensionContext;|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility<br>Method or attribute name: onCreate(want: Want): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility<br>Method or attribute name: onDestroy(): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility<br>Method or attribute name: onRequest(want: Want, startId: number): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility<br>Method or attribute name: onConnect(want: Want): rpc.RemoteObject;|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility<br>Method or attribute name: onDisconnect(want: Want): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility<br>Method or attribute name: onReconnect(want: Want): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility<br>Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.ServiceExtensionAbility<br>Class name: ServiceExtensionAbility<br>Method or attribute name: dump(params: Array<string>): Array<string>;|NA|@ohos.application.ServiceExtensionAbility.d.ts|
|Deleted|Module name: ohos.application.StartOptions<br>Class name: StartOptions|NA|@ohos.application.StartOptions.d.ts|
|Deleted|Module name: ohos.application.StartOptions<br>Class name: StartOptions<br>Method or attribute name: windowMode?: number;|NA|@ohos.application.StartOptions.d.ts|
|Deleted|Module name: ohos.application.StartOptions<br>Class name: StartOptions<br>Method or attribute name: displayId?: number;|NA|@ohos.application.StartOptions.d.ts|
|Deleted|Module name: ohos.application.Want<br>Class name: Want<br>Method or attribute name: moduleName?: string;|NA|@ohos.application.Want.d.ts|
|Deleted|Module name: ohos.wantAgent<br>Class name: wantAgent<br>Method or attribute name: function trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback<CompleteData>): void;|NA|@ohos.wantAgent.d.ts|
|Deleted|Module name: ohos.wantAgent<br>Class name: wantAgent<br>Method or attribute name: function getOperationType(agent: WantAgent, callback: AsyncCallback<number>): void;|NA|@ohos.wantAgent.d.ts|
|Deleted|Module name: ohos.wantAgent<br>Class name: wantAgent<br>Method or attribute name: function getOperationType(agent: WantAgent): Promise<number>;|NA|@ohos.wantAgent.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: abilityInfo: AbilityInfo;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: currentHapModuleInfo: HapModuleInfo;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: config: Configuration;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbility(want: Want, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityByCall(want: Want): Promise<Caller>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback<AbilityResult>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityResult>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback<AbilityResult>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<AbilityResult>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startServiceExtensionAbility(want: Want): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: stopServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: stopServiceExtensionAbility(want: Want): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: terminateSelf(callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: terminateSelf(): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: terminateSelfWithResult(parameter: AbilityResult): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: connectAbility(want: Want, options: ConnectOptions): number;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: connectAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: disconnectAbility(connection: number, callback:AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: disconnectAbility(connection: number): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: disconnectServiceExtensionAbility(connection: number): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: setMissionLabel(label: string, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: setMissionLabel(label: string): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: setMissionIcon(icon: image.PixelMap, callback: AsyncCallback<void>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: setMissionIcon(icon: image.PixelMap): Promise<void>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: requestPermissionsFromUser(permissions: Array<string>, requestCallback: AsyncCallback<PermissionRequestResult>): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: requestPermissionsFromUser(permissions: Array<string>): Promise<PermissionRequestResult>;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: restoreWindowStage(localStorage: LocalStorage): void;|NA|AbilityContext.d.ts|
|Deleted|Module name: AbilityContext<br>Class name: AbilityContext<br>Method or attribute name: isTerminating(): boolean;|NA|AbilityContext.d.ts|
|Deleted|Module name: ApplicationContext<br>Class name: ApplicationContext<br>Method or attribute name: registerAbilityLifecycleCallback(callback: AbilityLifecycleCallback): number;|NA|ApplicationContext.d.ts|
|Deleted|Module name: ApplicationContext<br>Class name: ApplicationContext<br>Method or attribute name: unregisterAbilityLifecycleCallback(callbackId: number, callback: AsyncCallback<void>): void;|NA|ApplicationContext.d.ts|
|Deleted|Module name: ApplicationContext<br>Class name: ApplicationContext<br>Method or attribute name: unregisterAbilityLifecycleCallback(callbackId: number): Promise<void>;|NA|ApplicationContext.d.ts|
|Deleted|Module name: ApplicationContext<br>Class name: ApplicationContext<br>Method or attribute name: registerEnvironmentCallback(callback: EnvironmentCallback): number;|NA|ApplicationContext.d.ts|
|Deleted|Module name: ApplicationContext<br>Class name: ApplicationContext<br>Method or attribute name: unregisterEnvironmentCallback(callbackId: number, callback: AsyncCallback<void>): void;|NA|ApplicationContext.d.ts|
|Deleted|Module name: ApplicationContext<br>Class name: ApplicationContext<br>Method or attribute name: unregisterEnvironmentCallback(callbackId: number): Promise<void>;|NA|ApplicationContext.d.ts|
|Deleted|Module name: PermissionRequestResult<br>Class name: PermissionRequestResult|NA|PermissionRequestResult.d.ts|
|Deleted|Module name: PermissionRequestResult<br>Class name: PermissionRequestResult<br>Method or attribute name: permissions: Array<string>;|NA|PermissionRequestResult.d.ts|
|Deleted|Module name: PermissionRequestResult<br>Class name: PermissionRequestResult<br>Method or attribute name: authResults: Array<number>;|NA|PermissionRequestResult.d.ts|
|Deleted|Module name: ServiceExtensionContext<br>Class name: ServiceExtensionContext<br>Method or attribute name: connectAbility(want: Want, options: ConnectOptions): number;|NA|ServiceExtensionContext.d.ts|
|Deleted|Module name: ServiceExtensionContext<br>Class name: ServiceExtensionContext<br>Method or attribute name: connectAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;|NA|ServiceExtensionContext.d.ts|
|Deleted|Module name: ServiceExtensionContext<br>Class name: ServiceExtensionContext<br>Method or attribute name: disconnectAbility(connection: number, callback:AsyncCallback<void>): void;|NA|ServiceExtensionContext.d.ts|
|Deleted|Module name: ServiceExtensionContext<br>Class name: ServiceExtensionContext<br>Method or attribute name: disconnectAbility(connection: number): Promise<void>;|NA|ServiceExtensionContext.d.ts|
|Deleted|Module name: UIAbilityContext<br>Class name: UIAbilityContext<br>Method or attribute name: requestPermissionsFromUser(permissions: Array<string>, requestCallback: AsyncCallback<PermissionRequestResult>): void;|NA|UIAbilityContext.d.ts|
|Deleted|Module name: UIAbilityContext<br>Class name: UIAbilityContext<br>Method or attribute name: requestPermissionsFromUser(permissions: Array<string>): Promise<PermissionRequestResult>;|NA|UIAbilityContext.d.ts|
|Access level changed|Class name: FormParam<br>Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"<br>Access level: public API|Class name: FormParam<br>Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"<br>Access level: system API|@ohos.application.formInfo.d.ts|
|Deprecated version changed|Class name: dataUriUtils<br>Deprecated version: N/A|Class name: dataUriUtils<br>Deprecated version: 9<br>Substitute API: @ohos.app.ability.dataUriUtils.d.ts |@ohos.ability.dataUriUtils.d.ts|
|Deprecated version changed|Class name: Context<br>Method or attribute name: setShowOnLockScreen(show: boolean, callback: AsyncCallback<void>): void<br>Deprecated version: N/A|Class name: Context<br>Method or attribute name: setShowOnLockScreen(show: boolean, callback: AsyncCallback<void>): void<br>Deprecated version: 9<br>Substitute API: ohos.window|context.d.ts|
|Deprecated version changed|Class name: Context<br>Method or attribute name: setShowOnLockScreen(show: boolean): Promise<void>;<br>Deprecated version: N/A|Class name: Context<br>Method or attribute name: setShowOnLockScreen(show: boolean): Promise<void>;<br>Deprecated version: 9|context.d.ts|
|Initial version changed|Class name: FormParam<br>Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"<br>Initial version: 9|Class name: FormParam<br>Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"<br>Initial version: 8|@ohos.application.formInfo.d.ts|
|Permission added|Class name: ServiceExtensionContext<br>Method or attribute name: startAbilityByCall(want: Want): Promise<Caller>;<br>Permission: N/A|Class name: ServiceExtensionContext<br>Method or attribute name: startAbilityByCall(want: Want): Promise<Caller>;<br>Permission: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION|ServiceExtensionContext.d.ts|
|Permission added|Class name: UIAbilityContext<br>Method or attribute name: startAbilityByCall(want: Want): Promise<Caller>;<br>Permission: N/A|Class name: UIAbilityContext<br>Method or attribute name: startAbilityByCall(want: Want): Promise<Caller>;<br>Permission: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION|UIAbilityContext.d.ts|
|Access level changed|Class name: FormParam<br>Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"<br>Access level: public API|Class name: FormParam<br>Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"<br>Access level: system API|@ohos.application.formInfo.d.ts|
|Function changed|Class name: ServiceExtensionAbility<br>Method or attribute name: onConnect(want: Want): rpc.RemoteObject;<br>|Class name: ServiceExtensionAbility<br>Method or attribute name: onConnect(want: Want): rpc.RemoteObject \| Promise<rpc.RemoteObject>;<br>|@ohos.app.ability.ServiceExtensionAbility.d.ts|
|Function changed|Class name: ServiceExtensionAbility<br>Method or attribute name: onDisconnect(want: Want): void;<br>|Class name: ServiceExtensionAbility<br>Method or attribute name: onDisconnect(want: Want): void \| Promise<void>;<br>|@ohos.app.ability.ServiceExtensionAbility.d.ts|
|Function changed|Class name: UIAbility<br>Method or attribute name: onDestroy(): void;<br>|Class name: UIAbility<br>Method or attribute name: onDestroy(): void \| Promise<void>;<br>|@ohos.app.ability.UIAbility.d.ts|
| 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 |
| ---- | ------ | ------ | -------- |
|Added|NA|Module name: ohos.pluginComponent<br>Class name: PushParameterForStage|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: PushParameterForStage<br>Method or attribute name: owner: Want;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: PushParameterForStage<br>Method or attribute name: want: Want;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: PushParameterForStage<br>Method or attribute name: name: string;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: PushParameterForStage<br>Method or attribute name: data: KVObject;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: PushParameterForStage<br>Method or attribute name: extraData: KVObject;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: PushParameterForStage<br>Method or attribute name: jsonPath?: string;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: RequestParameterForStage|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: RequestParameterForStage<br>Method or attribute name: owner: Want;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: RequestParameterForStage<br>Method or attribute name: want: Want;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: RequestParameterForStage<br>Method or attribute name: name: string;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: RequestParameterForStage<br>Method or attribute name: data: KVObject;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: RequestParameterForStage<br>Method or attribute name: jsonPath?: string;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: pluginComponentManager<br>Method or attribute name: function push(param: PushParameterForStage, callback: AsyncCallback<void>): void;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: ohos.pluginComponent<br>Class name: pluginComponentManager<br>Method or attribute name: function request(param: RequestParameterForStage, callback: AsyncCallback<RequestCallbackParameters>): void;|@ohos.pluginComponent.d.ts|
|Added|NA|Module name: common<br>Class name: SourceTool|common.d.ts|
|Added|NA|Module name: common<br>Class name: SourceTool<br>Method or attribute name: Unknown|common.d.ts|
|Added|NA|Module name: common<br>Class name: SourceTool<br>Method or attribute name: FINGER|common.d.ts|
|Added|NA|Module name: common<br>Class name: SourceTool<br>Method or attribute name: PEN|common.d.ts|
|Added|NA|Module name: common<br>Class name: BaseEvent<br>Method or attribute name: pressure: number;|common.d.ts|
|Added|NA|Module name: common<br>Class name: BaseEvent<br>Method or attribute name: tiltX: number;|common.d.ts|
|Added|NA|Module name: common<br>Class name: BaseEvent<br>Method or attribute name: tiltY: number;|common.d.ts|
|Added|NA|Module name: common<br>Class name: BaseEvent<br>Method or attribute name: sourceTool: SourceTool;|common.d.ts|
|Added|NA|Class name: Scroller<br>Method or attribute name: scrollPage(value: { next: boolean });|scroll.d.ts|
|Added|NA|Module name: swiper<br>Class name: SwiperAttribute<br>Method or attribute name: onAnimationStart(event: (index: number) => void): SwiperAttribute;|swiper.d.ts|
|Added|NA|Module name: swiper<br>Class name: SwiperAttribute<br>Method or attribute name: onAnimationEnd(event: (index: number) => void): SwiperAttribute;|swiper.d.ts|
|Added|NA|Module name: web<br>Class name: WebDarkMode|web.d.ts|
|Added|NA|Class name: WebDarkMode<br>Method or attribute name: |web.d.ts|
|Added|NA|Module name: web<br>Class name: WebDarkMode<br>Method or attribute name: Off|web.d.ts|
|Added|NA|Class name: WebDarkMode<br>Method or attribute name: Off|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebDarkMode<br>Method or attribute name: On|web.d.ts|
|Added|NA|Class name: WebDarkMode<br>Method or attribute name: On|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebDarkMode<br>Method or attribute name: Auto|web.d.ts|
|Added|NA|Class name: WebDarkMode<br>Method or attribute name: Auto|web.d.ts|
|Added|NA|Module name: web<br>Class name: DataResubmissionHandler|web.d.ts|
|Added|NA|Class name: DataResubmissionHandler<br>Method or attribute name: |web.d.ts|
|Added|NA|Module name: web<br>Class name: DataResubmissionHandler<br>Method or attribute name: resend(): void;|web.d.ts|
|Added|NA|Class name: DataResubmissionHandler<br>Method or attribute name: resend(): void;|web.d.ts|
|Added|NA|Module name: web<br>Class name: DataResubmissionHandler<br>Method or attribute name: cancel(): void;|web.d.ts|
|Added|NA|Class name: DataResubmissionHandler<br>Method or attribute name: cancel(): void;|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuSourceType|web.d.ts|
|Added|NA|Class name: ContextMenuSourceType<br>Method or attribute name: |web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuSourceType<br>Method or attribute name: None|web.d.ts|
|Added|NA|Class name: ContextMenuSourceType<br>Method or attribute name: None|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuSourceType<br>Method or attribute name: Mouse|web.d.ts|
|Added|NA|Class name: ContextMenuSourceType<br>Method or attribute name: Mouse|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuSourceType<br>Method or attribute name: LongPress|web.d.ts|
|Added|NA|Class name: ContextMenuSourceType<br>Method or attribute name: LongPress|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuMediaType|web.d.ts|
|Added|NA|Class name: ContextMenuMediaType<br>Method or attribute name: |web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuMediaType<br>Method or attribute name: None|web.d.ts|
|Added|NA|Class name: ContextMenuMediaType<br>Method or attribute name: None|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuMediaType<br>Method or attribute name: Image|web.d.ts|
|Added|NA|Class name: ContextMenuMediaType<br>Method or attribute name: Image|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuInputFieldType|web.d.ts|
|Added|NA|Class name: ContextMenuInputFieldType<br>Method or attribute name: |web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuInputFieldType<br>Method or attribute name: None|web.d.ts|
|Added|NA|Class name: ContextMenuInputFieldType<br>Method or attribute name: None|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuInputFieldType<br>Method or attribute name: PlainText|web.d.ts|
|Added|NA|Class name: ContextMenuInputFieldType<br>Method or attribute name: PlainText|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuInputFieldType<br>Method or attribute name: Password|web.d.ts|
|Added|NA|Class name: ContextMenuInputFieldType<br>Method or attribute name: Password|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuInputFieldType<br>Method or attribute name: Number|web.d.ts|
|Added|NA|Class name: ContextMenuInputFieldType<br>Method or attribute name: Number|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuInputFieldType<br>Method or attribute name: Telephone|web.d.ts|
|Added|NA|Class name: ContextMenuInputFieldType<br>Method or attribute name: Telephone|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuInputFieldType<br>Method or attribute name: Other|web.d.ts|
|Added|NA|Class name: ContextMenuInputFieldType<br>Method or attribute name: Other|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuEditStateFlags|web.d.ts|
|Added|NA|Class name: ContextMenuEditStateFlags<br>Method or attribute name: |web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuEditStateFlags<br>Method or attribute name: NONE = 0|web.d.ts|
|Added|NA|Class name: ContextMenuEditStateFlags<br>Method or attribute name: NONE = 0|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuEditStateFlags<br>Method or attribute name: CAN_CUT = 1 << 0|web.d.ts|
|Added|NA|Class name: ContextMenuEditStateFlags<br>Method or attribute name: CAN_CUT = 1 << 0|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuEditStateFlags<br>Method or attribute name: CAN_COPY = 1 << 1|web.d.ts|
|Added|NA|Class name: ContextMenuEditStateFlags<br>Method or attribute name: CAN_COPY = 1 << 1|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuEditStateFlags<br>Method or attribute name: CAN_PASTE = 1 << 2|web.d.ts|
|Added|NA|Class name: ContextMenuEditStateFlags<br>Method or attribute name: CAN_PASTE = 1 << 2|web.d.ts|
|Added|NA|Module name: web<br>Class name: ContextMenuEditStateFlags<br>Method or attribute name: CAN_SELECT_ALL = 1 << 3|web.d.ts|
|Added|NA|Class name: ContextMenuEditStateFlags<br>Method or attribute name: CAN_SELECT_ALL = 1 << 3|web.d.ts|
|Added|NA|Class name: WebContextMenuParam<br>Method or attribute name: getUnfilteredLinkUrl(): string;|web.d.ts|
|Added|NA|Class name: WebContextMenuParam<br>Method or attribute name: getMediaType(): ContextMenuMediaType;|web.d.ts|
|Added|NA|Class name: WebContextMenuParam<br>Method or attribute name: getSelectionText(): string;|web.d.ts|
|Added|NA|Class name: WebContextMenuParam<br>Method or attribute name: getSourceType(): ContextMenuSourceType;|web.d.ts|
|Added|NA|Class name: WebContextMenuParam<br>Method or attribute name: getInputFieldType(): ContextMenuInputFieldType;|web.d.ts|
|Added|NA|Class name: WebContextMenuParam<br>Method or attribute name: isEditable(): boolean;|web.d.ts|
|Added|NA|Class name: WebContextMenuParam<br>Method or attribute name: getEditStateFlags(): number;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebContextMenuResult<br>Method or attribute name: copy(): void;|web.d.ts|
|Added|NA|Class name: WebContextMenuResult<br>Method or attribute name: copy(): void;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebContextMenuResult<br>Method or attribute name: paste(): void;|web.d.ts|
|Added|NA|Class name: WebContextMenuResult<br>Method or attribute name: paste(): void;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebContextMenuResult<br>Method or attribute name: cut(): void;|web.d.ts|
|Added|NA|Class name: WebContextMenuResult<br>Method or attribute name: cut(): void;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebContextMenuResult<br>Method or attribute name: selectAll(): void;|web.d.ts|
|Added|NA|Class name: WebContextMenuResult<br>Method or attribute name: selectAll(): void;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebResourceRequest<br>Method or attribute name: getRequestMethod(): string;|web.d.ts|
|Added|NA|Class name: WebResourceRequest<br>Method or attribute name: getRequestMethod(): string;|web.d.ts|
|Added|NA|Class name: WebResourceResponse<br>Method or attribute name: setResponseIsReady(IsReady: boolean);|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: darkMode(mode: WebDarkMode): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: darkMode(mode: WebDarkMode): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: forceDarkAccess(access: boolean): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: forceDarkAccess(access: boolean): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: onInterceptKeyEvent(callback: (event: KeyEvent) => boolean): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: onInterceptKeyEvent(callback: (event: KeyEvent) => boolean): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: webStandardFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: webStandardFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: webSerifFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: webSerifFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: webSansSerifFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: webSansSerifFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: webFixedFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: webFixedFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: webFantasyFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: webFantasyFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: webCursiveFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: webCursiveFont(family: string): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: defaultFixedFontSize(size: number): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: defaultFixedFontSize(size: number): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: defaultFontSize(size: number): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: defaultFontSize(size: number): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: minFontSize(size: number): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: minFontSize(size: number): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: minLogicalFontSize(size: number): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: minLogicalFontSize(size: number): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: blockNetwork(block: boolean): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: blockNetwork(block: boolean): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: horizontalScrollBarAccess(horizontalScrollBar: boolean): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: horizontalScrollBarAccess(horizontalScrollBar: boolean): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: verticalScrollBarAccess(verticalScrollBar: boolean): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: verticalScrollBarAccess(verticalScrollBar: boolean): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: onTouchIconUrlReceived(callback: (event: {url: string,<br> precomposed: boolean}) => void): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: onTouchIconUrlReceived(callback: (event: {url: string,<br> precomposed: boolean}) => void): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: onFaviconReceived(callback: (event: {favicon: PixelMap}) => void): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: onFaviconReceived(callback: (event: {favicon: PixelMap}) => void): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: onPageVisible(callback: (event: {url: string}) => void): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: onPageVisible(callback: (event: {url: string}) => void): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: onDataResubmitted(callback: (event: {handler: DataResubmissionHandler}) => void): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: onDataResubmitted(callback: (event: {handler: DataResubmissionHandler}) => void): WebAttribute;|web.d.ts|
|Added|NA|Module name: web<br>Class name: WebAttribute<br>Method or attribute name: pinchSmooth(isEnabled: boolean): WebAttribute;|web.d.ts|
|Added|NA|Class name: WebAttribute<br>Method or attribute name: pinchSmooth(isEnabled: boolean): WebAttribute;|web.d.ts|
|Deleted|Module name: web<br>Class name: WebContextMenuParam<br>Method or attribute name: getUnfilterendLinkUrl(): string;|NA|web.d.ts|
|Access level changed|Class name: SubscribedAbstractProperty<br>Access level: system API|Class name: SubscribedAbstractProperty<br>Access level: public API|common_ts_ets_api.d.ts|
|Access level changed|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract get(): T;<br>Access level: system API|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract get(): T;<br>Access level: public API|common_ts_ets_api.d.ts|
|Access level changed|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract set(newValue: T): void;<br>Access level: system API|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract set(newValue: T): void;<br>Access level: public API|common_ts_ets_api.d.ts|
|Deprecated version changed|Class name: Edge<br>Method or attribute name: Center<br>Deprecated version: N/A|Class name: Edge<br>Method or attribute name: Center<br>Deprecated version: 9<br>Substitute API: N/A|enums.d.ts|
|Deprecated version changed|Class name: Edge<br>Method or attribute name: Baseline<br>Deprecated version: N/A|Class name: Edge<br>Method or attribute name: Baseline<br>Deprecated version: 9<br>Substitute API: N/A|enums.d.ts|
|Deprecated version changed|Class name: Edge<br>Method or attribute name: Middle<br>Deprecated version: N/A|Class name: Edge<br>Method or attribute name: Middle<br>Deprecated version: 9<br>Substitute API: N/A|enums.d.ts|
|Deprecated version changed|Class name: ImageAnimatorAttribute<br>Method or attribute name: preDecode(value: number): ImageAnimatorAttribute;<br>Deprecated version: N/A|Class name: ImageAnimatorAttribute<br>Method or attribute name: preDecode(value: number): ImageAnimatorAttribute;<br>Deprecated version: 9<br>Substitute API: N/A|image_animator.d.ts|
|Deprecated version changed|Class name: ListAttribute<br>Method or attribute name: editMode(value: boolean): ListAttribute;<br>Deprecated version: N/A|Class name: ListAttribute<br>Method or attribute name: editMode(value: boolean): ListAttribute;<br>Deprecated version: 9<br>Substitute API: N/A|list.d.ts|
|Deprecated version changed|Class name: ListAttribute<br>Method or attribute name: onItemDelete(event: (index: number) => boolean): ListAttribute;<br>Deprecated version: N/A|Class name: ListAttribute<br>Method or attribute name: onItemDelete(event: (index: number) => boolean): ListAttribute;<br>Deprecated version: 9<br>Substitute API: N/A|list.d.ts|
|Deprecated version changed|Class name: EditMode<br>Deprecated version: N/A|Class name: EditMode<br>Deprecated version: 9<br>Substitute API: N/A|list_item.d.ts|
|Deprecated version changed|Class name: ListItemAttribute<br>Method or attribute name: editable(value: boolean \| EditMode): ListItemAttribute;<br>Deprecated version: N/A|Class name: ListItemAttribute<br>Method or attribute name: editable(value: boolean \| EditMode): ListItemAttribute;<br>Deprecated version: 9<br>Substitute API: N/A|list_item.d.ts|
|Deprecated version changed|Class name: ScrollDirection<br>Method or attribute name: Free<br>Deprecated version: N/A|Class name: ScrollDirection<br>Method or attribute name: Free<br>Deprecated version: 9<br>Substitute API: N/A|scroll.d.ts|
|Deprecated version changed|Class name: Scroller<br>Method or attribute name: scrollPage(value: { next: boolean; direction?: Axis });<br>Deprecated version: N/A|Class name: Scroller<br>Method or attribute name: scrollPage(value: { next: boolean; direction?: Axis });<br>Deprecated version: 9<br>Substitute API: N/A|scroll.d.ts|
|Deprecated version changed|Class name: SliderAttribute<br>Method or attribute name: minLabel(value: string): SliderAttribute;<br>Deprecated version: N/A|Class name: SliderAttribute<br>Method or attribute name: minLabel(value: string): SliderAttribute;<br>Deprecated version: 9<br>Substitute API: min |slider.d.ts|
|Deprecated version changed|Class name: SliderAttribute<br>Method or attribute name: maxLabel(value: string): SliderAttribute;<br>Deprecated version: N/A|Class name: SliderAttribute<br>Method or attribute name: maxLabel(value: string): SliderAttribute;<br>Deprecated version: 9<br>Substitute API: max |slider.d.ts|
|Initial version changed|Class name: SubscribedAbstractProperty<br>Initial version: 7|Class name: SubscribedAbstractProperty<br>Initial version: 9|common_ts_ets_api.d.ts|
|Initial version changed|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract get(): T;<br>Initial version: 7|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract get(): T;<br>Initial version: 9|common_ts_ets_api.d.ts|
|Initial version changed|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract set(newValue: T): void;<br>Initial version: 7|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract set(newValue: T): void;<br>Initial version: 9|common_ts_ets_api.d.ts|
|Initial version changed|Class name: NavigationAttribute<br>Method or attribute name: title(value: string \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle): NavigationAttribute;<br>Initial version: 8|Class name: NavigationAttribute<br>Method or attribute name: title(value: string \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle): NavigationAttribute;<br>Initial version: 9|navigation.d.ts|
|Access level changed|Class name: SubscribedAbstractProperty<br>Access level: system API|Class name: SubscribedAbstractProperty<br>Access level: public API|common_ts_ets_api.d.ts|
|Access level changed|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract get(): T;<br>Access level: system API|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract get(): T;<br>Access level: public API|common_ts_ets_api.d.ts|
|Access level changed|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract set(newValue: T): void;<br>Access level: system API|Class name: SubscribedAbstractProperty<br>Method or attribute name: abstract set(newValue: T): void;<br>Access level: public API|common_ts_ets_api.d.ts|
|Function changed|Class name: AbilityComponentInterface<br>Method or attribute name: (value: {want: import('../api/@ohos.application.Want').default}): AbilityComponentAttribute;<br>|Class name: AbilityComponentInterface<br>Method or attribute name: (value: {want: import('../api/@ohos.app.ability.Want').default}): AbilityComponentAttribute;<br>|ability_component.d.ts|
|Function changed|Class name: FormComponentInterface<br>Method or attribute name: (value: {<br> id: number;<br> name: string;<br> bundle: string;<br> ability: string;<br> module: string;<br> dimension?: FormDimension;<br> temporary?: boolean;<br> want?: import('../api/@ohos.application.Want').default;<br> }): FormComponentAttribute;<br>|Class name: FormComponentInterface<br>Method or attribute name: (value: {<br> id: number;<br> name: string;<br> bundle: string;<br> ability: string;<br> module: string;<br> dimension?: FormDimension;<br> temporary?: boolean;<br> want?: import('../api/@ohos.app.ability.Want').default;<br> }): FormComponentAttribute;<br>|form_component.d.ts|
|Function changed|Class name: ControllerHandler<br>Method or attribute name: setWebController(controller: WebController): void;<br>|Class name: ControllerHandler<br>Method or attribute name: setWebController(controller: WebviewController): void;<br>|web.d.ts|
|Function changed|Class name: WebResourceResponse<br>Method or attribute name: setResponseData(data: string);<br>|Class name: WebResourceResponse<br>Method or attribute name: setResponseData(data: string \| number);<br>|web.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|Class name: connectedTag<br>Method or attribute name: function initialize(): void;|@ohos.connectedTag.d.ts|
|Added|NA|Class name: connectedTag<br>Method or attribute name: function uninitialize(): void;|@ohos.connectedTag.d.ts|
|Added|NA|Class name: connectedTag<br>Method or attribute name: function read(): Promise<number[]>;|@ohos.connectedTag.d.ts|
|Added|NA|Class name: connectedTag<br>Method or attribute name: function read(callback: AsyncCallback<number[]>): void;|@ohos.connectedTag.d.ts|
|Added|NA|Class name: connectedTag<br>Method or attribute name: function write(data: number[]): Promise<void>;|@ohos.connectedTag.d.ts|
|Added|NA|Class name: connectedTag<br>Method or attribute name: function write(data: number[], callback: AsyncCallback<void>): void;|@ohos.connectedTag.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function isSharingSupported(callback: AsyncCallback<boolean>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function isSharingSupported(): Promise<boolean>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function isSharing(callback: AsyncCallback<boolean>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function isSharing(): Promise<boolean>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function startSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function startSharing(type: SharingIfaceType): Promise<void>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function stopSharing(type: SharingIfaceType, callback: AsyncCallback<void>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function stopSharing(type: SharingIfaceType): Promise<void>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getStatsRxBytes(callback: AsyncCallback<number>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getStatsRxBytes(): Promise<number>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getStatsTxBytes(callback: AsyncCallback<number>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getStatsTxBytes(): Promise<number>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getStatsTotalBytes(callback: AsyncCallback<number>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getStatsTotalBytes(): Promise<number>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback<Array<string>>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise<Array<string>>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getSharingState(type: SharingIfaceType, callback: AsyncCallback<SharingIfaceState>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getSharingState(type: SharingIfaceType): Promise<SharingIfaceState>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback<Array<string>>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise<Array<string>>;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function on(type: 'sharingStateChange', callback: Callback<boolean>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function off(type: 'sharingStateChange', callback?: Callback<boolean>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function on(type: 'interfaceSharingStateChange', callback: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function off(type: 'interfaceSharingStateChange', callback?: Callback<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function on(type: 'sharingUpstreamChange', callback: Callback<NetHandle>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: sharing<br>Method or attribute name: function off(type: 'sharingUpstreamChange', callback?: Callback<NetHandle>): void;|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: SharingIfaceState|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: SharingIfaceState<br>Method or attribute name: SHARING_NIC_SERVING = 1|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: SharingIfaceState<br>Method or attribute name: SHARING_NIC_CAN_SERVER = 2|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: SharingIfaceState<br>Method or attribute name: SHARING_NIC_ERROR = 3|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: SharingIfaceType|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: SharingIfaceType<br>Method or attribute name: SHARING_WIFI = 0|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: SharingIfaceType<br>Method or attribute name: SHARING_USB = 1|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.net.sharing<br>Class name: SharingIfaceType<br>Method or attribute name: SHARING_BLUETOOTH = 2|@ohos.net.sharing.d.ts|
|Added|NA|Module name: ohos.nfc.cardEmulation<br>Class name: CardType|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: CardType<br>Method or attribute name: |@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Module name: ohos.nfc.cardEmulation<br>Class name: CardType<br>Method or attribute name: PAYMENT = "payment"|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: CardType<br>Method or attribute name: PAYMENT = "payment"|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Module name: ohos.nfc.cardEmulation<br>Class name: CardType<br>Method or attribute name: OTHER = "other"|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: CardType<br>Method or attribute name: OTHER = "other"|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: cardEmulation<br>Method or attribute name: function hasHceCapability(): boolean;|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: cardEmulation<br>Method or attribute name: function isDefaultService(elementName: ElementName, type: CardType): boolean;|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: HceService<br>Method or attribute name: start(elementName: ElementName, aidList: string[]): void|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: HceService<br>Method or attribute name: stop(elementName: ElementName): void|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: HceService<br>Method or attribute name: transmit(response: number[]): Promise<void>;|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: HceService<br>Method or attribute name: transmit(response: number[], callback: AsyncCallback<void>): void;|@ohos.nfc.cardEmulation.d.ts|
|Added|NA|Class name: nfcController<br>Method or attribute name: function enableNfc(): void|@ohos.nfc.controller.d.ts|
|Added|NA|Class name: nfcController<br>Method or attribute name: function disableNfc(): void|@ohos.nfc.controller.d.ts|
|Added|NA|Class name: tag<br>Method or attribute name: function getNfcA(tagInfo: TagInfo): NfcATag|@ohos.nfc.tag.d.ts|
|Added|NA|Class name: tag<br>Method or attribute name: function getNfcB(tagInfo: TagInfo): NfcBTag|@ohos.nfc.tag.d.ts|
|Added|NA|Class name: tag<br>Method or attribute name: function getNfcF(tagInfo: TagInfo): NfcFTag|@ohos.nfc.tag.d.ts|
|Added|NA|Class name: tag<br>Method or attribute name: function getNfcV(tagInfo: TagInfo): NfcVTag|@ohos.nfc.tag.d.ts|
|Added|NA|Class name: wifiManager<br>Method or attribute name: function p2pCancelConnect(): void;|@ohos.wifiManager.d.ts|
|Added|NA|Class name: TagSession<br>Method or attribute name: connect(): void;|tagSession.d.ts|
|Added|NA|Class name: TagSession<br>Method or attribute name: resetConnection(): void;|tagSession.d.ts|
|Added|NA|Class name: TagSession<br>Method or attribute name: isConnected(): boolean;|tagSession.d.ts|
|Added|NA|Class name: TagSession<br>Method or attribute name: setTimeout(timeout: number): void;|tagSession.d.ts|
|Added|NA|Class name: TagSession<br>Method or attribute name: getTimeout(): number;|tagSession.d.ts|
|Added|NA|Class name: TagSession<br>Method or attribute name: transmit(data: number[]): Promise<number[]>;|tagSession.d.ts|
|Added|NA|Class name: TagSession<br>Method or attribute name: transmit(data: number[], callback: AsyncCallback<number[]>): void;|tagSession.d.ts|
|Added|NA|Class name: TagSession<br>Method or attribute name: getMaxTransmitSize(): number;|tagSession.d.ts|
|Deleted|Module name: ohos.wifiManager<br>Class name: wifiManager<br>Method or attribute name: function p2pDisconnect(): void;|NA|@ohos.wifiManager.d.ts|
|Deprecated version changed|Class name: connectedTag<br>Method or attribute name: function init(): boolean;<br>Deprecated version: N/A|Class name: connectedTag<br>Method or attribute name: function init(): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.connectedTag/connectedTag|@ohos.connectedTag.d.ts|
|Deprecated version changed|Class name: connectedTag<br>Method or attribute name: function uninit(): boolean;<br>Deprecated version: N/A|Class name: connectedTag<br>Method or attribute name: function uninit(): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.connectedTag/connectedTag|@ohos.connectedTag.d.ts|
|Deprecated version changed|Class name: connectedTag<br>Method or attribute name: function readNdefTag(): Promise<string>;<br>Deprecated version: N/A|Class name: connectedTag<br>Method or attribute name: function readNdefTag(): Promise<string>;<br>Deprecated version: 9<br>Substitute API: ohos.connectedTag/connectedTag|@ohos.connectedTag.d.ts|
|Deprecated version changed|Class name: connectedTag<br>Method or attribute name: function readNdefTag(callback: AsyncCallback<string>): void;<br>Deprecated version: N/A|Class name: connectedTag<br>Method or attribute name: function readNdefTag(callback: AsyncCallback<string>): void;<br>Deprecated version: 9|@ohos.connectedTag.d.ts|
|Deprecated version changed|Class name: connectedTag<br>Method or attribute name: function writeNdefTag(data: string): Promise<void>;<br>Deprecated version: N/A|Class name: connectedTag<br>Method or attribute name: function writeNdefTag(data: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.connectedTag/connectedTag|@ohos.connectedTag.d.ts|
|Deprecated version changed|Class name: connectedTag<br>Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: connectedTag<br>Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.connectedTag.d.ts|
|Deprecated version changed|Class name: FeatureType<br>Deprecated version: N/A|Class name: FeatureType<br>Deprecated version: 9<br>Substitute API: ohos.nfc.cardEmulation/cardEmulation|@ohos.nfc.cardEmulation.d.ts|
|Deprecated version changed|Class name: cardEmulation<br>Method or attribute name: function isSupported(feature: number): boolean;<br>Deprecated version: N/A|Class name: cardEmulation<br>Method or attribute name: function isSupported(feature: number): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.nfc.cardEmulation/cardEmulation|@ohos.nfc.cardEmulation.d.ts|
|Deprecated version changed|Class name: HceService<br>Method or attribute name: startHCE(aidList: string[]): boolean;<br>Deprecated version: N/A|Class name: HceService<br>Method or attribute name: startHCE(aidList: string[]): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.nfc.cardEmulation/cardEmulation.HceService|@ohos.nfc.cardEmulation.d.ts|
|Deprecated version changed|Class name: HceService<br>Method or attribute name: stopHCE(): boolean;<br>Deprecated version: N/A|Class name: HceService<br>Method or attribute name: stopHCE(): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.nfc.cardEmulation/cardEmulation.HceService|@ohos.nfc.cardEmulation.d.ts|
|Deprecated version changed|Class name: HceService<br>Method or attribute name: sendResponse(responseApdu: number[]): void;<br>Deprecated version: N/A|Class name: HceService<br>Method or attribute name: sendResponse(responseApdu: number[]): void;<br>Deprecated version: 9<br>Substitute API: ohos.nfc.cardEmulation/cardEmulation.HceService|@ohos.nfc.cardEmulation.d.ts|
|Deprecated version changed|Class name: nfcController<br>Method or attribute name: function isNfcAvailable(): boolean<br>Deprecated version: N/A|Class name: nfcController<br>Method or attribute name: function isNfcAvailable(): boolean<br>Deprecated version: 9<br>Substitute API: global|@ohos.nfc.controller.d.ts|
|Deprecated version changed|Class name: nfcController<br>Method or attribute name: function openNfc(): boolean<br>Deprecated version: N/A|Class name: nfcController<br>Method or attribute name: function openNfc(): boolean<br>Deprecated version: 9<br>Substitute API: @ohos.nfc.controller.nfcController|@ohos.nfc.controller.d.ts|
|Deprecated version changed|Class name: nfcController<br>Method or attribute name: function closeNfc(): boolean<br>Deprecated version: N/A|Class name: nfcController<br>Method or attribute name: function closeNfc(): boolean<br>Deprecated version: 9<br>Substitute API: @ohos.nfc.controller.nfcController|@ohos.nfc.controller.d.ts|
|Deprecated version changed|Class name: tag<br>Method or attribute name: function getNfcATag(tagInfo: TagInfo): NfcATag<br>Deprecated version: N/A|Class name: tag<br>Method or attribute name: function getNfcATag(tagInfo: TagInfo): NfcATag<br>Deprecated version: 9<br>Substitute API: ohos.nfc.tag/tag|@ohos.nfc.tag.d.ts|
|Deprecated version changed|Class name: tag<br>Method or attribute name: function getNfcBTag(tagInfo: TagInfo): NfcBTag<br>Deprecated version: N/A|Class name: tag<br>Method or attribute name: function getNfcBTag(tagInfo: TagInfo): NfcBTag<br>Deprecated version: 9<br>Substitute API: ohos.nfc.tag/tag|@ohos.nfc.tag.d.ts|
|Deprecated version changed|Class name: tag<br>Method or attribute name: function getNfcFTag(tagInfo: TagInfo): NfcFTag<br>Deprecated version: N/A|Class name: tag<br>Method or attribute name: function getNfcFTag(tagInfo: TagInfo): NfcFTag<br>Deprecated version: 9<br>Substitute API: ohos.nfc.tag/tag|@ohos.nfc.tag.d.ts|
|Deprecated version changed|Class name: tag<br>Method or attribute name: function getNfcVTag(tagInfo: TagInfo): NfcVTag<br>Deprecated version: N/A|Class name: tag<br>Method or attribute name: function getNfcVTag(tagInfo: TagInfo): NfcVTag<br>Deprecated version: 9<br>Substitute API: ohos.nfc.tag/tag|@ohos.nfc.tag.d.ts|
|Deprecated version changed|Class name: TagSession<br>Method or attribute name: getTagInfo(): tag.TagInfo;<br>Deprecated version: N/A|Class name: TagSession<br>Method or attribute name: getTagInfo(): tag.TagInfo;<br>Deprecated version: 9<br>Substitute API: ohos.nfc.tag/tag|tagSession.d.ts|
|Deprecated version changed|Class name: TagSession<br>Method or attribute name: connectTag(): boolean;<br>Deprecated version: N/A|Class name: TagSession<br>Method or attribute name: connectTag(): boolean;<br>Deprecated version: 9<br>Substitute API: tagSession.TagSession|tagSession.d.ts|
|Deprecated version changed|Class name: TagSession<br>Method or attribute name: reset(): void;<br>Deprecated version: N/A|Class name: TagSession<br>Method or attribute name: reset(): void;<br>Deprecated version: 9<br>Substitute API: tagSession.TagSession|tagSession.d.ts|
|Deprecated version changed|Class name: TagSession<br>Method or attribute name: isTagConnected(): boolean;<br>Deprecated version: N/A|Class name: TagSession<br>Method or attribute name: isTagConnected(): boolean;<br>Deprecated version: 9<br>Substitute API: tagSession.TagSession|tagSession.d.ts|
|Deprecated version changed|Class name: TagSession<br>Method or attribute name: setSendDataTimeout(timeout: number): boolean;<br>Deprecated version: N/A|Class name: TagSession<br>Method or attribute name: setSendDataTimeout(timeout: number): boolean;<br>Deprecated version: 9<br>Substitute API: tagSession.TagSession|tagSession.d.ts|
|Deprecated version changed|Class name: TagSession<br>Method or attribute name: getSendDataTimeout(): number;<br>Deprecated version: N/A|Class name: TagSession<br>Method or attribute name: getSendDataTimeout(): number;<br>Deprecated version: 9<br>Substitute API: tagSession.TagSession|tagSession.d.ts|
|Deprecated version changed|Class name: TagSession<br>Method or attribute name: sendData(data: number[]): Promise<number[]>;<br>Deprecated version: N/A|Class name: TagSession<br>Method or attribute name: sendData(data: number[]): Promise<number[]>;<br>Deprecated version: 9<br>Substitute API: tagSession.TagSession|tagSession.d.ts|
|Deprecated version changed|Class name: TagSession<br>Method or attribute name: sendData(data: number[], callback: AsyncCallback<number[]>): void;<br>Deprecated version: N/A|Class name: TagSession<br>Method or attribute name: sendData(data: number[], callback: AsyncCallback<number[]>): void;<br>Deprecated version: 9|tagSession.d.ts|
|Deprecated version changed|Class name: TagSession<br>Method or attribute name: getMaxSendLength(): number;<br>Deprecated version: N/A|Class name: TagSession<br>Method or attribute name: getMaxSendLength(): number;<br>Deprecated version: 9<br>Substitute API: tagSession.TagSession|tagSession.d.ts|
|Initial version changed|Class name: FeatureType<br>Initial version: N/A|Class name: FeatureType<br>Initial version: 6|@ohos.nfc.cardEmulation.d.ts|
|Permission changed|Class name: A2dpSourceProfile<br>Method or attribute name: connect(device: string): boolean;<br>Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: A2dpSourceProfile<br>Method or attribute name: connect(device: string): boolean;<br>Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts|
|Permission changed|Class name: A2dpSourceProfile<br>Method or attribute name: disconnect(device: string): boolean;<br>Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: A2dpSourceProfile<br>Method or attribute name: disconnect(device: string): boolean;<br>Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts|
|Permission changed|Class name: HandsFreeAudioGatewayProfile<br>Method or attribute name: connect(device: string): boolean;<br>Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: HandsFreeAudioGatewayProfile<br>Method or attribute name: connect(device: string): boolean;<br>Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts|
|Permission changed|Class name: HandsFreeAudioGatewayProfile<br>Method or attribute name: disconnect(device: string): boolean;<br>Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: HandsFreeAudioGatewayProfile<br>Method or attribute name: disconnect(device: string): boolean;<br>Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts|
|Permission changed|Class name: HidHostProfile<br>Method or attribute name: connect(device: string): boolean;<br>Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: HidHostProfile<br>Method or attribute name: connect(device: string): boolean;<br>Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts|
|Permission changed|Class name: HidHostProfile<br>Method or attribute name: disconnect(device: string): boolean;<br>Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: HidHostProfile<br>Method or attribute name: disconnect(device: string): boolean;<br>Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts|
|Permission changed|Class name: PanProfile<br>Method or attribute name: disconnect(device: string): boolean;<br>Permission: permission ohos.permission.USE_BLUETOOTH|Class name: PanProfile<br>Method or attribute name: disconnect(device: string): boolean;<br>Permission: ohos.permission.USE_BLUETOOTH|@ohos.bluetooth.d.ts|
|Permission changed|Class name: PanProfile<br>Method or attribute name: setTethering(enable: boolean): void;<br>Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: PanProfile<br>Method or attribute name: setTethering(enable: boolean): void;<br>Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts|
|Permission changed|Class name: connectedTag<br>Method or attribute name: function init(): boolean;<br>Permission: s ohos.permission.NFC_TAG|Class name: connectedTag<br>Method or attribute name: function init(): boolean;<br>Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts|
|Permission changed|Class name: connectedTag<br>Method or attribute name: function uninit(): boolean;<br>Permission: s ohos.permission.NFC_TAG|Class name: connectedTag<br>Method or attribute name: function uninit(): boolean;<br>Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts|
|Permission changed|Class name: connectedTag<br>Method or attribute name: function readNdefTag(): Promise<string>;<br>Permission: s ohos.permission.NFC_TAG|Class name: connectedTag<br>Method or attribute name: function readNdefTag(): Promise<string>;<br>Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts|
|Permission changed|Class name: connectedTag<br>Method or attribute name: function readNdefTag(callback: AsyncCallback<string>): void;<br>Permission: s ohos.permission.NFC_TAG|Class name: connectedTag<br>Method or attribute name: function readNdefTag(callback: AsyncCallback<string>): void;<br>Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts|
|Permission changed|Class name: connectedTag<br>Method or attribute name: function writeNdefTag(data: string): Promise<void>;<br>Permission: s ohos.permission.NFC_TAG|Class name: connectedTag<br>Method or attribute name: function writeNdefTag(data: string): Promise<void>;<br>Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts|
|Permission changed|Class name: connectedTag<br>Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback<void>): void;<br>Permission: s ohos.permission.NFC_TAG|Class name: connectedTag<br>Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback<void>): void;<br>Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts|
|Permission changed|Class name: connectedTag<br>Method or attribute name: function on(type: "notify", callback: Callback<number>): void;<br>Permission: s ohos.permission.NFC_TAG|Class name: connectedTag<br>Method or attribute name: function on(type: "notify", callback: Callback<number>): void;<br>Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts|
|Permission changed|Class name: connectedTag<br>Method or attribute name: function off(type: "notify", callback?:Callback<number>): void;<br>Permission: s ohos.permission.NFC_TAG|Class name: connectedTag<br>Method or attribute name: function off(type: "notify", callback?:Callback<number>): void;<br>Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts|
|Permission deleted|Class name: tag<br>Method or attribute name: function getNfcATag(tagInfo: TagInfo): NfcATag<br>Permission: ohos.permission.NFC_TAG|Class name: tag<br>Method or attribute name: function getNfcATag(tagInfo: TagInfo): NfcATag<br>Permission: N/A|@ohos.nfc.tag.d.ts|
|Permission deleted|Class name: tag<br>Method or attribute name: function getNfcBTag(tagInfo: TagInfo): NfcBTag<br>Permission: ohos.permission.NFC_TAG|Class name: tag<br>Method or attribute name: function getNfcBTag(tagInfo: TagInfo): NfcBTag<br>Permission: N/A|@ohos.nfc.tag.d.ts|
|Permission deleted|Class name: tag<br>Method or attribute name: function getNfcFTag(tagInfo: TagInfo): NfcFTag<br>Permission: ohos.permission.NFC_TAG|Class name: tag<br>Method or attribute name: function getNfcFTag(tagInfo: TagInfo): NfcFTag<br>Permission: N/A|@ohos.nfc.tag.d.ts|
|Permission deleted|Class name: tag<br>Method or attribute name: function getNfcVTag(tagInfo: TagInfo): NfcVTag<br>Permission: ohos.permission.NFC_TAG|Class name: tag<br>Method or attribute name: function getNfcVTag(tagInfo: TagInfo): NfcVTag<br>Permission: N/A|@ohos.nfc.tag.d.ts|
|Permission deleted|Class name: NfcATag<br>Method or attribute name: getSak(): number;<br>Permission: ohos.permission.NFC_TAG|Class name: NfcATag<br>Method or attribute name: getSak(): number;<br>Permission: N/A|nfctech.d.ts|
|Permission deleted|Class name: NfcATag<br>Method or attribute name: getAtqa(): number[];<br>Permission: ohos.permission.NFC_TAG|Class name: NfcATag<br>Method or attribute name: getAtqa(): number[];<br>Permission: N/A|nfctech.d.ts|
|Permission deleted|Class name: NfcBTag<br>Method or attribute name: getRespAppData(): number[];<br>Permission: ohos.permission.NFC_TAG|Class name: NfcBTag<br>Method or attribute name: getRespAppData(): number[];<br>Permission: N/A|nfctech.d.ts|
|Permission deleted|Class name: NfcBTag<br>Method or attribute name: getRespProtocol(): number[];<br>Permission: ohos.permission.NFC_TAG|Class name: NfcBTag<br>Method or attribute name: getRespProtocol(): number[];<br>Permission: N/A|nfctech.d.ts|
|Permission deleted|Class name: NfcFTag<br>Method or attribute name: getSystemCode(): number[];<br>Permission: ohos.permission.NFC_TAG|Class name: NfcFTag<br>Method or attribute name: getSystemCode(): number[];<br>Permission: N/A|nfctech.d.ts|
|Permission deleted|Class name: NfcFTag<br>Method or attribute name: getPmm(): number[];<br>Permission: ohos.permission.NFC_TAG|Class name: NfcFTag<br>Method or attribute name: getPmm(): number[];<br>Permission: N/A|nfctech.d.ts|
|Permission deleted|Class name: NfcVTag<br>Method or attribute name: getResponseFlags(): number;<br>Permission: ohos.permission.NFC_TAG|Class name: NfcVTag<br>Method or attribute name: getResponseFlags(): number;<br>Permission: N/A|nfctech.d.ts|
|Permission deleted|Class name: NfcVTag<br>Method or attribute name: getDsfId(): number;<br>Permission: ohos.permission.NFC_TAG|Class name: NfcVTag<br>Method or attribute name: getDsfId(): number;<br>Permission: N/A|nfctech.d.ts|
|Permission deleted|Class name: TagSession<br>Method or attribute name: isTagConnected(): boolean;<br>Permission: ohos.permission.NFC_TAG|Class name: TagSession<br>Method or attribute name: isTagConnected(): boolean;<br>Permission: N/A|tagSession.d.ts|
|Permission added|Class name: connection<br>Method or attribute name: function hasDefaultNet(callback: AsyncCallback<boolean>): void;<br>Permission: N/A|Class name: connection<br>Method or attribute name: function hasDefaultNet(callback: AsyncCallback<boolean>): void;<br>Permission: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts|
|Permission added|Class name: connection<br>Method or attribute name: function hasDefaultNet(): Promise<boolean>;<br>Permission: N/A|Class name: connection<br>Method or attribute name: function hasDefaultNet(): Promise<boolean>;<br>Permission: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts|
|Function changed|Class name: wifiManager<br>Method or attribute name: function disconnect(): boolean;<br>|Class name: wifiManager<br>Method or attribute name: function disconnect(): void;<br>|@ohos.wifiManager.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|Class name: distributedKVStore<br>Method or attribute name: function createKVManager(config: KVManagerConfig): KVManager;|@ohos.data.distributedKVStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: relationalStore|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: relationalStore<br>Method or attribute name: type ValuesBucket = { [key:string]: ValueType \| Uint8Array \| null;}|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: relationalStore<br>Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback<RdbStore>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: relationalStore<br>Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise<RdbStore>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: relationalStore<br>Method or attribute name: function deleteRdbStore(context: Context, name: string, callback: AsyncCallback<void>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: relationalStore<br>Method or attribute name: function deleteRdbStore(context: Context, name: string): Promise<void>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SyncMode|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SyncMode<br>Method or attribute name: SYNC_MODE_PUSH = 0|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SyncMode<br>Method or attribute name: SYNC_MODE_PULL = 1|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SubscribeType|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SubscribeType<br>Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 0|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SecurityLevel|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SecurityLevel<br>Method or attribute name: S1 = 1|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SecurityLevel<br>Method or attribute name: S2 = 2|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SecurityLevel<br>Method or attribute name: S3 = 3|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: SecurityLevel<br>Method or attribute name: S4 = 4|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback<number>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: insert(table: string, values: ValuesBucket): Promise<number>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>, callback: AsyncCallback<number>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>): Promise<number>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates, callback: AsyncCallback<number>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates): Promise<number>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: delete(predicates: RdbPredicates, callback: AsyncCallback<number>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: delete(predicates: RdbPredicates): Promise<number>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: query(predicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: query(predicates: RdbPredicates, columns ?: Array<string>): Promise<ResultSet>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array<string>): Promise<ResultSet>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: Array<string>): Promise<ResultSet>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: querySql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<ResultSet>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: querySql(sql: string, bindArgs ?: Array<ValueType>): Promise<ResultSet>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: executeSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<void>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: executeSql(sql: string, bindArgs ?: Array<ValueType>): Promise<void>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: beginTransaction(): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: commit(): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: rollBack(): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: backup(destName: string, callback: AsyncCallback<void>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: backup(destName: string): Promise<void>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: restore(srcName: string, callback: AsyncCallback<void>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: restore(srcName: string): Promise<void>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: setDistributedTables(tables: Array<string>, callback: AsyncCallback<void>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: setDistributedTables(tables: Array<string>): Promise<void>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback<string>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise<string>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback<Array<[ string, number ]>>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates): Promise<Array<[ string, number ]>>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback<Array<string>>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbStore<br>Method or attribute name: off(event: 'dataChange', type: SubscribeType, observer: Callback<Array<string>>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: StoreConfig|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: StoreConfig<br>Method or attribute name: name: string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: StoreConfig<br>Method or attribute name: securityLevel: SecurityLevel;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: StoreConfig<br>Method or attribute name: encrypt ?: boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: constructor(name: string)|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: inDevices(devices: Array<string>): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: inAllDevices(): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: equalTo(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: notEqualTo(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: beginWrap(): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: endWrap(): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: or(): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: and(): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: contains(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: beginsWith(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: endsWith(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: isNull(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: isNotNull(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: like(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: glob(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: between(field: string, low: ValueType, high: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: greaterThan(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: lessThan(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: orderByAsc(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: orderByDesc(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: distinct(): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: limitAs(value: number): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: offsetAs(rowOffset: number): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: groupBy(fields: Array<string>): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: indexedBy(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: in(field: string, value: Array<ValueType>): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: RdbPredicates<br>Method or attribute name: notIn(field: string, value: Array<ValueType>): RdbPredicates;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: columnNames: Array<string>;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: columnCount: number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: rowCount: number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: rowIndex: number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: isAtFirstRow: boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: isAtLastRow: boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: isEnded: boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: isStarted: boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: isClosed: boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: getColumnIndex(columnName: string): number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: getColumnName(columnIndex: number): string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: goTo(offset: number): boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: goToRow(position: number): boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: goToFirstRow(): boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: goToLastRow(): boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: goToNextRow(): boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: goToPreviousRow(): boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: getBlob(columnIndex: number): Uint8Array;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: getString(columnIndex: number): string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: getLong(columnIndex: number): number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: getDouble(columnIndex: number): number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: isColumnNull(columnIndex: number): boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Module name: ohos.data.relationalStore<br>Class name: ResultSet<br>Method or attribute name: close(): void;|@ohos.data.relationalStore.d.ts|
|Model changed|Class name: dataSharePredicates<br>Model: N/A|Class name: dataSharePredicates<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Model: N/A|Class name: DataSharePredicates<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: notEqualTo(field: string, value: ValueType): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: notEqualTo(field: string, value: ValueType): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: beginWrap(): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: beginWrap(): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: endWrap(): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: endWrap(): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: or(): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: or(): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: and(): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: and(): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: contains(field: string, value: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: contains(field: string, value: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: beginsWith(field: string, value: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: beginsWith(field: string, value: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: endsWith(field: string, value: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: endsWith(field: string, value: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: isNull(field: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: isNull(field: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: isNotNull(field: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: isNotNull(field: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: like(field: string, value: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: like(field: string, value: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: unlike(field: string, value: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: unlike(field: string, value: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: glob(field: string, value: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: glob(field: string, value: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: between(field: string, low: ValueType, high: ValueType): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: between(field: string, low: ValueType, high: ValueType): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: greaterThan(field: string, value: ValueType): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: greaterThan(field: string, value: ValueType): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: lessThan(field: string, value: ValueType): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: lessThan(field: string, value: ValueType): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: orderByAsc(field: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: orderByAsc(field: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: orderByDesc(field: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: orderByDesc(field: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: distinct(): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: distinct(): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: limit(total: number, offset: number): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: limit(total: number, offset: number): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: groupBy(fields: Array<string>): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: groupBy(fields: Array<string>): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: indexedBy(field: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: indexedBy(field: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: in(field: string, value: Array<ValueType>): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: in(field: string, value: Array<ValueType>): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: notIn(field: string, value: Array<ValueType>): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: notIn(field: string, value: Array<ValueType>): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: prefixKey(prefix: string): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: prefixKey(prefix: string): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataSharePredicates<br>Method or attribute name: inKeys(keys: Array<string>): DataSharePredicates;<br>Model: N/A|Class name: DataSharePredicates<br>Method or attribute name: inKeys(keys: Array<string>): DataSharePredicates;<br>Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts|
|Model changed|Class name: DataType<br>Model: N/A|Class name: DataType<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataType<br>Method or attribute name: TYPE_NULL = 0<br>Model: N/A|Class name: DataType<br>Method or attribute name: TYPE_NULL = 0<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataType<br>Method or attribute name: TYPE_LONG = 1<br>Model: N/A|Class name: DataType<br>Method or attribute name: TYPE_LONG = 1<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataType<br>Method or attribute name: TYPE_DOUBLE = 2<br>Model: N/A|Class name: DataType<br>Method or attribute name: TYPE_DOUBLE = 2<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataType<br>Method or attribute name: TYPE_STRING = 3<br>Model: N/A|Class name: DataType<br>Method or attribute name: TYPE_STRING = 3<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataType<br>Method or attribute name: TYPE_BLOB = 4<br>Model: N/A|Class name: DataType<br>Method or attribute name: TYPE_BLOB = 4<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Model: N/A|Class name: DataShareResultSet<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: columnNames: Array<string>;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: columnNames: Array<string>;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: columnCount: number;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: columnCount: number;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: rowCount: number;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: rowCount: number;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: isClosed: boolean;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: isClosed: boolean;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: goToFirstRow(): boolean;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: goToFirstRow(): boolean;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: goToLastRow(): boolean;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: goToLastRow(): boolean;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: goToNextRow(): boolean;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: goToNextRow(): boolean;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: goToPreviousRow(): boolean;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: goToPreviousRow(): boolean;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: goTo(offset: number): boolean;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: goTo(offset: number): boolean;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: goToRow(position: number): boolean;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: goToRow(position: number): boolean;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: getBlob(columnIndex: number): Uint8Array;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: getBlob(columnIndex: number): Uint8Array;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: getString(columnIndex: number): string;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: getString(columnIndex: number): string;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: getLong(columnIndex: number): number;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: getLong(columnIndex: number): number;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: getDouble(columnIndex: number): number;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: getDouble(columnIndex: number): number;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: close(): void;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: close(): void;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: getColumnIndex(columnName: string): number;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: getColumnIndex(columnName: string): number;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: getColumnName(columnIndex: number): string;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: getColumnName(columnIndex: number): string;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: DataShareResultSet<br>Method or attribute name: getDataType(columnIndex: number): DataType;<br>Model: N/A|Class name: DataShareResultSet<br>Method or attribute name: getDataType(columnIndex: number): DataType;<br>Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts|
|Model changed|Class name: SingleKVStore<br>Method or attribute name: putBatch(value: Array<ValuesBucket>, callback: AsyncCallback<void>): void;<br>Model: N/A|Class name: SingleKVStore<br>Method or attribute name: putBatch(value: Array<ValuesBucket>, callback: AsyncCallback<void>): void;<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Model changed|Class name: SingleKVStore<br>Method or attribute name: putBatch(value: Array<ValuesBucket>): Promise<void>;<br>Model: N/A|Class name: SingleKVStore<br>Method or attribute name: putBatch(value: Array<ValuesBucket>): Promise<void>;<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Model changed|Class name: SingleKVStore<br>Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<void>);<br>Model: N/A|Class name: SingleKVStore<br>Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<void>);<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Model changed|Class name: SingleKVStore<br>Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates): Promise<void>;<br>Model: N/A|Class name: SingleKVStore<br>Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates): Promise<void>;<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Model changed|Class name: SingleKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KVStoreResultSet>): void;<br>Model: N/A|Class name: SingleKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KVStoreResultSet>): void;<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Model changed|Class name: SingleKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>Model: N/A|Class name: SingleKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Model changed|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KVStoreResultSet>): void;<br>Model: N/A|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KVStoreResultSet>): void;<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Model changed|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>Model: N/A|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Model changed|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KVStoreResultSet>): void;<br>Model: N/A|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KVStoreResultSet>): void;<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Model changed|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>Model: N/A|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts|
|Access level changed|Class name: dataSharePredicates<br>Access level: public API|Class name: dataSharePredicates<br>Access level: system API|@ohos.data.dataSharePredicates.d.ts|
|Deprecated version changed|Class name: rdb<br>Method or attribute name: type ValuesBucket = { [key:string]: ValueType \| Uint8Array \| null;<br>}<br>Deprecated version: N/A|Class name: rdb<br>Method or attribute name: type ValuesBucket = { [key:string]: ValueType \| Uint8Array \| null;<br>}<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ValuesBucket |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: rdb<br>Method or attribute name: function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number, callback: AsyncCallback<RdbStoreV9>): void;<br>Deprecated version: N/A|Class name: rdb<br>Method or attribute name: function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number, callback: AsyncCallback<RdbStoreV9>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.getRdbStore |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: rdb<br>Method or attribute name: function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number): Promise<RdbStoreV9>;<br>Deprecated version: N/A|Class name: rdb<br>Method or attribute name: function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number): Promise<RdbStoreV9>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: rdb<br>Method or attribute name: function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: rdb<br>Method or attribute name: function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.getRdbStore |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: rdb<br>Method or attribute name: function deleteRdbStoreV9(context: Context, name: string): Promise<void>;<br>Deprecated version: N/A|Class name: rdb<br>Method or attribute name: function deleteRdbStoreV9(context: Context, name: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.getRdbStore |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SyncMode<br>Deprecated version: N/A|Class name: SyncMode<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SyncMode |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SyncMode<br>Method or attribute name: SYNC_MODE_PUSH = 0<br>Deprecated version: N/A|Class name: SyncMode<br>Method or attribute name: SYNC_MODE_PUSH = 0<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SyncMode.SYNC_MODE_PUSH |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SyncMode<br>Method or attribute name: SYNC_MODE_PULL = 1<br>Deprecated version: N/A|Class name: SyncMode<br>Method or attribute name: SYNC_MODE_PULL = 1<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SyncMode.SYNC_MODE_PULL |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SubscribeType<br>Deprecated version: N/A|Class name: SubscribeType<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SubscribeType |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SubscribeType<br>Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 0<br>Deprecated version: N/A|Class name: SubscribeType<br>Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 0<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SubscribeType.SUBSCRIBE_TYPE_REMOTE |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SecurityLevel<br>Deprecated version: N/A|Class name: SecurityLevel<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SecurityLevel |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SecurityLevel<br>Method or attribute name: S1 = 1<br>Deprecated version: N/A|Class name: SecurityLevel<br>Method or attribute name: S1 = 1<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SubscribeType.SecurityLevel.S1 |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SecurityLevel<br>Method or attribute name: S2 = 2<br>Deprecated version: N/A|Class name: SecurityLevel<br>Method or attribute name: S2 = 2<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SubscribeType.SecurityLevel.S2 |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SecurityLevel<br>Method or attribute name: S3 = 3<br>Deprecated version: N/A|Class name: SecurityLevel<br>Method or attribute name: S3 = 3<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SubscribeType.SecurityLevel.S3 |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: SecurityLevel<br>Method or attribute name: S4 = 4<br>Deprecated version: N/A|Class name: SecurityLevel<br>Method or attribute name: S4 = 4<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.SubscribeType.SecurityLevel.S4 |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.insert |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: insert(table: string, values: ValuesBucket): Promise<number>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: insert(table: string, values: ValuesBucket): Promise<number>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.insert |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.batchInsert |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>): Promise<number>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>): Promise<number>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.batchInsert |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.update |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9): Promise<number>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9): Promise<number>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.update |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.update |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.update |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: delete(predicates: RdbPredicatesV9, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: delete(predicates: RdbPredicatesV9, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.delete |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: delete(predicates: RdbPredicatesV9): Promise<number>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: delete(predicates: RdbPredicatesV9): Promise<number>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.delete |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.delete |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.delete |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: query(predicates: RdbPredicatesV9, columns: Array<string>, callback: AsyncCallback<ResultSetV9>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: query(predicates: RdbPredicatesV9, columns: Array<string>, callback: AsyncCallback<ResultSetV9>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.query |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: query(predicates: RdbPredicatesV9, columns ?: Array<string>): Promise<ResultSetV9>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: query(predicates: RdbPredicatesV9, columns ?: Array<string>): Promise<ResultSetV9>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.query |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns: Array<string>, callback: AsyncCallback<ResultSetV9>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns: Array<string>, callback: AsyncCallback<ResultSetV9>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.query |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array<string>): Promise<ResultSetV9>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array<string>): Promise<ResultSetV9>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.query |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicatesV9, columns: Array<string>, callback: AsyncCallback<ResultSetV9>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicatesV9, columns: Array<string>, callback: AsyncCallback<ResultSetV9>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.remoteQuery |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicatesV9, columns: Array<string>): Promise<ResultSetV9>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicatesV9, columns: Array<string>): Promise<ResultSetV9>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.remoteQuery |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: querySql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<ResultSetV9>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: querySql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<ResultSetV9>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.querySql |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: querySql(sql: string, bindArgs ?: Array<ValueType>): Promise<ResultSetV9>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: querySql(sql: string, bindArgs ?: Array<ValueType>): Promise<ResultSetV9>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.querySql |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: executeSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: executeSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.executeSql |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: executeSql(sql: string, bindArgs ?: Array<ValueType>): Promise<void>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: executeSql(sql: string, bindArgs ?: Array<ValueType>): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.executeSql |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: beginTransaction(): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: beginTransaction(): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.beginTransaction |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: commit(): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: commit(): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.commit |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: rollBack(): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: rollBack(): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.rollBack |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: backup(destName: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: backup(destName: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.backup |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: backup(destName: string): Promise<void>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: backup(destName: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.backup |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: restore(srcName: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: restore(srcName: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.restore |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: restore(srcName: string): Promise<void>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: restore(srcName: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.restore |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: setDistributedTables(tables: Array<string>, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: setDistributedTables(tables: Array<string>, callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.setDistributedTables |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: setDistributedTables(tables: Array<string>): Promise<void>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: setDistributedTables(tables: Array<string>): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.setDistributedTables |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback<string>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback<string>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.obtainDistributedTableName |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise<string>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise<string>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.obtainDistributedTableName |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicatesV9, callback: AsyncCallback<Array<[ string, number ]>>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicatesV9, callback: AsyncCallback<Array<[ string, number ]>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.sync |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicatesV9): Promise<Array<[ string, number ]>>;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicatesV9): Promise<Array<[ string, number ]>>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.sync |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback<Array<string>>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback<Array<string>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.on |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbStoreV9<br>Method or attribute name: off(event: 'dataChange', type: SubscribeType, observer: Callback<Array<string>>): void;<br>Deprecated version: N/A|Class name: RdbStoreV9<br>Method or attribute name: off(event: 'dataChange', type: SubscribeType, observer: Callback<Array<string>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbStore.off |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: StoreConfigV9<br>Deprecated version: N/A|Class name: StoreConfigV9<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.StoreConfig |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: StoreConfigV9<br>Method or attribute name: name: string;<br>Deprecated version: N/A|Class name: StoreConfigV9<br>Method or attribute name: name: string;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.StoreConfig.name |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: StoreConfigV9<br>Method or attribute name: securityLevel: SecurityLevel;<br>Deprecated version: N/A|Class name: StoreConfigV9<br>Method or attribute name: securityLevel: SecurityLevel;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.StoreConfig.securityLevel |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: StoreConfigV9<br>Method or attribute name: encrypt ?: boolean;<br>Deprecated version: N/A|Class name: StoreConfigV9<br>Method or attribute name: encrypt ?: boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.StoreConfig.encrypt |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: constructor(name: string)<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: constructor(name: string)<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.constructor |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: inDevices(devices: Array<string>): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: inDevices(devices: Array<string>): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.inDevices |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: inAllDevices(): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: inAllDevices(): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.inAllDevices |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: equalTo(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: equalTo(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.equalTo |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: notEqualTo(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: notEqualTo(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.notEqualTo |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: beginWrap(): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: beginWrap(): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.beginWrap |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: endWrap(): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: endWrap(): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.endWrap |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: or(): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: or(): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.or |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: and(): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: and(): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.and |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: contains(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: contains(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.contains |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: beginsWith(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: beginsWith(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.beginsWith |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: endsWith(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: endsWith(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.endsWith |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: isNull(field: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: isNull(field: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.isNull |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: isNotNull(field: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: isNotNull(field: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.isNotNull |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: like(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: like(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.like |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: glob(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: glob(field: string, value: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.glob |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: between(field: string, low: ValueType, high: ValueType): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: between(field: string, low: ValueType, high: ValueType): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.between |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.notBetween |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: greaterThan(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: greaterThan(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.greaterThan |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: lessThan(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: lessThan(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.lessThan |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.greaterThanOrEqualTo |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.lessThanOrEqualTo |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: orderByAsc(field: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: orderByAsc(field: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.orderByAsc |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: orderByDesc(field: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: orderByDesc(field: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.orderByDesc |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: distinct(): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: distinct(): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.distinct |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: limitAs(value: number): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: limitAs(value: number): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.limitAs |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: offsetAs(rowOffset: number): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: offsetAs(rowOffset: number): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.offsetAs |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: groupBy(fields: Array<string>): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: groupBy(fields: Array<string>): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.groupBy |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: indexedBy(field: string): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: indexedBy(field: string): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.indexedBy |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: in(field: string, value: Array<ValueType>): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: in(field: string, value: Array<ValueType>): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.in |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: RdbPredicatesV9<br>Method or attribute name: notIn(field: string, value: Array<ValueType>): RdbPredicatesV9;<br>Deprecated version: N/A|Class name: RdbPredicatesV9<br>Method or attribute name: notIn(field: string, value: Array<ValueType>): RdbPredicatesV9;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.RdbPredicates.notIn |@ohos.data.rdb.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Deprecated version: N/A|Class name: ResultSetV9<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: columnNames: Array<string>;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: columnNames: Array<string>;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.columnNames |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: columnCount: number;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: columnCount: number;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.columnCount |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: rowCount: number;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: rowCount: number;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.rowCount |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: rowIndex: number;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: rowIndex: number;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.rowIndex |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: isAtFirstRow: boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: isAtFirstRow: boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.isAtFirstRow |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: isAtLastRow: boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: isAtLastRow: boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.isAtLastRow |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: isEnded: boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: isEnded: boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.isEnded |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: isStarted: boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: isStarted: boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.isStarted |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: isClosed: boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: isClosed: boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.isClosed |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: getColumnIndex(columnName: string): number;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: getColumnIndex(columnName: string): number;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.getColumnIndex |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: getColumnName(columnIndex: number): string;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: getColumnName(columnIndex: number): string;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.getColumnName |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: goTo(offset: number): boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: goTo(offset: number): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.goTo |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: goToRow(position: number): boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: goToRow(position: number): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.goToRow |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: goToFirstRow(): boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: goToFirstRow(): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.goToFirstRow |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: goToLastRow(): boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: goToLastRow(): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.goToLastRow |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: goToNextRow(): boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: goToNextRow(): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.goToNextRow |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: goToPreviousRow(): boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: goToPreviousRow(): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.goToPreviousRow |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: getBlob(columnIndex: number): Uint8Array;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: getBlob(columnIndex: number): Uint8Array;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.getBlob |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: getString(columnIndex: number): string;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: getString(columnIndex: number): string;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.getString |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: getLong(columnIndex: number): number;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: getLong(columnIndex: number): number;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.getLong |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: getDouble(columnIndex: number): number;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: getDouble(columnIndex: number): number;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.getDouble |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: isColumnNull(columnIndex: number): boolean;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: isColumnNull(columnIndex: number): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.isColumnNull |resultSet.d.ts|
|Deprecated version changed|Class name: ResultSetV9<br>Method or attribute name: close(): void;<br>Deprecated version: N/A|Class name: ResultSetV9<br>Method or attribute name: close(): void;<br>Deprecated version: 9<br>Substitute API: ohos.data.relationalStore.ResultSet.close |resultSet.d.ts|
|Initial version changed|Class name: dataSharePredicates<br>Initial version: N/A|Class name: dataSharePredicates<br>Initial version: 9|@ohos.data.dataSharePredicates.d.ts|
|Permission deleted|Class name: SubscribeType<br>Permission: ohos.permission.DISTRIBUTED_DATASYNC|Class name: SubscribeType<br>Permission: N/A|@ohos.data.rdb.d.ts|
|Access level changed|Class name: dataSharePredicates<br>Access level: public API|Class name: dataSharePredicates<br>Access level: system API|@ohos.data.dataSharePredicates.d.ts|
|Function changed|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>|@ohos.data.distributedKVStore.d.ts|
|Function changed|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>|Class name: DeviceKVStore<br>Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;<br>|@ohos.data.distributedKVStore.d.ts|
|Function changed|Class name: RdbStoreV9<br>Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;<br>|Class name: RdbStoreV9<br>Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9): Promise<number>;<br>|@ohos.data.rdb.d.ts|
|Function changed|Class name: RdbStoreV9<br>Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9): Promise<number>;<br>|Class name: RdbStoreV9<br>Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;<br>|@ohos.data.rdb.d.ts|
|Function changed|Class name: RdbStoreV9<br>Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;<br>|Class name: RdbStoreV9<br>Method or attribute name: delete(predicates: RdbPredicatesV9): Promise<number>;<br>|@ohos.data.rdb.d.ts|
|Function changed|Class name: RdbStoreV9<br>Method or attribute name: delete(predicates: RdbPredicatesV9): Promise<number>;<br>|Class name: RdbStoreV9<br>Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;<br>|@ohos.data.rdb.d.ts|
|Function changed|Class name: RdbStoreV9<br>Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array<string>): Promise<ResultSetV9>;<br>|Class name: RdbStoreV9<br>Method or attribute name: query(predicates: RdbPredicatesV9, columns ?: Array<string>): Promise<ResultSetV9>;<br>|@ohos.data.rdb.d.ts|
|Function changed|Class name: RdbStoreV9<br>Method or attribute name: query(predicates: RdbPredicatesV9, columns ?: Array<string>): Promise<ResultSetV9>;<br>|Class name: RdbStoreV9<br>Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array<string>): Promise<ResultSetV9>;<br>|@ohos.data.rdb.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Module name: ohos.file.environment<br>Class name: Environment|@ohos.file.environment.d.ts|
|Added|NA|Module name: ohos.file.environment<br>Class name: Environment<br>Method or attribute name: function getStorageDataDir(): Promise<string>;|@ohos.file.environment.d.ts|
|Added|NA|Module name: ohos.file.environment<br>Class name: Environment<br>Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;|@ohos.file.environment.d.ts|
|Added|NA|Module name: ohos.file.environment<br>Class name: Environment<br>Method or attribute name: function getUserDataDir(): Promise<string>;|@ohos.file.environment.d.ts|
|Added|NA|Module name: ohos.file.environment<br>Class name: Environment<br>Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;|@ohos.file.environment.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback<Array<Want>>): void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function createFileAccessHelper(context: Context, wants: Array<Want>): FileAccessHelper;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: uri: string;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: fileName: string;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mode: number;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: size: number;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mtime: number;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mimeType: string;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileIterator|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileIterator<br>Method or attribute name: next(): {value: FileInfo, done: boolean}|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: deviceType: number;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: uri: string;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: displayName: string;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: deviceFlags: number;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootIterator|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootIterator<br>Method or attribute name: next(): {value: RootInfo, done: boolean}|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: OPENFLAGS|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: READ = 0o0|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: WRITE = 0o1|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: WRITE_READ = 0o2|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise<number>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: createFile(uri: string, displayName: string) : Promise<string>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise<string>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: delete(uri: string) : Promise<number>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: delete(uri: string, callback: AsyncCallback<number>) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: move(sourceFile: string, destFile: string) : Promise<string>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: rename(uri: string, displayName: string) : Promise<string>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: access(sourceFileUri: string) : Promise<boolean>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: getRoots(): Promise<RootIterator>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: getRoots(callback:AsyncCallback<RootIterator>) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: fileExtensionInfo|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_LOCAL_DISK = 1|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_SHARED_DISK|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_SHARED_TERMINAL|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_MTP|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_USB|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_CLOUD|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceFlag|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceFlag<br>Method or attribute name: const SUPPORTS_READ = 0b1;|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceFlag<br>Method or attribute name: const SUPPORTS_WRITE = 0b10;|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const REPRESENTS_FILE = 0b1;|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const REPRESENTS_DIR = 0b10;|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const SUPPORTS_READ = 0b100;|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const SUPPORTS_WRITE = 0b1000;|@ohos.file.fileExtensionInfo.d.ts|
|Added|NA|Module name: ohos.file.fileuri<br>Class name: fileUri|@ohos.file.fileuri.d.ts|
|Added|NA|Module name: ohos.file.fileuri<br>Class name: fileUri<br>Method or attribute name: function getUriFromPath(path: string): string;|@ohos.file.fileuri.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function access(path: string): Promise<boolean>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function access(path: string, callback: AsyncCallback<boolean>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function accessSync(path: string): boolean;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function close(file: number \| File): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function close(file: number \| File, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function closeSync(fd: number \| File): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function createStream(path: string, mode: string): Promise<Stream>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function createStreamSync(path: string, mode: string): Stream;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function fdatasync(fd: number): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function fdatasyncSync(fd: number): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function fdopenStream(fd: number, mode: string): Promise<Stream>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function fsync(fd: number): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function fsync(fd: number, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function fsyncSync(fd: number): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function lstat(path: string): Promise<Stat>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function lstat(path: string, callback: AsyncCallback<Stat>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function lstatSync(path: string): Stat;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdir(path: string): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdir(path: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdirSync(path: string): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdtemp(prefix: string): Promise<string>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdtempSync(prefix: string): string;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function readText(filePath: string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise<string>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function readText(filePath: string, callback: AsyncCallback<string>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function readText(filePath: string, options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback<string>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function readTextSync(filePath: string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}): string;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function rename(oldPath: string, newPath: string): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function renameSync(oldPath: string, newPath: string): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function rmdir(path: string): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function rmdir(path: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function rmdirSync(path: string): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function symlink(target: string, srcPath: string): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function symlinkSync(target: string, srcPath: string): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function unlink(path: string): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function unlink(path: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: fileIo<br>Method or attribute name: function unlinkSync(path: string): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stat<br>Method or attribute name: readonly ino: bigint;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: |@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: close(): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: close(): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: close(callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: close(callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: closeSync(): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: closeSync(): void;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: flush(): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: flush(): Promise<void>;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: flush(callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: flush(callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: flushSync(): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: flushSync(): void;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }): Promise<number>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }): Promise<number>;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: writeSync(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }): number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: writeSync(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }): number;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: read(buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> }): Promise<number>;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: read(buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> }): Promise<number>;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: read(buffer: ArrayBuffer, options: {<br> offset?: number;<br> length?: number;<br> }, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: read(buffer: ArrayBuffer, options: {<br> offset?: number;<br> length?: number;<br> }, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: readSync(buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> }): number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream<br>Method or attribute name: readSync(buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> }): number;|@ohos.file.fs.d.ts|
|Added|NA|Module name: ohos.file.hash<br>Class name: Hash|@ohos.file.hash.d.ts|
|Added|NA|Module name: ohos.file.hash<br>Class name: Hash<br>Method or attribute name: function hash(path: string, algorithm: string): Promise<string>;|@ohos.file.hash.d.ts|
|Added|NA|Module name: ohos.file.hash<br>Class name: Hash<br>Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;|@ohos.file.hash.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabel(path: string, type: dataLevel): Promise<void>;|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabel(path: string, type: dataLevel, callback: AsyncCallback<void>): void;|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabelSync(path: string, type: dataLevel): void;|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabel(path: string): Promise<string>;|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabel(path: string, callback: AsyncCallback<string>): void;|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabelSync(path: string): string;|@ohos.file.securityLabel.d.ts|
|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs|@ohos.file.statvfs.d.ts|
|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs<br>Method or attribute name: function getFreeSize(path: string): Promise<number>;|@ohos.file.statvfs.d.ts|
|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs<br>Method or attribute name: function getFreeSize(path: string, callback: AsyncCallback<number>): void;|@ohos.file.statvfs.d.ts|
|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs<br>Method or attribute name: function getTotalSize(path: string): Promise<number>;|@ohos.file.statvfs.d.ts|
|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs<br>Method or attribute name: function getTotalSize(path: string, callback: AsyncCallback<number>): void;|@ohos.file.statvfs.d.ts|
|Added|NA|Module name: ohos.fileshare<br>Class name: fileShare|@ohos.fileshare.d.ts|
|Added|NA|Module name: ohos.fileshare<br>Class name: fileShare<br>Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags, callback: AsyncCallback<void>): void;|@ohos.fileshare.d.ts|
|Added|NA|Module name: ohos.fileshare<br>Class name: fileShare<br>Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>;|@ohos.fileshare.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback<Array<Want>>): void;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function createFileAccessHelper(context: Context, wants: Array<Want>): FileAccessHelper;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: uri: string;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: fileName: string;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mode: number;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: size: number;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mtime: number;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mimeType: string;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileIterator|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileIterator<br>Method or attribute name: next(): {value: FileInfo, done: boolean}|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: deviceType: number;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: uri: string;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: displayName: string;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: deviceFlags: number;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootIterator|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootIterator<br>Method or attribute name: next(): {value: RootInfo, done: boolean}|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: OPENFLAGS|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: READ = 0o0|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: WRITE = 0o1|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: WRITE_READ = 0o2|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise<number>;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>) : void;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: createFile(uri: string, displayName: string) : Promise<string>;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>) : void;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise<string>;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>) : void;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: delete(uri: string) : Promise<number>;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: delete(uri: string, callback: AsyncCallback<number>) : void;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: move(sourceFile: string, destFile: string) : Promise<string>;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>) : void;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: rename(uri: string, displayName: string) : Promise<string>;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>) : void;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: access(sourceFileUri: string) : Promise<boolean>;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>) : void;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: getRoots(): Promise<RootIterator>;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: getRoots(callback:AsyncCallback<RootIterator>) : void;|NA|@ohos.data.fileAccess.d.ts|
|Deleted|Module name: ohos.environment<br>Class name: Environment|NA|@ohos.environment.d.ts|
|Deleted|Module name: ohos.environment<br>Class name: Environment<br>Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;|NA|@ohos.environment.d.ts|
|Deleted|Module name: ohos.environment<br>Class name: Environment<br>Method or attribute name: function getStorageDataDir(): Promise<string>;|NA|@ohos.environment.d.ts|
|Deleted|Module name: ohos.environment<br>Class name: Environment<br>Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;|NA|@ohos.environment.d.ts|
|Deleted|Module name: ohos.environment<br>Class name: Environment<br>Method or attribute name: function getUserDataDir(): Promise<string>;|NA|@ohos.environment.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: fileExtensionInfo|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_LOCAL_DISK = 1|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_SHARED_DISK|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_SHARED_TERMINAL|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_MTP|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_USB|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_CLOUD|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceFlag|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceFlag<br>Method or attribute name: const SUPPORTS_READ = 0b1;|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceFlag<br>Method or attribute name: const SUPPORTS_WRITE = 0b10;|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const REPRESENTS_FILE = 0b1;|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const REPRESENTS_DIR = 0b10;|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const SUPPORTS_READ = 0b100;|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const SUPPORTS_WRITE = 0b1000;|NA|@ohos.fileExtensionInfo.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabel(path:string, type:dataLevel, callback: AsyncCallback<void>): void;|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabel(path:string, type:dataLevel): Promise<void>;|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabelSync(path:string, type:dataLevel): void;|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabel(path:string, callback: AsyncCallback<string>): void;|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabel(path:string): Promise<string>;|NA|@ohos.securityLabel.d.ts|
|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabelSync(path:string): string;|NA|@ohos.securityLabel.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function access(path: string, mode?: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function access(path: string, mode?: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.access |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function access(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function access(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function accessSync(path: string, mode?: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function accessSync(path: string, mode?: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.accessSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function close(fd: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function close(fd: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.close |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function close(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function close(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function closeSync(fd: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function closeSync(fd: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.closeSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.copyFile |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.copyFileSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function createStream(path: string, mode: string): Promise<Stream>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function createStream(path: string, mode: string): Promise<Stream>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.createStream |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function createStreamSync(path: string, mode: string): Stream;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function createStreamSync(path: string, mode: string): Stream;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.createStreamSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chown(path: string, uid: number, gid: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chown(path: string, uid: number, gid: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chownSync(path: string, uid: number, gid: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chownSync(path: string, uid: number, gid: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chmod(path: string, mode: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chmod(path: string, mode: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chmod(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chmod(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chmodSync(path: string, mode: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chmodSync(path: string, mode: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fsync(fd: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fsync(fd: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fsync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fsync(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fsync(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fsyncSync(fd: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fsyncSync(fd: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fsyncSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdatasync(fd: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdatasync(fd: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fdatasync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdatasyncSync(fd: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdatasyncSync(fd: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fdatasyncSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchown(fd: number, uid: number, gid: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchown(fd: number, uid: number, gid: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchownSync(fd: number, uid: number, gid: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchownSync(fd: number, uid: number, gid: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchmod(fd: number, mode: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchmod(fd: number, mode: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchmodSync(fd: number, mode: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchmodSync(fd: number, mode: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdopenStream(fd: number, mode: string): Promise<Stream>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdopenStream(fd: number, mode: string): Promise<Stream>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fdopenStream |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fdopenStreamSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function hash(path: string, algorithm: string): Promise<string>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function hash(path: string, algorithm: string): Promise<string>;<br>Deprecated version: 9<br>Substitute API: ohos.file.hash.hash |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lchownSync(path: string, uid: number, gid: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lchownSync(path: string, uid: number, gid: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lstat(path: string): Promise<Stat>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lstat(path: string): Promise<Stat>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.lstat |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lstat(path: string, callback: AsyncCallback<Stat>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lstat(path: string, callback: AsyncCallback<Stat>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lstatSync(path: string): Stat;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lstatSync(path: string): Stat;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.lstatSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, mode?: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, mode?: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.mkdir |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdirSync(path: string, mode?: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdirSync(path: string, mode?: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.mkdirSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdtemp(prefix: string): Promise<string>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdtemp(prefix: string): Promise<string>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.mkdtemp |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdtempSync(prefix: string): string;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdtempSync(prefix: string): string;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.mkdtempSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function readText(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise<string>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function readText(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise<string>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.readText |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function readText(filePath: string, options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback<string>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function readText(filePath: string, options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback<string>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function readTextSync(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): string;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function readTextSync(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): string;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.readTextSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rename(oldPath: string, newPath: string): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rename(oldPath: string, newPath: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.rename |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function renameSync(oldPath: string, newPath: string): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function renameSync(oldPath: string, newPath: string): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.renameSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rmdir(path: string): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rmdir(path: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.rmdir |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rmdir(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rmdir(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rmdirSync(path: string): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rmdirSync(path: string): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.rmdirSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function symlink(target: string, srcPath: string): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function symlink(target: string, srcPath: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.symlink |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function symlinkSync(target: string, srcPath: string): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function symlinkSync(target: string, srcPath: string): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.symlinkSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function unlink(path: string): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function unlink(path: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.unlink |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function unlink(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function unlink(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function unlinkSync(path: string): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function unlinkSync(path: string): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.unlinkSync |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: Stream<br>Deprecated version: N/A|Class name: Stream<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.Stream |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: Statfs<br>Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: Statfs<br>Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.statvfs.getFreeSize |@ohos.statfs.d.ts|
|Deprecated version changed|Class name: Statfs<br>Method or attribute name: function getFreeBytes(path: string): Promise<number>;<br>Deprecated version: N/A|Class name: Statfs<br>Method or attribute name: function getFreeBytes(path: string): Promise<number>;<br>Deprecated version: 9|@ohos.statfs.d.ts|
|Deprecated version changed|Class name: Statfs<br>Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: Statfs<br>Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.statvfs.getTotalSize |@ohos.statfs.d.ts|
|Deprecated version changed|Class name: Statfs<br>Method or attribute name: function getTotalBytes(path: string): Promise<number>;<br>Deprecated version: N/A|Class name: Statfs<br>Method or attribute name: function getTotalBytes(path: string): Promise<number>;<br>Deprecated version: 9|@ohos.statfs.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function off(type: 'locationChange', callback?: Callback<Location>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function on(type: 'locationEnabledChange', callback: Callback<boolean>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function off(type: 'locationEnabledChange', callback?: Callback<boolean>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function on(type: 'cachedGnssLocationsChange', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function off(type: 'cachedGnssLocationsChange', callback?: Callback<Array<Location>>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function on(type: 'satelliteStatusChange', callback: Callback<SatelliteStatusInfo>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function off(type: 'satelliteStatusChange', callback?: Callback<SatelliteStatusInfo>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function on(type: 'nmeaMessage', callback: Callback<string>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function off(type: 'nmeaMessage', callback?: Callback<string>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function off(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getCurrentLocation(callback: AsyncCallback<Location>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getLastLocation(): Location;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function isLocationEnabled(): boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function disableLocation(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function isGeocoderAvailable(): boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function getCachedGnssLocationsSize(): Promise<number>;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback<void>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function flushCachedGnssLocations(): Promise<void>;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback<void>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function sendCommand(command: LocationCommand): Promise<void>;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function enableLocationMock(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function disableLocationMock(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function setMockedLocations(config: LocationMockConfig): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function enableReverseGeocodingMock(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function disableReverseGeocodingMock(): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockInfo>): void;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean;|@ohos.geoLocationManager.d.ts|
|Added|NA|Class name: geoLocationManager<br>Method or attribute name: function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void;|@ohos.geoLocationManager.d.ts|
|Deleted|Module name: ohos.geolocation<br>Class name: geolocation<br>Method or attribute name: function enableLocation(callback: AsyncCallback<boolean>): void;|NA|@ohos.geolocation.d.ts|
|Deleted|Module name: ohos.geolocation<br>Class name: geolocation<br>Method or attribute name: function enableLocation(): Promise<boolean>;|NA|@ohos.geolocation.d.ts|
|Deleted|Module name: ohos.geolocation<br>Class name: geolocation<br>Method or attribute name: function disableLocation(callback: AsyncCallback<boolean>): void;|NA|@ohos.geolocation.d.ts|
|Deleted|Module name: ohos.geolocation<br>Class name: geolocation<br>Method or attribute name: function disableLocation(): Promise<boolean>;|NA|@ohos.geolocation.d.ts|
|Deleted|Module name: ohos.geoLocationManager<br>Class name: GeofenceRequest<br>Method or attribute name: priority: LocationRequestPriority;|NA|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: location: ReverseGeoCodeRequest;<br>Access level: public API|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: location: ReverseGeoCodeRequest;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress: GeoAddress;<br>Access level: public API|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress: GeoAddress;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationMockConfig<br>Method or attribute name: timeInterval: number;<br>Access level: public API|Class name: LocationMockConfig<br>Method or attribute name: timeInterval: number;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationMockConfig<br>Method or attribute name: locations: Array<Location>;<br>Access level: public API|Class name: LocationMockConfig<br>Method or attribute name: locations: Array<Location>;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: GeoAddress<br>Method or attribute name: isFromMock?: Boolean;<br>Access level: public API|Class name: GeoAddress<br>Method or attribute name: isFromMock?: Boolean;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: Location<br>Method or attribute name: isFromMock?: Boolean;<br>Access level: public API|Class name: Location<br>Method or attribute name: isFromMock?: Boolean;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType<br>Access level: public API|Class name: LocationPrivacyType<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType<br>Method or attribute name: OTHERS = 0<br>Access level: public API|Class name: LocationPrivacyType<br>Method or attribute name: OTHERS = 0<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType<br>Method or attribute name: STARTUP<br>Access level: public API|Class name: LocationPrivacyType<br>Method or attribute name: STARTUP<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType<br>Method or attribute name: CORE_LOCATION<br>Access level: public API|Class name: LocationPrivacyType<br>Method or attribute name: CORE_LOCATION<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Deprecated version changed|Class name: geolocation<br>Deprecated version: N/A|Class name: geolocation<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function off(type: 'locationChange', callback?: Callback<Location>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function off(type: 'locationChange', callback?: Callback<Location>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function on(type: 'locationServiceState', callback: Callback<boolean>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function on(type: 'locationServiceState', callback: Callback<boolean>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function off(type: 'locationServiceState', callback?: Callback<boolean>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function off(type: 'locationServiceState', callback?: Callback<boolean>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function on(type: 'nmeaMessageChange', callback: Callback<string>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function on(type: 'nmeaMessageChange', callback: Callback<string>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function off(type: 'nmeaMessageChange', callback?: Callback<string>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function off(type: 'nmeaMessageChange', callback?: Callback<string>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.getCurrentLocation |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getCurrentLocation(callback: AsyncCallback<Location>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getCurrentLocation(callback: AsyncCallback<Location>): void;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getLastLocation(callback: AsyncCallback<Location>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getLastLocation(callback: AsyncCallback<Location>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.getLastLocation |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getLastLocation(): Promise<Location>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getLastLocation(): Promise<Location>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function isLocationEnabled(callback: AsyncCallback<boolean>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function isLocationEnabled(callback: AsyncCallback<boolean>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.isLocationEnabled |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function isLocationEnabled(): Promise<boolean>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function isLocationEnabled(): Promise<boolean>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function requestEnableLocation(callback: AsyncCallback<boolean>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function requestEnableLocation(callback: AsyncCallback<boolean>): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function requestEnableLocation(): Promise<boolean>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function requestEnableLocation(): Promise<boolean>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocation |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocationName |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.isGeocoderAvailable |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function isGeoServiceAvailable(): Promise<boolean>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function isGeoServiceAvailable(): Promise<boolean>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.getCachedGnssLocationsSize |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function getCachedGnssLocationsSize(): Promise<number>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function getCachedGnssLocationsSize(): Promise<number>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.flushCachedGnssLocations |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function flushCachedGnssLocations(): Promise<boolean>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function flushCachedGnssLocations(): Promise<boolean>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): void;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.sendCommand |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: geolocation<br>Method or attribute name: function sendCommand(command: LocationCommand): Promise<boolean>;<br>Deprecated version: N/A|Class name: geolocation<br>Method or attribute name: function sendCommand(command: LocationCommand): Promise<boolean>;<br>Deprecated version: 9|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: SatelliteStatusInfo<br>Deprecated version: N/A|Class name: SatelliteStatusInfo<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CachedGnssLocationsRequest<br>Deprecated version: N/A|Class name: CachedGnssLocationsRequest<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeofenceRequest<br>Deprecated version: N/A|Class name: GeofenceRequest<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.GeofenceRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Geofence<br>Deprecated version: N/A|Class name: Geofence<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.Geofence |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: ReverseGeoCodeRequest<br>Deprecated version: N/A|Class name: ReverseGeoCodeRequest<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoCodeRequest<br>Deprecated version: N/A|Class name: GeoCodeRequest<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoAddress<br>Deprecated version: N/A|Class name: GeoAddress<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequest<br>Deprecated version: N/A|Class name: LocationRequest<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: CurrentLocationRequest<br>Deprecated version: N/A|Class name: CurrentLocationRequest<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: Location<br>Deprecated version: N/A|Class name: Location<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.Location |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestPriority<br>Deprecated version: N/A|Class name: LocationRequestPriority<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationRequestScenario<br>Deprecated version: N/A|Class name: LocationRequestScenario<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeoLocationErrorCode<br>Deprecated version: N/A|Class name: GeoLocationErrorCode<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationPrivacyType<br>Deprecated version: N/A|Class name: LocationPrivacyType<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: LocationCommand<br>Deprecated version: N/A|Class name: LocationCommand<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.LocationCommand |@ohos.geolocation.d.ts|
|Deprecated version changed|Class name: GeolocationResponse<br>Deprecated version: N/A|Class name: GeolocationResponse<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.Location |@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationOption<br>Deprecated version: N/A|Class name: GetLocationOption<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest |@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeResponse<br>Deprecated version: N/A|Class name: GetLocationTypeResponse<br>Deprecated version: 9<br>Substitute API: N/A|@system.geolocation.d.ts|
|Deprecated version changed|Class name: GetLocationTypeOption<br>Deprecated version: N/A|Class name: GetLocationTypeOption<br>Deprecated version: 9<br>Substitute API: N/A|@system.geolocation.d.ts|
|Deprecated version changed|Class name: SubscribeLocationOption<br>Deprecated version: N/A|Class name: SubscribeLocationOption<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest |@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation<br>Deprecated version: N/A|Class name: Geolocation<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager |@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation<br>Method or attribute name: static getLocation(options?: GetLocationOption): void;<br>Deprecated version: N/A|Class name: Geolocation<br>Method or attribute name: static getLocation(options?: GetLocationOption): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.getCurrentLocation |@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation<br>Method or attribute name: static getLocationType(options?: GetLocationTypeOption): void;<br>Deprecated version: N/A|Class name: Geolocation<br>Method or attribute name: static getLocationType(options?: GetLocationTypeOption): void;<br>Deprecated version: 9<br>Substitute API: N/A|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation<br>Method or attribute name: static subscribe(options: SubscribeLocationOption): void;<br>Deprecated version: N/A|Class name: Geolocation<br>Method or attribute name: static subscribe(options: SubscribeLocationOption): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.on|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation<br>Method or attribute name: static unsubscribe(): void;<br>Deprecated version: N/A|Class name: Geolocation<br>Method or attribute name: static unsubscribe(): void;<br>Deprecated version: 9<br>Substitute API: ohos.geoLocationManager/geoLocationManager.off|@system.geolocation.d.ts|
|Deprecated version changed|Class name: Geolocation<br>Method or attribute name: static getSupportedCoordTypes(): Array<string>;<br>Deprecated version: N/A|Class name: Geolocation<br>Method or attribute name: static getSupportedCoordTypes(): Array<string>;<br>Deprecated version: 9<br>Substitute API: N/A|@system.geolocation.d.ts|
|Initial version changed|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: location: ReverseGeoCodeRequest;<br>Initial version: N/A|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: location: ReverseGeoCodeRequest;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress: GeoAddress;<br>Initial version: N/A|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress: GeoAddress;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationMockConfig<br>Method or attribute name: timeInterval: number;<br>Initial version: N/A|Class name: LocationMockConfig<br>Method or attribute name: timeInterval: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationMockConfig<br>Method or attribute name: locations: Array<Location>;<br>Initial version: N/A|Class name: LocationMockConfig<br>Method or attribute name: locations: Array<Location>;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo<br>Method or attribute name: satellitesNumber: number;<br>Initial version: N/A|Class name: SatelliteStatusInfo<br>Method or attribute name: satellitesNumber: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo<br>Method or attribute name: satelliteIds: Array<number>;<br>Initial version: N/A|Class name: SatelliteStatusInfo<br>Method or attribute name: satelliteIds: Array<number>;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo<br>Method or attribute name: carrierToNoiseDensitys: Array<number>;<br>Initial version: N/A|Class name: SatelliteStatusInfo<br>Method or attribute name: carrierToNoiseDensitys: Array<number>;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo<br>Method or attribute name: altitudes: Array<number>;<br>Initial version: N/A|Class name: SatelliteStatusInfo<br>Method or attribute name: altitudes: Array<number>;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo<br>Method or attribute name: azimuths: Array<number>;<br>Initial version: N/A|Class name: SatelliteStatusInfo<br>Method or attribute name: azimuths: Array<number>;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: SatelliteStatusInfo<br>Method or attribute name: carrierFrequencies: Array<number>;<br>Initial version: N/A|Class name: SatelliteStatusInfo<br>Method or attribute name: carrierFrequencies: Array<number>;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CachedGnssLocationsRequest<br>Method or attribute name: reportingPeriodSec: number;<br>Initial version: N/A|Class name: CachedGnssLocationsRequest<br>Method or attribute name: reportingPeriodSec: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CachedGnssLocationsRequest<br>Method or attribute name: wakeUpCacheQueueFull: boolean;<br>Initial version: N/A|Class name: CachedGnssLocationsRequest<br>Method or attribute name: wakeUpCacheQueueFull: boolean;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeofenceRequest<br>Method or attribute name: scenario: LocationRequestScenario;<br>Initial version: N/A|Class name: GeofenceRequest<br>Method or attribute name: scenario: LocationRequestScenario;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeofenceRequest<br>Method or attribute name: geofence: Geofence;<br>Initial version: N/A|Class name: GeofenceRequest<br>Method or attribute name: geofence: Geofence;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: Geofence<br>Method or attribute name: latitude: number;<br>Initial version: N/A|Class name: Geofence<br>Method or attribute name: latitude: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: Geofence<br>Method or attribute name: longitude: number;<br>Initial version: N/A|Class name: Geofence<br>Method or attribute name: longitude: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: Geofence<br>Method or attribute name: radius: number;<br>Initial version: N/A|Class name: Geofence<br>Method or attribute name: radius: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: Geofence<br>Method or attribute name: expiration: number;<br>Initial version: N/A|Class name: Geofence<br>Method or attribute name: expiration: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeoCodeRequest<br>Method or attribute name: locale?: string;<br>Initial version: N/A|Class name: ReverseGeoCodeRequest<br>Method or attribute name: locale?: string;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeoCodeRequest<br>Method or attribute name: latitude: number;<br>Initial version: N/A|Class name: ReverseGeoCodeRequest<br>Method or attribute name: latitude: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeoCodeRequest<br>Method or attribute name: longitude: number;<br>Initial version: N/A|Class name: ReverseGeoCodeRequest<br>Method or attribute name: longitude: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: ReverseGeoCodeRequest<br>Method or attribute name: maxItems?: number;<br>Initial version: N/A|Class name: ReverseGeoCodeRequest<br>Method or attribute name: maxItems?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest<br>Method or attribute name: locale?: string;<br>Initial version: N/A|Class name: GeoCodeRequest<br>Method or attribute name: locale?: string;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest<br>Method or attribute name: description: string;<br>Initial version: N/A|Class name: GeoCodeRequest<br>Method or attribute name: description: string;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest<br>Method or attribute name: maxItems?: number;<br>Initial version: N/A|Class name: GeoCodeRequest<br>Method or attribute name: maxItems?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest<br>Method or attribute name: minLatitude?: number;<br>Initial version: N/A|Class name: GeoCodeRequest<br>Method or attribute name: minLatitude?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest<br>Method or attribute name: minLongitude?: number;<br>Initial version: N/A|Class name: GeoCodeRequest<br>Method or attribute name: minLongitude?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest<br>Method or attribute name: maxLatitude?: number;<br>Initial version: N/A|Class name: GeoCodeRequest<br>Method or attribute name: maxLatitude?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: GeoCodeRequest<br>Method or attribute name: maxLongitude?: number;<br>Initial version: N/A|Class name: GeoCodeRequest<br>Method or attribute name: maxLongitude?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest<br>Method or attribute name: priority?: LocationRequestPriority;<br>Initial version: N/A|Class name: LocationRequest<br>Method or attribute name: priority?: LocationRequestPriority;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest<br>Method or attribute name: scenario?: LocationRequestScenario;<br>Initial version: N/A|Class name: LocationRequest<br>Method or attribute name: scenario?: LocationRequestScenario;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest<br>Method or attribute name: timeInterval?: number;<br>Initial version: N/A|Class name: LocationRequest<br>Method or attribute name: timeInterval?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest<br>Method or attribute name: distanceInterval?: number;<br>Initial version: N/A|Class name: LocationRequest<br>Method or attribute name: distanceInterval?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequest<br>Method or attribute name: maxAccuracy?: number;<br>Initial version: N/A|Class name: LocationRequest<br>Method or attribute name: maxAccuracy?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CurrentLocationRequest<br>Method or attribute name: priority?: LocationRequestPriority;<br>Initial version: N/A|Class name: CurrentLocationRequest<br>Method or attribute name: priority?: LocationRequestPriority;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CurrentLocationRequest<br>Method or attribute name: scenario?: LocationRequestScenario;<br>Initial version: N/A|Class name: CurrentLocationRequest<br>Method or attribute name: scenario?: LocationRequestScenario;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CurrentLocationRequest<br>Method or attribute name: maxAccuracy?: number;<br>Initial version: N/A|Class name: CurrentLocationRequest<br>Method or attribute name: maxAccuracy?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CurrentLocationRequest<br>Method or attribute name: timeoutMs?: number;<br>Initial version: N/A|Class name: CurrentLocationRequest<br>Method or attribute name: timeoutMs?: number;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestPriority<br>Method or attribute name: UNSET = 0x200<br>Initial version: N/A|Class name: LocationRequestPriority<br>Method or attribute name: UNSET = 0x200<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestPriority<br>Method or attribute name: ACCURACY<br>Initial version: N/A|Class name: LocationRequestPriority<br>Method or attribute name: ACCURACY<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestPriority<br>Method or attribute name: LOW_POWER<br>Initial version: N/A|Class name: LocationRequestPriority<br>Method or attribute name: LOW_POWER<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestPriority<br>Method or attribute name: FIRST_FIX<br>Initial version: N/A|Class name: LocationRequestPriority<br>Method or attribute name: FIRST_FIX<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario<br>Method or attribute name: UNSET = 0x300<br>Initial version: N/A|Class name: LocationRequestScenario<br>Method or attribute name: UNSET = 0x300<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario<br>Method or attribute name: NAVIGATION<br>Initial version: N/A|Class name: LocationRequestScenario<br>Method or attribute name: NAVIGATION<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario<br>Method or attribute name: TRAJECTORY_TRACKING<br>Initial version: N/A|Class name: LocationRequestScenario<br>Method or attribute name: TRAJECTORY_TRACKING<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario<br>Method or attribute name: CAR_HAILING<br>Initial version: N/A|Class name: LocationRequestScenario<br>Method or attribute name: CAR_HAILING<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario<br>Method or attribute name: DAILY_LIFE_SERVICE<br>Initial version: N/A|Class name: LocationRequestScenario<br>Method or attribute name: DAILY_LIFE_SERVICE<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationRequestScenario<br>Method or attribute name: NO_POWER<br>Initial version: N/A|Class name: LocationRequestScenario<br>Method or attribute name: NO_POWER<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationPrivacyType<br>Method or attribute name: OTHERS = 0<br>Initial version: N/A|Class name: LocationPrivacyType<br>Method or attribute name: OTHERS = 0<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationPrivacyType<br>Method or attribute name: STARTUP<br>Initial version: N/A|Class name: LocationPrivacyType<br>Method or attribute name: STARTUP<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationPrivacyType<br>Method or attribute name: CORE_LOCATION<br>Initial version: N/A|Class name: LocationPrivacyType<br>Method or attribute name: CORE_LOCATION<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationCommand<br>Method or attribute name: scenario: LocationRequestScenario;<br>Initial version: N/A|Class name: LocationCommand<br>Method or attribute name: scenario: LocationRequestScenario;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: LocationCommand<br>Method or attribute name: command: string;<br>Initial version: N/A|Class name: LocationCommand<br>Method or attribute name: command: string;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCode<br>Method or attribute name: country: string;<br>Initial version: N/A|Class name: CountryCode<br>Method or attribute name: country: string;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCode<br>Method or attribute name: type: CountryCodeType;<br>Initial version: N/A|Class name: CountryCode<br>Method or attribute name: type: CountryCodeType;<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCodeType<br>Method or attribute name: COUNTRY_CODE_FROM_LOCALE = 1<br>Initial version: N/A|Class name: CountryCodeType<br>Method or attribute name: COUNTRY_CODE_FROM_LOCALE = 1<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCodeType<br>Method or attribute name: COUNTRY_CODE_FROM_SIM<br>Initial version: N/A|Class name: CountryCodeType<br>Method or attribute name: COUNTRY_CODE_FROM_SIM<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCodeType<br>Method or attribute name: COUNTRY_CODE_FROM_LOCATION<br>Initial version: N/A|Class name: CountryCodeType<br>Method or attribute name: COUNTRY_CODE_FROM_LOCATION<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Initial version changed|Class name: CountryCodeType<br>Method or attribute name: COUNTRY_CODE_FROM_NETWORK<br>Initial version: N/A|Class name: CountryCodeType<br>Method or attribute name: COUNTRY_CODE_FROM_NETWORK<br>Initial version: 9|@ohos.geoLocationManager.d.ts|
|Error code added|NA|Class name: geoLocationManager<br>Method or attribute name: function enableLocation(): Promise<void>;<br>Error code: 201,202,801,3301000|@ohos.geoLocationManager.d.ts|
|Error code added|NA|Class name: geoLocationManager<br>Method or attribute name: function getCountryCode(): Promise<CountryCode>;<br>Error code: 801,3301000,3301500|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: location: ReverseGeoCodeRequest;<br>Access level: public API|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: location: ReverseGeoCodeRequest;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress: GeoAddress;<br>Access level: public API|Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress: GeoAddress;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationMockConfig<br>Method or attribute name: timeInterval: number;<br>Access level: public API|Class name: LocationMockConfig<br>Method or attribute name: timeInterval: number;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationMockConfig<br>Method or attribute name: locations: Array<Location>;<br>Access level: public API|Class name: LocationMockConfig<br>Method or attribute name: locations: Array<Location>;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: GeoAddress<br>Method or attribute name: isFromMock?: Boolean;<br>Access level: public API|Class name: GeoAddress<br>Method or attribute name: isFromMock?: Boolean;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: Location<br>Method or attribute name: isFromMock?: Boolean;<br>Access level: public API|Class name: Location<br>Method or attribute name: isFromMock?: Boolean;<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType<br>Access level: public API|Class name: LocationPrivacyType<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType<br>Method or attribute name: OTHERS = 0<br>Access level: public API|Class name: LocationPrivacyType<br>Method or attribute name: OTHERS = 0<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType<br>Method or attribute name: STARTUP<br>Access level: public API|Class name: LocationPrivacyType<br>Method or attribute name: STARTUP<br>Access level: system API|@ohos.geoLocationManager.d.ts|
|Access level changed|Class name: LocationPrivacyType<br>Method or attribute name: CORE_LOCATION<br>Access level: public API|Class name: LocationPrivacyType<br>Method or attribute name: CORE_LOCATION<br>Access level: system API|@ohos.geoLocationManager.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.inputMethod<br>Class name: inputMethod|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: const MAX_TYPE_NUM: number|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getInputMethodSetting(): InputMethodSetting;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getInputMethodController(): InputMethodController;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getSetting(): InputMethodSetting;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getController(): InputMethodController;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function switchInputMethod(target: InputMethodProperty, callback: AsyncCallback<boolean>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function switchInputMethod(target: InputMethodProperty): Promise<boolean>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getCurrentInputMethod(): InputMethodProperty;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallback<boolean>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise<boolean>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function getCurrentInputMethodSubtype(): InputMethodSubtype;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype, callback: AsyncCallback<boolean>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: inputMethod<br>Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype): Promise<boolean>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: on(type: 'imeChange', callback: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: off(type: 'imeChange', callback?: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty, callback: AsyncCallback<Array<InputMethodSubtype>>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise<Array<InputMethodSubtype>>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: listCurrentInputMethodSubtype(callback: AsyncCallback<Array<InputMethodSubtype>>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: listCurrentInputMethodSubtype(): Promise<Array<InputMethodSubtype>>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: getInputMethods(enable: boolean, callback: AsyncCallback<Array<InputMethodProperty>>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: getInputMethods(enable: boolean): Promise<Array<InputMethodProperty>>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: listInputMethod(callback: AsyncCallback<Array<InputMethodProperty>>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: listInputMethod(): Promise<Array<InputMethodProperty>>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: showOptionalInputMethods(callback: AsyncCallback<boolean>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: showOptionalInputMethods(): Promise<boolean>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: displayOptionalInputMethod(callback: AsyncCallback<void>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodSetting<br>Method or attribute name: displayOptionalInputMethod(): Promise<void>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController<br>Method or attribute name: stopInputSession(callback: AsyncCallback<boolean>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController<br>Method or attribute name: stopInputSession(): Promise<boolean>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController<br>Method or attribute name: stopInput(callback: AsyncCallback<boolean>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController<br>Method or attribute name: stopInput(): Promise<boolean>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController<br>Method or attribute name: showSoftKeyboard(callback: AsyncCallback<void>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController<br>Method or attribute name: showSoftKeyboard():Promise<void>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController<br>Method or attribute name: hideSoftKeyboard(callback: AsyncCallback<void>): void;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodController<br>Method or attribute name: hideSoftKeyboard():Promise<void>;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodProperty|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly packageName: string;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly methodId: string;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly name: string;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly id: string;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly label?: string;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly icon?: string;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly iconId?: number;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethod<br>Class name: InputMethodProperty<br>Method or attribute name: extra: object;|@ohos.inputMethod.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_UNSPECIFIED: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_GO: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_SEARCH: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_SEND: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_NEXT: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_DONE: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_PREVIOUS: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_NULL: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_TEXT: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_NUMBER: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_PHONE: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_DATETIME: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_EMAIL: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_URI: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_PASSWORD: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const FLAG_SELECTING: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const FLAG_SINGLE_LINE: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const DISPLAY_MODE_PART: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const DISPLAY_MODE_FULL: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_ASCII: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_NONE: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_AUTO_CAP_CHARACTERS: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_AUTO_CAP_SENTENCES: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_AUTO_WORDS: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_MULTI_LINE: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_NO_FULLSCREEN: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const CURSOR_UP: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const CURSOR_DOWN: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const CURSOR_LEFT: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const CURSOR_RIGHT: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: const WINDOW_TYPE_INPUT_METHOD_FLOAT: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: function getInputMethodAbility(): InputMethodAbility;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: function getInputMethodEngine(): InputMethodEngine;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: function getKeyboardDelegate(): KeyboardDelegate;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: inputMethodEngine<br>Method or attribute name: function createKeyboardDelegate(): KeyboardDelegate;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardController|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardController<br>Method or attribute name: hide(callback: AsyncCallback<void>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardController<br>Method or attribute name: hide(): Promise<void>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardController<br>Method or attribute name: hideKeyboard(callback: AsyncCallback<void>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardController<br>Method or attribute name: hideKeyboard(): Promise<void>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodEngine|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodEngine<br>Method or attribute name: on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodEngine<br>Method or attribute name: off(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodEngine<br>Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodEngine<br>Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodEngine<br>Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodEngine<br>Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'inputStart', callback: (kbController: KeyboardController, inputClient: InputClient) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'inputStart', callback?: (kbController: KeyboardController, inputClient: InputClient) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'inputStop', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'inputStop', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'setCallingWindow', callback: (wid:number) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'setCallingWindow', callback: (wid:number) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'setSubtype', callback: (inputMethodSubtype: InputMethodSubtype) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'setSubtype', callback?: (inputMethodSubtype: InputMethodSubtype) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback<boolean>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: sendKeyFunction(action: number): Promise<boolean>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: deleteForward(length: number, callback: AsyncCallback<boolean>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: deleteForward(length: number): Promise<boolean>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: deleteBackward(length: number, callback: AsyncCallback<boolean>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: deleteBackward(length: number): Promise<boolean>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: insertText(text: string, callback: AsyncCallback<boolean>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: insertText(text: string): Promise<boolean>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: getForward(length: number, callback: AsyncCallback<string>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: getForward(length: number): Promise<string>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: getBackward(length: number, callback: AsyncCallback<string>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: getBackward(length: number): Promise<string>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: TextInputClient<br>Method or attribute name: getEditorAttribute(): Promise<EditorAttribute>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback<boolean>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: sendKeyFunction(action: number): Promise<boolean>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: deleteForward(length: number, callback: AsyncCallback<boolean>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: deleteForward(length: number): Promise<boolean>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: deleteBackward(length: number, callback: AsyncCallback<boolean>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: deleteBackward(length: number): Promise<boolean>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: insertText(text: string, callback: AsyncCallback<boolean>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: insertText(text: string): Promise<boolean>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: getForward(length: number, callback: AsyncCallback<string>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: getForward(length: number): Promise<string>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: getBackward(length: number, callback: AsyncCallback<string>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: getBackward(length: number): Promise<string>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: getEditorAttribute(): Promise<EditorAttribute>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: moveCursor(direction: number, callback: AsyncCallback<void>): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: InputClient<br>Method or attribute name: moveCursor(direction: number): Promise<void>;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'cursorContextChange', callback: (x: number, y: number, height: number) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'cursorContextChange', callback?: (x: number, y: number, height: number) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'textChange', callback: (text: string) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'textChange', callback?: (text: string) => void): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: EditorAttribute|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: EditorAttribute<br>Method or attribute name: readonly inputPattern: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: EditorAttribute<br>Method or attribute name: readonly enterKeyType: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyEvent|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyEvent<br>Method or attribute name: readonly keyCode: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.inputMethodEngine<br>Class name: KeyEvent<br>Method or attribute name: readonly keyAction: number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Module name: ohos.InputMethodExtensionAbility<br>Class name: InputMethodExtensionAbility|@ohos.InputMethodExtensionAbility.d.ts|
|Added|NA|Module name: ohos.InputMethodExtensionAbility<br>Class name: InputMethodExtensionAbility<br>Method or attribute name: context: InputMethodExtensionContext;|@ohos.InputMethodExtensionAbility.d.ts|
|Added|NA|Module name: ohos.InputMethodExtensionAbility<br>Class name: InputMethodExtensionAbility<br>Method or attribute name: onCreate(want: Want): void;|@ohos.InputMethodExtensionAbility.d.ts|
|Added|NA|Module name: ohos.InputMethodExtensionAbility<br>Class name: InputMethodExtensionAbility<br>Method or attribute name: onDestroy(): void;|@ohos.InputMethodExtensionAbility.d.ts|
|Added|NA|Module name: ohos.InputMethodExtensionContext<br>Class name: InputMethodExtensionContext|@ohos.InputMethodExtensionContext.d.ts|
|Added|NA|Module name: ohos.InputMethodExtensionContext<br>Class name: InputMethodExtensionContext<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;|@ohos.InputMethodExtensionContext.d.ts|
|Added|NA|Module name: ohos.InputMethodExtensionContext<br>Class name: InputMethodExtensionContext<br>Method or attribute name: destroy(): Promise<void>;|@ohos.InputMethodExtensionContext.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly label?: string;|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly name: string;|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly id: string;|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly mode?: 'upper'\|'lower';|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly locale: string;|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly language: string;|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly icon?: string;|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly iconId?: number;|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.InputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: extra: object;|@ohos.InputMethodSubtype.d.ts|
|Added|NA|Module name: ohos.request<br>Class name: request<br>Method or attribute name: const PAUSED_BY_USER: number;|@ohos.request.d.ts|
|Added|NA|Class name: request<br>Method or attribute name: const PAUSED_BY_USER: number;|@ohos.request.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function setTime(time : number, callback : AsyncCallback<void>) : void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function setTime(time : number) : Promise<void>;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getCurrentTime(isNano: boolean, callback: AsyncCallback<number>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getCurrentTime(callback: AsyncCallback<number>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getRealActiveTime(isNano: boolean, callback: AsyncCallback<number>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getRealActiveTime(callback: AsyncCallback<number>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getRealTime(isNano: boolean, callback: AsyncCallback<number>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getRealTime(callback: AsyncCallback<number>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function setDate(date: Date): Promise<void>;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getDate(): Promise<Date>;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function setTimezone(timezone: string): Promise<void>;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getTimezone(callback: AsyncCallback<string>): void;|@ohos.systemDateTime.d.ts|
|Added|NA|Module name: ohos.systemDateTime<br>Class name: systemDateTime<br>Method or attribute name: function getTimezone(): Promise<string>;|@ohos.systemDateTime.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: const MAX_TYPE_NUM: number|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function getInputMethodSetting(): InputMethodSetting;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function getInputMethodController(): InputMethodController;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function getSetting(): InputMethodSetting;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function getController(): InputMethodController;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function switchInputMethod(target: InputMethodProperty, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function switchInputMethod(target: InputMethodProperty): Promise<boolean>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function getCurrentInputMethod(): InputMethodProperty;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise<boolean>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function getCurrentInputMethodSubtype(): InputMethodSubtype;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: inputMethod<br>Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype): Promise<boolean>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: on(type: 'imeChange', callback: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: off(type: 'imeChange', callback?: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty, callback: AsyncCallback<Array<InputMethodSubtype>>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise<Array<InputMethodSubtype>>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: listCurrentInputMethodSubtype(callback: AsyncCallback<Array<InputMethodSubtype>>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: listCurrentInputMethodSubtype(): Promise<Array<InputMethodSubtype>>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: getInputMethods(enable: boolean, callback: AsyncCallback<Array<InputMethodProperty>>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: getInputMethods(enable: boolean): Promise<Array<InputMethodProperty>>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: listInputMethod(callback: AsyncCallback<Array<InputMethodProperty>>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: listInputMethod(): Promise<Array<InputMethodProperty>>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: showOptionalInputMethods(callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: showOptionalInputMethods(): Promise<boolean>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: displayOptionalInputMethod(callback: AsyncCallback<void>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodSetting<br>Method or attribute name: displayOptionalInputMethod(): Promise<void>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodController|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodController<br>Method or attribute name: stopInputSession(callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodController<br>Method or attribute name: stopInputSession(): Promise<boolean>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodController<br>Method or attribute name: stopInput(callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodController<br>Method or attribute name: stopInput(): Promise<boolean>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodController<br>Method or attribute name: showSoftKeyboard(callback: AsyncCallback<void>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodController<br>Method or attribute name: showSoftKeyboard():Promise<void>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodController<br>Method or attribute name: hideSoftKeyboard(callback: AsyncCallback<void>): void;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodController<br>Method or attribute name: hideSoftKeyboard():Promise<void>;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodProperty|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly packageName: string;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly methodId: string;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly name: string;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly id: string;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly label?: string;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly icon?: string;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodProperty<br>Method or attribute name: readonly iconId?: number;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethod<br>Class name: InputMethodProperty<br>Method or attribute name: extra: object;|NA|@ohos.inputmethod.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_UNSPECIFIED: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_GO: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_SEARCH: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_SEND: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_NEXT: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_DONE: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const ENTER_KEY_TYPE_PREVIOUS: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_NULL: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_TEXT: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_NUMBER: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_PHONE: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_DATETIME: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_EMAIL: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_URI: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const PATTERN_PASSWORD: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const FLAG_SELECTING: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const FLAG_SINGLE_LINE: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const DISPLAY_MODE_PART: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const DISPLAY_MODE_FULL: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_ASCII: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_NONE: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_AUTO_CAP_CHARACTERS: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_AUTO_CAP_SENTENCES: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_AUTO_WORDS: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_MULTI_LINE: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const OPTION_NO_FULLSCREEN: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const CURSOR_UP: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const CURSOR_DOWN: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const CURSOR_LEFT: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const CURSOR_RIGHT: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: const WINDOW_TYPE_INPUT_METHOD_FLOAT: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: function getInputMethodAbility(): InputMethodAbility;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: function getInputMethodEngine(): InputMethodEngine;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: function getKeyboardDelegate(): KeyboardDelegate;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: inputMethodEngine<br>Method or attribute name: function createKeyboardDelegate(): KeyboardDelegate;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardController|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardController<br>Method or attribute name: hide(callback: AsyncCallback<void>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardController<br>Method or attribute name: hide(): Promise<void>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardController<br>Method or attribute name: hideKeyboard(callback: AsyncCallback<void>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardController<br>Method or attribute name: hideKeyboard(): Promise<void>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodEngine|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodEngine<br>Method or attribute name: on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodEngine<br>Method or attribute name: off(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodEngine<br>Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodEngine<br>Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodEngine<br>Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodEngine<br>Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'inputStart', callback: (kbController: KeyboardController, inputClient: InputClient) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'inputStart', callback?: (kbController: KeyboardController, inputClient: InputClient) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'inputStop', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'inputStop', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'setCallingWindow', callback: (wid:number) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'setCallingWindow', callback: (wid:number) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: on(type: 'setSubtype', callback: (inputMethodSubtype: InputMethodSubtype) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputMethodAbility<br>Method or attribute name: off(type: 'setSubtype', callback?: (inputMethodSubtype: InputMethodSubtype) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: sendKeyFunction(action: number): Promise<boolean>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: deleteForward(length: number, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: deleteForward(length: number): Promise<boolean>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: deleteBackward(length: number, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: deleteBackward(length: number): Promise<boolean>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: insertText(text: string, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: insertText(text: string): Promise<boolean>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: getForward(length: number, callback: AsyncCallback<string>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: getForward(length: number): Promise<string>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: getBackward(length: number, callback: AsyncCallback<string>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: getBackward(length: number): Promise<string>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: TextInputClient<br>Method or attribute name: getEditorAttribute(): Promise<EditorAttribute>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: sendKeyFunction(action: number): Promise<boolean>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: deleteForward(length: number, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: deleteForward(length: number): Promise<boolean>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: deleteBackward(length: number, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: deleteBackward(length: number): Promise<boolean>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: insertText(text: string, callback: AsyncCallback<boolean>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: insertText(text: string): Promise<boolean>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: getForward(length: number, callback: AsyncCallback<string>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: getForward(length: number): Promise<string>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: getBackward(length: number, callback: AsyncCallback<string>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: getBackward(length: number): Promise<string>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: getEditorAttribute(): Promise<EditorAttribute>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: moveCursor(direction: number, callback: AsyncCallback<void>): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: InputClient<br>Method or attribute name: moveCursor(direction: number): Promise<void>;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'cursorContextChange', callback: (x: number, y: number, height: number) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'cursorContextChange', callback?: (x: number, y: number, height: number) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: on(type: 'textChange', callback: (text: string) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyboardDelegate<br>Method or attribute name: off(type: 'textChange', callback?: (text: string) => void): void;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: EditorAttribute|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: EditorAttribute<br>Method or attribute name: readonly inputPattern: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: EditorAttribute<br>Method or attribute name: readonly enterKeyType: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyEvent|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyEvent<br>Method or attribute name: readonly keyCode: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodengine<br>Class name: KeyEvent<br>Method or attribute name: readonly keyAction: number;|NA|@ohos.inputmethodengine.d.ts|
|Deleted|Module name: ohos.inputmethodextensionability<br>Class name: InputMethodExtensionAbility|NA|@ohos.inputmethodextensionability.d.ts|
|Deleted|Module name: ohos.inputmethodextensionability<br>Class name: InputMethodExtensionAbility<br>Method or attribute name: context: InputMethodExtensionContext;|NA|@ohos.inputmethodextensionability.d.ts|
|Deleted|Module name: ohos.inputmethodextensionability<br>Class name: InputMethodExtensionAbility<br>Method or attribute name: onCreate(want: Want): void;|NA|@ohos.inputmethodextensionability.d.ts|
|Deleted|Module name: ohos.inputmethodextensionability<br>Class name: InputMethodExtensionAbility<br>Method or attribute name: onDestroy(): void;|NA|@ohos.inputmethodextensionability.d.ts|
|Deleted|Module name: ohos.inputmethodextensioncontext<br>Class name: InputMethodExtensionContext|NA|@ohos.inputmethodextensioncontext.d.ts|
|Deleted|Module name: ohos.inputmethodextensioncontext<br>Class name: InputMethodExtensionContext<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;|NA|@ohos.inputmethodextensioncontext.d.ts|
|Deleted|Module name: ohos.inputmethodextensioncontext<br>Class name: InputMethodExtensionContext<br>Method or attribute name: destroy(): Promise<void>;|NA|@ohos.inputmethodextensioncontext.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype|NA|@ohos.inputMethodSubtype.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly label?: string;|NA|@ohos.inputMethodSubtype.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly name: string;|NA|@ohos.inputMethodSubtype.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly id: string;|NA|@ohos.inputMethodSubtype.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly mode?: 'upper'\|'lower';|NA|@ohos.inputMethodSubtype.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly locale: string;|NA|@ohos.inputMethodSubtype.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly language: string;|NA|@ohos.inputMethodSubtype.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly icon?: string;|NA|@ohos.inputMethodSubtype.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: readonly iconId?: number;|NA|@ohos.inputMethodSubtype.d.ts|
|Deleted|Module name: ohos.inputMethodSubtype<br>Class name: InputMethodSubtype<br>Method or attribute name: extra: object;|NA|@ohos.inputMethodSubtype.d.ts|
|Access level changed|Class name: SystemEvent<br>Access level: public API|Class name: SystemEvent<br>Access level: system API|@ohos.screenLock.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_REALTIME: number;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_REALTIME: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_WAKEUP: number;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_WAKEUP: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_EXACT: number;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_EXACT: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_IDLE: number;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_IDLE: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number): Promise<void>;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number): Promise<void>;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number): Promise<void>;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number): Promise<void>;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Access level: public API|Class name: TimerOptions<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: type: number;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: type: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: repeat: boolean;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: repeat: boolean;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: interval?: number;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: interval?: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: wantAgent?: WantAgent;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: wantAgent?: WantAgent;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: callback?: () => void;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: callback?: () => void;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Deprecated version changed|Class name: systemTime<br>Deprecated version: N/A|Class name: systemTime<br>Deprecated version: 9<br>Substitute API: ohos.systemDateTime |@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function setTime(time : number, callback : AsyncCallback<void>) : void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function setTime(time : number, callback : AsyncCallback<void>) : void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function setTime(time : number) : Promise<void>;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function setTime(time : number) : Promise<void>;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getCurrentTime(isNano: boolean, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getCurrentTime(isNano: boolean, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.systemDateTime/systemDateTime.getCurrentTime |@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getCurrentTime(callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getCurrentTime(callback: AsyncCallback<number>): void;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getRealActiveTime(isNano: boolean, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getRealActiveTime(isNano: boolean, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.systemDateTime/systemDateTime.getRealActiveTime |@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getRealActiveTime(callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getRealActiveTime(callback: AsyncCallback<number>): void;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getRealTime(isNano: boolean, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getRealTime(isNano: boolean, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.systemDateTime/systemDateTime.getRealTime |@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getRealTime(callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getRealTime(callback: AsyncCallback<number>): void;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function setDate(date: Date): Promise<void>;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function setDate(date: Date): Promise<void>;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;<br>Deprecated version: 9<br>Substitute API: ohos.systemDateTime/systemDateTime.getDate |@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getDate(): Promise<Date>;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getDate(): Promise<Date>;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function setTimezone(timezone: string): Promise<void>;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function setTimezone(timezone: string): Promise<void>;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getTimezone(callback: AsyncCallback<string>): void;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getTimezone(callback: AsyncCallback<string>): void;<br>Deprecated version: 9<br>Substitute API: ohos.systemDateTime/systemDateTime.getTimezone |@ohos.systemTime.d.ts|
|Deprecated version changed|Class name: systemTime<br>Method or attribute name: function getTimezone(): Promise<string>;<br>Deprecated version: N/A|Class name: systemTime<br>Method or attribute name: function getTimezone(): Promise<string>;<br>Deprecated version: 9|@ohos.systemTime.d.ts|
|Initial version changed|Class name: DownloadTask<br>Initial version: N/A|Class name: DownloadTask<br>Initial version: 6|@ohos.request.d.ts|
|Initial version changed|Class name: UploadTask<br>Initial version: N/A|Class name: UploadTask<br>Initial version: 6|@ohos.request.d.ts|
|Initial version changed|Class name: SystemEvent<br>Initial version: N/A|Class name: SystemEvent<br>Initial version: 9|@ohos.screenLock.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_REALTIME: number;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_REALTIME: number;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_WAKEUP: number;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_WAKEUP: number;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_EXACT: number;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_EXACT: number;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_IDLE: number;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_IDLE: number;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number): Promise<void>;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number): Promise<void>;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number): Promise<void>;<br>Initial version: N/A|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number): Promise<void>;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: TimerOptions<br>Initial version: N/A|Class name: TimerOptions<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: TimerOptions<br>Method or attribute name: type: number;<br>Initial version: N/A|Class name: TimerOptions<br>Method or attribute name: type: number;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: TimerOptions<br>Method or attribute name: repeat: boolean;<br>Initial version: N/A|Class name: TimerOptions<br>Method or attribute name: repeat: boolean;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: TimerOptions<br>Method or attribute name: interval?: number;<br>Initial version: N/A|Class name: TimerOptions<br>Method or attribute name: interval?: number;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: TimerOptions<br>Method or attribute name: wantAgent?: WantAgent;<br>Initial version: N/A|Class name: TimerOptions<br>Method or attribute name: wantAgent?: WantAgent;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Initial version changed|Class name: TimerOptions<br>Method or attribute name: callback?: () => void;<br>Initial version: N/A|Class name: TimerOptions<br>Method or attribute name: callback?: () => void;<br>Initial version: 7|@ohos.systemTimer.d.ts|
|Error code added|NA|Class name: DownloadTask<br>Method or attribute name: delete(): Promise<boolean>;<br>Error code: N/A|@ohos.request.d.ts|
|Error code added|NA|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;<br>Error code: 202,401|@ohos.systemTimer.d.ts|
|Error code added|NA|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;<br>Error code: 202,401|@ohos.systemTimer.d.ts|
|Error code added|NA|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number): Promise<void>;<br>Error code: 202,401|@ohos.systemTimer.d.ts|
|Error code added|NA|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number): Promise<void>;<br>Error code: 202,401|@ohos.systemTimer.d.ts|
|Permission added|Class name: DownloadTask<br>Permission: N/A|Class name: DownloadTask<br>Permission: ohos.permission.INTERNET|@ohos.request.d.ts|
|Permission added|Class name: UploadTask<br>Permission: N/A|Class name: UploadTask<br>Permission: ohos.permission.INTERNET|@ohos.request.d.ts|
|Access level changed|Class name: SystemEvent<br>Access level: public API|Class name: SystemEvent<br>Access level: system API|@ohos.screenLock.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_REALTIME: number;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_REALTIME: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_WAKEUP: number;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_WAKEUP: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_EXACT: number;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_EXACT: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_IDLE: number;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: const TIMER_TYPE_IDLE: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number): Promise<void>;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function stopTimer(timer: number): Promise<void>;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number): Promise<void>;<br>Access level: public API|Class name: systemTimer<br>Method or attribute name: function destroyTimer(timer: number): Promise<void>;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Access level: public API|Class name: TimerOptions<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: type: number;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: type: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: repeat: boolean;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: repeat: boolean;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: interval?: number;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: interval?: number;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: wantAgent?: WantAgent;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: wantAgent?: WantAgent;<br>Access level: system API|@ohos.systemTimer.d.ts|
|Access level changed|Class name: TimerOptions<br>Method or attribute name: callback?: () => void;<br>Access level: public API|Class name: TimerOptions<br>Method or attribute name: callback?: () => void;<br>Access level: system API|@ohos.systemTimer.d.ts|
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: camera<br>Method or attribute name: function getCameraManager(context: Context): CameraManager;|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: |@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode<br>Method or attribute name: INVALID_ARGUMENT = 7400101|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: INVALID_ARGUMENT = 7400101|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode<br>Method or attribute name: OPERATION_NOT_ALLOWED = 7400102|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: OPERATION_NOT_ALLOWED = 7400102|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode<br>Method or attribute name: SESSION_NOT_CONFIG = 7400103|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: SESSION_NOT_CONFIG = 7400103|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode<br>Method or attribute name: SESSION_NOT_RUNNING = 7400104|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: SESSION_NOT_RUNNING = 7400104|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode<br>Method or attribute name: SESSION_CONFIG_LOCKED = 7400105|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: SESSION_CONFIG_LOCKED = 7400105|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode<br>Method or attribute name: DEVICE_SETTING_LOCKED = 7400106|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: DEVICE_SETTING_LOCKED = 7400106|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode<br>Method or attribute name: CONFILICT_CAMERA = 7400107|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: CONFILICT_CAMERA = 7400107|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode<br>Method or attribute name: DEVICE_DISABLED = 7400108|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: DEVICE_DISABLED = 7400108|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.camera<br>Class name: CameraErrorCode<br>Method or attribute name: SERVICE_FATAL_ERROR = 7400201|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraErrorCode<br>Method or attribute name: SERVICE_FATAL_ERROR = 7400201|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager<br>Method or attribute name: getSupportedCameras(): Array<CameraDevice>;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager<br>Method or attribute name: getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager<br>Method or attribute name: createCameraInput(camera: CameraDevice): CameraInput;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager<br>Method or attribute name: createCameraInput(position: CameraPosition, type: CameraType): CameraInput;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager<br>Method or attribute name: createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager<br>Method or attribute name: createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager<br>Method or attribute name: createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager<br>Method or attribute name: createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>): MetadataOutput;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager<br>Method or attribute name: createCaptureSession(): CaptureSession;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraType<br>Method or attribute name: CAMERA_TYPE_DEFAULT = 0|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: beginConfig(): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: addInput(cameraInput: CameraInput): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: removeInput(cameraInput: CameraInput): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: addOutput(cameraOutput: CameraOutput): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: removeOutput(cameraOutput: CameraOutput): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: hasFlash(): boolean;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: isFlashModeSupported(flashMode: FlashMode): boolean;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getFlashMode(): FlashMode;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: setFlashMode(flashMode: FlashMode): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: isExposureModeSupported(aeMode: ExposureMode): boolean;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getExposureMode(): ExposureMode;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: setExposureMode(aeMode: ExposureMode): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getMeteringPoint(): Point;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: setMeteringPoint(point: Point): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getExposureBiasRange(): Array<number>;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: setExposureBias(exposureBias: number): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getExposureValue(): number;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: isFocusModeSupported(afMode: FocusMode): boolean;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getFocusMode(): FocusMode;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: setFocusMode(afMode: FocusMode): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: setFocusPoint(point: Point): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getFocusPoint(): Point;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getFocalLength(): number;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getZoomRatioRange(): Array<number>;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getZoomRatio(): number;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: setZoomRatio(zoomRatio: number): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: getActiveVideoStabilizationMode(): VideoStabilizationMode;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession<br>Method or attribute name: setVideoStabilizationMode(mode: VideoStabilizationMode): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: PhotoOutput<br>Method or attribute name: isMirrorSupported(): boolean;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: MetadataObject<br>Method or attribute name: readonly type: MetadataObjectType;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: MetadataObject<br>Method or attribute name: readonly timestamp: number;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: MetadataObject<br>Method or attribute name: readonly boundingBox: Rect;|@ohos.multimedia.camera.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayerState<br>Method or attribute name: type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderState<br>Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: media<br>Method or attribute name: function createAVPlayer(callback: AsyncCallback<AVPlayer>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: media<br>Method or attribute name: function createAVPlayer() : Promise<AVPlayer>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: media<br>Method or attribute name: function createAVRecorder(callback: AsyncCallback<AVRecorder>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: media<br>Method or attribute name: function createAVRecorder() : Promise<AVRecorder>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: StateChangeReason|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: StateChangeReason<br>Method or attribute name: |@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: StateChangeReason<br>Method or attribute name: USER = 1|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: StateChangeReason<br>Method or attribute name: USER = 1|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: StateChangeReason<br>Method or attribute name: BACKGROUND = 2|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: StateChangeReason<br>Method or attribute name: BACKGROUND = 2|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: |@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_OK = 0|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_OK = 0|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_NO_PERMISSION = 201|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_NO_PERMISSION = 201|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_INVALID_PARAMETER = 401|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_INVALID_PARAMETER = 401|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_UNSUPPORT_CAPABILITY = 801|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_UNSUPPORT_CAPABILITY = 801|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_NO_MEMORY = 5400101|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_NO_MEMORY = 5400101|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_OPERATE_NOT_PERMIT = 5400102|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_OPERATE_NOT_PERMIT = 5400102|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_IO = 5400103|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_IO = 5400103|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_TIMEOUT = 5400104|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_TIMEOUT = 5400104|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_SERVICE_DIED = 5400105|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_SERVICE_DIED = 5400105|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVErrorCode<br>Method or attribute name: AVERR_UNSUPPORT_FORMAT = 5400106|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVErrorCode<br>Method or attribute name: AVERR_UNSUPPORT_FORMAT = 5400106|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: |@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: prepare(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: prepare(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: prepare(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: prepare(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: play(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: play(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: play(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: play(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: pause(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: pause(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: pause(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: pause(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: stop(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: stop(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: stop(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: stop(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: reset(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: reset(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: reset(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: reset(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: release(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: release(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: release(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: release(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: seek(timeMs: number, mode?:SeekMode): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: seek(timeMs: number, mode?:SeekMode): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: setVolume(volume: number): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: setVolume(volume: number): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: getTrackDescription() : Promise<Array<MediaDescription>>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: getTrackDescription() : Promise<Array<MediaDescription>>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: url ?: string;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: url ?: string;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: fdSrc ?: AVFileDescriptor;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: fdSrc ?: AVFileDescriptor;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: loop: boolean;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: loop: boolean;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: audioInterruptMode ?: audio.InterruptMode;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: audioInterruptMode ?: audio.InterruptMode;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: readonly currentTime: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: readonly currentTime: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: readonly duration: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: readonly duration: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: readonly state: AVPlayerState;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: readonly state: AVPlayerState;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: surfaceId ?: string;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: surfaceId ?: string;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: readonly width: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: readonly width: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: readonly height: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: readonly height: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: videoScaleType ?: VideoScaleType;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: videoScaleType ?: VideoScaleType;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: setSpeed(speed: PlaybackSpeed): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: setSpeed(speed: PlaybackSpeed): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: setBitrate(bitrate: number): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: setBitrate(bitrate: number): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'stateChange'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'stateChange'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'volumeChange', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'volumeChange', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'volumeChange'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'volumeChange'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'endOfStream', callback: Callback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'endOfStream', callback: Callback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'endOfStream'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'endOfStream'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'seekDone', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'seekDone', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'seekDone'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'seekDone'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'speedDone', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'speedDone', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'speedDone'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'speedDone'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'bitrateDone', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'bitrateDone', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'bitrateDone'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'bitrateDone'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'timeUpdate', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'timeUpdate', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'timeUpdate'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'timeUpdate'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'durationUpdate', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'durationUpdate', callback: Callback<number>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'durationUpdate'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'durationUpdate'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'bufferingUpdate'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'bufferingUpdate'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'startRenderFrame', callback: Callback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'startRenderFrame', callback: Callback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'startRenderFrame'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'startRenderFrame'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'videoSizeChange'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'videoSizeChange'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'audioInterrupt'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'audioInterrupt'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'availableBitrates', callback: (bitrates: Array<number>) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'availableBitrates', callback: (bitrates: Array<number>) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'availableBitrates'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'availableBitrates'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVPlayer<br>Method or attribute name: off(type: 'error'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVPlayer<br>Method or attribute name: off(type: 'error'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: |@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: prepare(config: AVRecorderConfig, callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: prepare(config: AVRecorderConfig, callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: prepare(config: AVRecorderConfig): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: prepare(config: AVRecorderConfig): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: getInputSurface(callback: AsyncCallback<string>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: getInputSurface(callback: AsyncCallback<string>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: getInputSurface(): Promise<string>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: getInputSurface(): Promise<string>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: start(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: start(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: start(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: start(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: pause(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: pause(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: pause(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: pause(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: resume(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: resume(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: resume(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: resume(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: stop(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: stop(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: stop(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: stop(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: reset(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: reset(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: reset(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: reset(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: release(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: release(callback: AsyncCallback<void>): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: release(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: release(): Promise<void>;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: readonly state: AVRecorderState;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: readonly state: AVRecorderState;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: on(type: 'stateChange', callback: (state: AVRecorderState, reason: StateChangeReason) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: on(type: 'stateChange', callback: (state: AVRecorderState, reason: StateChangeReason) => void): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: off(type: 'stateChange'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: off(type: 'stateChange'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorder<br>Method or attribute name: off(type: 'error'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorder<br>Method or attribute name: off(type: 'error'): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: |@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: audioBitrate?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: audioBitrate?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: audioChannels?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: audioChannels?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: audioCodec?: CodecMimeType;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: audioCodec?: CodecMimeType;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: audioSampleRate?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: audioSampleRate?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: fileFormat: ContainerFormatType;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: fileFormat: ContainerFormatType;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: videoBitrate?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: videoBitrate?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: videoCodec?: CodecMimeType;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: videoCodec?: CodecMimeType;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: videoFrameWidth?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: videoFrameWidth?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: videoFrameHeight?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: videoFrameHeight?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderProfile<br>Method or attribute name: videoFrameRate?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderProfile<br>Method or attribute name: videoFrameRate?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderConfig|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderConfig<br>Method or attribute name: |@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderConfig<br>Method or attribute name: audioSourceType?: AudioSourceType;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderConfig<br>Method or attribute name: audioSourceType?: AudioSourceType;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderConfig<br>Method or attribute name: videoSourceType?: VideoSourceType;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderConfig<br>Method or attribute name: videoSourceType?: VideoSourceType;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderConfig<br>Method or attribute name: profile: AVRecorderProfile;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderConfig<br>Method or attribute name: profile: AVRecorderProfile;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderConfig<br>Method or attribute name: url: string;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderConfig<br>Method or attribute name: url: string;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderConfig<br>Method or attribute name: rotation?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderConfig<br>Method or attribute name: rotation?: number;|@ohos.multimedia.media.d.ts|
|Added|NA|Module name: ohos.multimedia.media<br>Class name: AVRecorderConfig<br>Method or attribute name: location?: Location;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: AVRecorderConfig<br>Method or attribute name: location?: Location;|@ohos.multimedia.media.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraType<br>Method or attribute name: CAMERA_TYPE_UNSPECIFIED = 0|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInput<br>Method or attribute name: release(callback: AsyncCallback<void>): void;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInput<br>Method or attribute name: release(): Promise<void>;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInputErrorCode|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInputErrorCode<br>Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInputErrorCode<br>Method or attribute name: ERROR_NO_PERMISSION = 0|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInputErrorCode<br>Method or attribute name: ERROR_DEVICE_PREEMPTED = 1|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInputErrorCode<br>Method or attribute name: ERROR_DEVICE_DISCONNECTED = 2|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInputErrorCode<br>Method or attribute name: ERROR_DEVICE_IN_USE = 3|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInputErrorCode<br>Method or attribute name: ERROR_DRIVER_ERROR = 4|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInputError|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CameraInputError<br>Method or attribute name: code: CameraInputErrorCode;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CaptureSessionErrorCode|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CaptureSessionErrorCode<br>Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CaptureSessionErrorCode<br>Method or attribute name: ERROR_INSUFFICIENT_RESOURCES = 0|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CaptureSessionErrorCode<br>Method or attribute name: ERROR_TIMEOUT = 1|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CaptureSessionError|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: CaptureSessionError<br>Method or attribute name: code: CaptureSessionErrorCode;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PreviewOutputErrorCode|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PreviewOutputErrorCode<br>Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PreviewOutputError|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PreviewOutputError<br>Method or attribute name: code: PreviewOutputErrorCode;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PhotoOutputErrorCode|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PhotoOutputErrorCode<br>Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PhotoOutputErrorCode<br>Method or attribute name: ERROR_DRIVER_ERROR = 0|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PhotoOutputErrorCode<br>Method or attribute name: ERROR_INSUFFICIENT_RESOURCES = 1|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PhotoOutputErrorCode<br>Method or attribute name: ERROR_TIMEOUT = 2|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PhotoOutputError|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: PhotoOutputError<br>Method or attribute name: code: PhotoOutputErrorCode;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: VideoOutputErrorCode|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: VideoOutputErrorCode<br>Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: VideoOutputErrorCode<br>Method or attribute name: ERROR_DRIVER_ERROR = 0|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: VideoOutputError|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: VideoOutputError<br>Method or attribute name: code: VideoOutputErrorCode;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataObject<br>Method or attribute name: getType(callback: AsyncCallback<MetadataObjectType>): void;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataObject<br>Method or attribute name: getType(): Promise<MetadataObjectType>;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataObject<br>Method or attribute name: getTimestamp(callback: AsyncCallback<number>): void;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataObject<br>Method or attribute name: getTimestamp(): Promise<number>;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataObject<br>Method or attribute name: getBoundingBox(callback: AsyncCallback<Rect>): void;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataObject<br>Method or attribute name: getBoundingBox(): Promise<Rect>;|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataFaceObject|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataOutputErrorCode|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataOutputErrorCode<br>Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataOutputErrorCode<br>Method or attribute name: ERROR_INSUFFICIENT_RESOURCES = 0|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataOutputError|NA|@ohos.multimedia.camera.d.ts|
|Deleted|Module name: ohos.multimedia.camera<br>Class name: MetadataOutputError<br>Method or attribute name: code: MetadataOutputErrorCode;|NA|@ohos.multimedia.camera.d.ts|
|Access level changed|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Access level: public API|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Access level: public API|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: avSession<br>Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: avSession<br>Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: avSession<br>Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Access level: public API|Class name: AVSession<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: readonly sessionId: string;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: readonly sessionId: string;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setAVMetadata(data: AVMetadata): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setAVMetadata(data: AVMetadata): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setLaunchAbility(ability: WantAgent): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setLaunchAbility(ability: WantAgent): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: getController(): Promise<AVSessionController>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: getController(): Promise<AVSessionController>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: activate(callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: activate(callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: activate(): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: activate(): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: deactivate(callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: deactivate(callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: deactivate(): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: deactivate(): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: destroy(): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: destroy(): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVMetadata<br>Access level: public API|Class name: AVMetadata<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVPlaybackState<br>Access level: public API|Class name: AVPlaybackState<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: PlaybackPosition<br>Access level: public API|Class name: PlaybackPosition<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: OutputDeviceInfo<br>Access level: public API|Class name: OutputDeviceInfo<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: LoopMode<br>Access level: public API|Class name: LoopMode<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: PlaybackState<br>Access level: public API|Class name: PlaybackState<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Access level: public API|Class name: AVSessionController<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: readonly sessionId: string;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: readonly sessionId: string;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getAVPlaybackState(): Promise<AVPlaybackState>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getAVPlaybackState(): Promise<AVPlaybackState>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getAVMetadata(): Promise<AVMetadata>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getAVMetadata(): Promise<AVMetadata>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise<void>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getLaunchAbility(): Promise<WantAgent>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getLaunchAbility(): Promise<WantAgent>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getRealPlaybackPositionSync(): number;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getRealPlaybackPositionSync(): number;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: isActive(): Promise<boolean>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: isActive(): Promise<boolean>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: destroy(): Promise<void>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: destroy(): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getValidCommands(): Promise<Array<AVControlCommandType>>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getValidCommands(): Promise<Array<AVControlCommandType>>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: sendControlCommand(command: AVControlCommand): Promise<void>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: sendControlCommand(command: AVControlCommand): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'metadataChange', filter: Array<keyof AVMetadata> \| 'all', callback: (data: AVMetadata) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'metadataChange', filter: Array<keyof AVMetadata> \| 'all', callback: (data: AVMetadata) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'sessionDestroy', callback: () => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'sessionDestroy', callback: () => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommand<br>Access level: public API|Class name: AVControlCommand<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionErrorCode<br>Access level: public API|Class name: AVSessionErrorCode<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: camera<br>Access level: public API|Class name: camera<br>Access level: system API|@ohos.multimedia.camera.d.ts|
|Access level changed|Class name: AudioSourceType<br>Access level: system API|Class name: AudioSourceType<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: AudioSourceType<br>Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0<br>Access level: system API|Class name: AudioSourceType<br>Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: AudioSourceType<br>Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1<br>Access level: system API|Class name: AudioSourceType<br>Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: VideoSourceType<br>Access level: system API|Class name: VideoSourceType<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: VideoSourceType<br>Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0<br>Access level: system API|Class name: VideoSourceType<br>Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: VideoSourceType<br>Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1<br>Access level: system API|Class name: VideoSourceType<br>Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: AudioState<br>Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: N/A|Class name: VideoPlayState<br>Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: media<br>Method or attribute name: function createAudioPlayer(): AudioPlayer;<br>Deprecated version: N/A|Class name: media<br>Method or attribute name: function createAudioPlayer(): AudioPlayer;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: media<br>Method or attribute name: function createAudioRecorder(): AudioRecorder;<br>Deprecated version: N/A|Class name: media<br>Method or attribute name: function createAudioRecorder(): AudioRecorder;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: media<br>Method or attribute name: function createVideoPlayer(callback: AsyncCallback<VideoPlayer>): void;<br>Deprecated version: N/A|Class name: media<br>Method or attribute name: function createVideoPlayer(callback: AsyncCallback<VideoPlayer>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: media<br>Method or attribute name: function createVideoPlayer() : Promise<VideoPlayer>;<br>Deprecated version: N/A|Class name: media<br>Method or attribute name: function createVideoPlayer() : Promise<VideoPlayer>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Deprecated version: N/A|Class name: AudioPlayer<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: play(): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: play(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: pause(): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: pause(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: stop(): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: stop(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: reset(): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: reset(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: seek(timeMs: number): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: seek(timeMs: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: setVolume(vol: number): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: setVolume(vol: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: release(): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: release(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: getTrackDescription() : Promise<Array<MediaDescription>>;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: getTrackDescription() : Promise<Array<MediaDescription>>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: src: string;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: src: string;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: fdSrc: AVFileDescriptor;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: fdSrc: AVFileDescriptor;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: loop: boolean;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: loop: boolean;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: audioInterruptMode ?: audio.InterruptMode;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: audioInterruptMode ?: audio.InterruptMode;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: readonly currentTime: number;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: readonly currentTime: number;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: readonly duration: number;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: readonly duration: number;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: readonly state: AudioState;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: readonly state: AudioState;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'timeUpdate', callback: Callback<number>): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'timeUpdate', callback: Callback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioPlayer<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;<br>Deprecated version: N/A|Class name: AudioPlayer<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorderConfig<br>Deprecated version: N/A|Class name: AudioRecorderConfig<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorderConfig |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorderConfig<br>Method or attribute name: audioEncodeBitRate?: number;<br>Deprecated version: N/A|Class name: AudioRecorderConfig<br>Method or attribute name: audioEncodeBitRate?: number;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorderConfig<br>Method or attribute name: audioSampleRate?: number;<br>Deprecated version: N/A|Class name: AudioRecorderConfig<br>Method or attribute name: audioSampleRate?: number;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorderConfig<br>Method or attribute name: numberOfChannels?: number;<br>Deprecated version: N/A|Class name: AudioRecorderConfig<br>Method or attribute name: numberOfChannels?: number;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorderConfig<br>Method or attribute name: uri: string;<br>Deprecated version: N/A|Class name: AudioRecorderConfig<br>Method or attribute name: uri: string;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorderConfig<br>Method or attribute name: location?: Location;<br>Deprecated version: N/A|Class name: AudioRecorderConfig<br>Method or attribute name: location?: Location;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorderConfig<br>Method or attribute name: audioEncoderMime?: CodecMimeType;<br>Deprecated version: N/A|Class name: AudioRecorderConfig<br>Method or attribute name: audioEncoderMime?: CodecMimeType;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorderConfig<br>Method or attribute name: fileFormat?: ContainerFormatType;<br>Deprecated version: N/A|Class name: AudioRecorderConfig<br>Method or attribute name: fileFormat?: ContainerFormatType;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Deprecated version: N/A|Class name: AudioRecorder<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: prepare(config: AudioRecorderConfig): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: prepare(config: AudioRecorderConfig): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: start(): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: start(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: pause(): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: pause(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: resume(): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: resume(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: stop(): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: stop(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: release(): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: release(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: reset(): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: reset(): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: AudioRecorder<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;<br>Deprecated version: N/A|Class name: AudioRecorder<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Deprecated version: N/A|Class name: VideoPlayer<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer |@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: setDisplaySurface(surfaceId: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: setDisplaySurface(surfaceId: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: setDisplaySurface(surfaceId: string): Promise<void>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: setDisplaySurface(surfaceId: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: prepare(callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: prepare(callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: prepare(): Promise<void>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: prepare(): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: play(callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: play(callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: play(): Promise<void>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: play(): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: pause(callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: pause(callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: pause(): Promise<void>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: pause(): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: stop(callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: stop(callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: stop(): Promise<void>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: stop(): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: reset(callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: reset(callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: reset(): Promise<void>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: reset(): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: seek(timeMs: number, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: seek(timeMs: number, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: seek(timeMs: number, mode:SeekMode, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: seek(timeMs: number, mode:SeekMode, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: seek(timeMs: number, mode?:SeekMode): Promise<number>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: seek(timeMs: number, mode?:SeekMode): Promise<number>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: setVolume(vol: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: setVolume(vol: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: setVolume(vol: number): Promise<void>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: setVolume(vol: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: release(callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: release(callback: AsyncCallback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: release(): Promise<void>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: release(): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: getTrackDescription() : Promise<Array<MediaDescription>>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: getTrackDescription() : Promise<Array<MediaDescription>>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: url: string;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: url: string;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: fdSrc: AVFileDescriptor;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: fdSrc: AVFileDescriptor;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: loop: boolean;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: loop: boolean;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: readonly currentTime: number;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: readonly currentTime: number;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: readonly duration: number;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: readonly duration: number;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: readonly state: VideoPlayState;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: readonly state: VideoPlayState;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: readonly width: number;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: readonly width: number;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: readonly height: number;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: readonly height: number;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: audioInterruptMode ?: audio.InterruptMode;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: audioInterruptMode ?: audio.InterruptMode;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: videoScaleType ?: VideoScaleType;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: videoScaleType ?: VideoScaleType;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: setSpeed(speed:number, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: setSpeed(speed:number, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: setSpeed(speed:number): Promise<number>;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: setSpeed(speed:number): Promise<number>;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: on(type: 'playbackCompleted', callback: Callback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: on(type: 'playbackCompleted', callback: Callback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: on(type: 'startRenderFrame', callback: Callback<void>): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: on(type: 'startRenderFrame', callback: Callback<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Deprecated version changed|Class name: VideoPlayer<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;<br>Deprecated version: N/A|Class name: VideoPlayer<br>Method or attribute name: on(type: 'error', callback: ErrorCallback): void;<br>Deprecated version: 9<br>Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts|
|Initial version changed|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Initial version: N/A|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Initial version: 9|@ohos.multimedia.avsession.d.ts|
|Initial version changed|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Initial version: N/A|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Initial version: 9|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Access level: public API|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Access level: public API|Class name: AVSessionType<br>Method or attribute name: type AVSessionType = 'audio' \| 'video';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: public API|Class name: AVControlCommandType<br>Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: avSession<br>Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: avSession<br>Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: avSession<br>Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Access level: public API|Class name: AVSession<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: readonly sessionId: string;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: readonly sessionId: string;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setAVMetadata(data: AVMetadata): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setAVMetadata(data: AVMetadata): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: setLaunchAbility(ability: WantAgent): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: setLaunchAbility(ability: WantAgent): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: getController(): Promise<AVSessionController>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: getController(): Promise<AVSessionController>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: activate(callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: activate(callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: activate(): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: activate(): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: deactivate(callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: deactivate(callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: deactivate(): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: deactivate(): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSession<br>Method or attribute name: destroy(): Promise<void>;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: destroy(): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVMetadata<br>Access level: public API|Class name: AVMetadata<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVPlaybackState<br>Access level: public API|Class name: AVPlaybackState<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: PlaybackPosition<br>Access level: public API|Class name: PlaybackPosition<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: OutputDeviceInfo<br>Access level: public API|Class name: OutputDeviceInfo<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: LoopMode<br>Access level: public API|Class name: LoopMode<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: PlaybackState<br>Access level: public API|Class name: PlaybackState<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Access level: public API|Class name: AVSessionController<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: readonly sessionId: string;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: readonly sessionId: string;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getAVPlaybackState(): Promise<AVPlaybackState>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getAVPlaybackState(): Promise<AVPlaybackState>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getAVMetadata(): Promise<AVMetadata>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getAVMetadata(): Promise<AVMetadata>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise<void>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getLaunchAbility(): Promise<WantAgent>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getLaunchAbility(): Promise<WantAgent>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getRealPlaybackPositionSync(): number;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getRealPlaybackPositionSync(): number;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: isActive(): Promise<boolean>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: isActive(): Promise<boolean>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: destroy(callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: destroy(): Promise<void>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: destroy(): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: getValidCommands(): Promise<Array<AVControlCommandType>>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: getValidCommands(): Promise<Array<AVControlCommandType>>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: sendControlCommand(command: AVControlCommand): Promise<void>;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: sendControlCommand(command: AVControlCommand): Promise<void>;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'metadataChange', filter: Array<keyof AVMetadata> \| 'all', callback: (data: AVMetadata) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'metadataChange', filter: Array<keyof AVMetadata> \| 'all', callback: (data: AVMetadata) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'sessionDestroy', callback: () => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'sessionDestroy', callback: () => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionController<br>Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVControlCommand<br>Access level: public API|Class name: AVControlCommand<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: AVSessionErrorCode<br>Access level: public API|Class name: AVSessionErrorCode<br>Access level: system API|@ohos.multimedia.avsession.d.ts|
|Access level changed|Class name: camera<br>Access level: public API|Class name: camera<br>Access level: system API|@ohos.multimedia.camera.d.ts|
|Access level changed|Class name: AudioSourceType<br>Access level: system API|Class name: AudioSourceType<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: AudioSourceType<br>Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0<br>Access level: system API|Class name: AudioSourceType<br>Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: AudioSourceType<br>Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1<br>Access level: system API|Class name: AudioSourceType<br>Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: VideoSourceType<br>Access level: system API|Class name: VideoSourceType<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: VideoSourceType<br>Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0<br>Access level: system API|Class name: VideoSourceType<br>Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Access level changed|Class name: VideoSourceType<br>Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1<br>Access level: system API|Class name: VideoSourceType<br>Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1<br>Access level: public API|@ohos.multimedia.media.d.ts|
|Function changed|Class name: CameraInput<br>Method or attribute name: on(type: 'error', camera: CameraDevice, callback: ErrorCallback<CameraInputError>): void;<br>|Class name: CameraInput<br>Method or attribute name: on(type: 'error', camera: CameraDevice, callback: ErrorCallback<BusinessError>): void;<br>|@ohos.multimedia.camera.d.ts|
|Function changed|Class name: CaptureSession<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<CaptureSessionError>): void;<br>|Class name: CaptureSession<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;<br>|@ohos.multimedia.camera.d.ts|
|Function changed|Class name: PreviewOutput<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<PreviewOutputError>): void;<br>|Class name: PreviewOutput<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;<br>|@ohos.multimedia.camera.d.ts|
|Function changed|Class name: PhotoOutput<br>Method or attribute name: capture(setting?: PhotoCaptureSetting): Promise<void>;<br>|Class name: PhotoOutput<br>Method or attribute name: capture(): Promise<void>;<br>|@ohos.multimedia.camera.d.ts|
|Function changed|Class name: PhotoOutput<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<PhotoOutputError>): void;<br>|Class name: PhotoOutput<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;<br>|@ohos.multimedia.camera.d.ts|
|Function changed|Class name: VideoOutput<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<VideoOutputError>): void;<br>|Class name: VideoOutput<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;<br>|@ohos.multimedia.camera.d.ts|
|Function changed|Class name: MetadataOutput<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<MetadataOutputError>): void;<br>|Class name: MetadataOutput<br>Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;<br>|@ohos.multimedia.camera.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 |
| ---- | ------ | ------ | -------- |
|Added|NA|Module name: ohos.abilityAccessCtrl<br>Class name: AtManager<br>Method or attribute name: requestPermissionsFromUser(context: Context, permissions: Array<Permissions>, requestCallback: AsyncCallback<PermissionRequestResult>) : void;|@ohos.abilityAccessCtrl.d.ts|
|Added|NA|Module name: ohos.abilityAccessCtrl<br>Class name: AtManager<br>Method or attribute name: requestPermissionsFromUser(context: Context, permissions: Array<Permissions>) : Promise<PermissionRequestResult>;|@ohos.abilityAccessCtrl.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: cert|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: INVALID_PARAMS = 401|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: NOT_SUPPORT = 801|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: ERR_OUT_OF_MEMORY = 19020001|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: ERR_RUNTIME_ERROR = 19020002|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: ERR_CRYPTO_OPERATION = 19030001|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: ERR_CERT_SIGNATURE_FAILURE = 19030002|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: ERR_CERT_NOT_YET_VALID = 19030003|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: ERR_CERT_HAS_EXPIRED = 19030004|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY = 19030005|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: ERR_KEYUSAGE_NO_CERTSIGN = 19030006|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertResult<br>Method or attribute name: ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE = 19030007|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: DataBlob|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: DataBlob<br>Method or attribute name: data : Uint8Array;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: DataArray|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: DataArray<br>Method or attribute name: data : Array<Uint8Array>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: EncodingFormat|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: EncodingFormat<br>Method or attribute name: FORMAT_DER = 0|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: EncodingFormat<br>Method or attribute name: FORMAT_PEM = 1|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: EncodingBlob|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: EncodingBlob<br>Method or attribute name: data : Uint8Array;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: EncodingBlob<br>Method or attribute name: encodingFormat : EncodingFormat;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertChainData|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertChainData<br>Method or attribute name: data: Uint8Array;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertChainData<br>Method or attribute name: count : number;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertChainData<br>Method or attribute name: encodingFormat: EncodingFormat;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: verify(key : cryptoFramework.PubKey, callback : AsyncCallback<void>) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: verify(key : cryptoFramework.PubKey) : Promise<void>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getEncoded(callback : AsyncCallback<EncodingBlob>) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getEncoded() : Promise<EncodingBlob>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getPublicKey() : cryptoFramework.PubKey;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: checkValidityWithDate(date: string) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getVersion() : number;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getSerialNumber() : number;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getIssuerName() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getSubjectName() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getNotBeforeTime() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getNotAfterTime() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getSignature() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getSignatureAlgName() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getSignatureAlgOid() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getSignatureAlgParams() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getKeyUsage() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getExtKeyUsage() : DataArray;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getBasicConstraints() : number;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getSubjectAltNames() : DataArray;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Cert<br>Method or attribute name: getIssuerAltNames() : DataArray;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: cert<br>Method or attribute name: function createX509Cert(inStream : EncodingBlob, callback : AsyncCallback<X509Cert>) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: cert<br>Method or attribute name: function createX509Cert(inStream : EncodingBlob) : Promise<X509Cert>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509CrlEntry|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509CrlEntry<br>Method or attribute name: getEncoded(callback : AsyncCallback<EncodingBlob>) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509CrlEntry<br>Method or attribute name: getEncoded() : Promise<EncodingBlob>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509CrlEntry<br>Method or attribute name: getSerialNumber() : number;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509CrlEntry<br>Method or attribute name: getCertIssuer() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509CrlEntry<br>Method or attribute name: getRevocationDate() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: isRevoked(cert : X509Cert) : boolean;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getType() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getEncoded(callback : AsyncCallback<EncodingBlob>) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getEncoded() : Promise<EncodingBlob>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: verify(key : cryptoFramework.PubKey, callback : AsyncCallback<void>) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: verify(key : cryptoFramework.PubKey) : Promise<void>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getVersion() : number;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getIssuerName() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getLastUpdate() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getNextUpdate() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getRevokedCert(serialNumber : number) : X509CrlEntry;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getRevokedCertWithCert(cert : X509Cert) : X509CrlEntry;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getRevokedCerts(callback : AsyncCallback<Array<X509CrlEntry>>) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getRevokedCerts() : Promise<Array<X509CrlEntry>>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getTbsInfo() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getSignature() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getSignatureAlgName() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getSignatureAlgOid() : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: X509Crl<br>Method or attribute name: getSignatureAlgParams() : DataBlob;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: cert<br>Method or attribute name: function createX509Crl(inStream : EncodingBlob, callback : AsyncCallback<X509Crl>) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: cert<br>Method or attribute name: function createX509Crl(inStream : EncodingBlob) : Promise<X509Crl>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertChainValidator|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertChainValidator<br>Method or attribute name: validate(certChain : CertChainData, callback : AsyncCallback<void>) : void;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertChainValidator<br>Method or attribute name: validate(certChain : CertChainData) : Promise<void>;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: CertChainValidator<br>Method or attribute name: readonly algorithm : string;|@ohos.security.cert.d.ts|
|Added|NA|Module name: ohos.security.cert<br>Class name: cert<br>Method or attribute name: function createCertChainValidator(algorithm :string) : CertChainValidator;|@ohos.security.cert.d.ts|
|Added|NA|Class name: Random<br>Method or attribute name: setSeed(seed : DataBlob) : void;|@ohos.security.cryptoFramework.d.ts|
|Added|NA|Module name: PermissionRequestResult<br>Class name: PermissionRequestResult|PermissionRequestResult.d.ts|
|Added|NA|Module name: PermissionRequestResult<br>Class name: PermissionRequestResult<br>Method or attribute name: permissions: Array<string>;|PermissionRequestResult.d.ts|
|Added|NA|Module name: PermissionRequestResult<br>Class name: PermissionRequestResult<br>Method or attribute name: authResults: Array<number>;|PermissionRequestResult.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: Result<br>Method or attribute name: ERR_CERT_SIGNATURE_FAILURE = 17630002|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: Result<br>Method or attribute name: ERR_CERT_NOT_YET_VALID = 17630003|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: Result<br>Method or attribute name: ERR_CERT_HAS_EXPIRED = 17630004|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: Result<br>Method or attribute name: ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY = 17630005|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: Result<br>Method or attribute name: ERR_KEYUSAGE_NO_CERTSIGN = 17630006|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: Result<br>Method or attribute name: ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE = 17630007|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: DataArray|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: DataArray<br>Method or attribute name: data : Array<Uint8Array>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: EncodingFormat|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: EncodingFormat<br>Method or attribute name: FORMAT_DER = 0|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: EncodingFormat<br>Method or attribute name: FORMAT_PEM = 1|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: EncodingBlob|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: EncodingBlob<br>Method or attribute name: data : Uint8Array;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: EncodingBlob<br>Method or attribute name: encodingFormat : EncodingFormat;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: CertChainData|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: CertChainData<br>Method or attribute name: data: Uint8Array;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: CertChainData<br>Method or attribute name: count : number;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: CertChainData<br>Method or attribute name: encodingFormat: EncodingFormat;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: verify(key : PubKey, callback : AsyncCallback<void>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: verify(key : PubKey) : Promise<void>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getEncoded(callback : AsyncCallback<EncodingBlob>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getEncoded() : Promise<EncodingBlob>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getPublicKey(callback : AsyncCallback<PubKey>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getPublicKey() : Promise<PubKey>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: checkValidityWithDate(date: string, callback : AsyncCallback<void>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: checkValidityWithDate(date: string) : Promise<void>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getVersion() : number;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getSerialNumber() : number;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getIssuerName() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getSubjectName() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getNotBeforeTime() : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getNotAfterTime() : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getSignature() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getSignatureAlgName() : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getSignatureAlgOid() : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getSignatureAlgParams() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getKeyUsage() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getExtKeyUsage() : DataArray;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getBasicConstraints() : number;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getSubjectAltNames() : DataArray;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Cert<br>Method or attribute name: getIssuerAltNames() : DataArray;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: cryptoFramework<br>Method or attribute name: function createX509Cert(inStream : EncodingBlob, callback : AsyncCallback<X509Cert>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: cryptoFramework<br>Method or attribute name: function createX509Cert(inStream : EncodingBlob) : Promise<X509Cert>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509CrlEntry|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509CrlEntry<br>Method or attribute name: getEncoded(callback : AsyncCallback<EncodingBlob>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509CrlEntry<br>Method or attribute name: getEncoded() : Promise<EncodingBlob>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509CrlEntry<br>Method or attribute name: getSerialNumber() : number;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509CrlEntry<br>Method or attribute name: getCertIssuer(callback : AsyncCallback<DataBlob>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509CrlEntry<br>Method or attribute name: getCertIssuer() : Promise<DataBlob>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509CrlEntry<br>Method or attribute name: getRevocationDate(callback : AsyncCallback<string>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509CrlEntry<br>Method or attribute name: getRevocationDate() : Promise<string>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: isRevoked(cert : X509Cert, callback : AsyncCallback<boolean>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: isRevoked(cert : X509Cert) : Promise<boolean>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getType() : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getEncoded(callback : AsyncCallback<EncodingBlob>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getEncoded() : Promise<EncodingBlob>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: verify(key : PubKey, callback : AsyncCallback<void>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: verify(key : PubKey) : Promise<void>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getVersion() : number;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getIssuerName() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getLastUpdate() : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getNextUpdate() : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getRevokedCert(serialNumber : number, callback : AsyncCallback<X509CrlEntry>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getRevokedCert(serialNumber : number) : Promise<X509CrlEntry>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getRevokedCertWithCert(cert : X509Cert, callback : AsyncCallback<X509CrlEntry>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getRevokedCertWithCert(cert : X509Cert) : Promise<X509CrlEntry>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getRevokedCerts(callback : AsyncCallback<Array<X509CrlEntry>>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getRevokedCerts() : Promise<Array<X509CrlEntry>>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getTbsInfo(callback : AsyncCallback<DataBlob>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getTbsInfo() : Promise<DataBlob>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getSignature() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getSignatureAlgName() : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getSignatureAlgOid() : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: X509Crl<br>Method or attribute name: getSignatureAlgParams() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: cryptoFramework<br>Method or attribute name: function createX509Crl(inStream : EncodingBlob, callback : AsyncCallback<X509Crl>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: cryptoFramework<br>Method or attribute name: function createX509Crl(inStream : EncodingBlob) : Promise<X509Crl>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: CertChainValidator|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: CertChainValidator<br>Method or attribute name: validate(certChain : CertChainData, callback : AsyncCallback<void>) : void;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: CertChainValidator<br>Method or attribute name: validate(certChain : CertChainData) : Promise<void>;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: CertChainValidator<br>Method or attribute name: readonly algorithm : string;|NA|@ohos.security.cryptoFramework.d.ts|
|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: cryptoFramework<br>Method or attribute name: function createCertChainValidator(algorithm :string) : CertChainValidator;|NA|@ohos.security.cryptoFramework.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID \| 0<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID \| 0<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES \| 13<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES \| 13<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES \| 16<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES \| 16<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES \| 17<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES \| 17<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT \| 18<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT \| 18<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 201<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 201<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 202<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 202<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 203<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 203<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 204<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 204<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES \| 503<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES \| 503<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES \| 504<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES \| 504<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES \| 505<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES \| 505<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 506<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 506<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES \| 507<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES \| 507<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 508<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 508<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES \| 509<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES \| 509<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 510<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 510<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 512<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 512<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 513<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 513<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL \| 1009<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL \| 1009<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 1010<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 1010<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10001<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10001<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10002<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10002<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10003<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10003<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10004<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10004<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10005<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10005<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10007<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10007<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT \| 10008<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT \| 10008<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10010<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10010<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10101<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10101<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Deprecated version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT \| 10102<br>Deprecated version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT \| 10102<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.security.huks.d.ts|
|Initial version changed|Class name: SymKey<br>Initial version: N/A|Class name: SymKey<br>Initial version: 9|@ohos.security.cryptoFramework.d.ts|
|Initial version changed|Class name: SymKey<br>Method or attribute name: clearMem() : void;<br>Initial version: N/A|Class name: SymKey<br>Method or attribute name: clearMem() : void;<br>Initial version: 9|@ohos.security.cryptoFramework.d.ts|
|Initial version changed|Class name: Random<br>Initial version: N/A|Class name: Random<br>Initial version: 9|@ohos.security.cryptoFramework.d.ts|
|Initial version changed|Class name: Cipher<br>Initial version: N/A|Class name: Cipher<br>Initial version: 9|@ohos.security.cryptoFramework.d.ts|
|Initial version changed|Class name: KeyAgreement<br>Initial version: N/A|Class name: KeyAgreement<br>Initial version: 9|@ohos.security.cryptoFramework.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID \| 0<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID \| 0<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES \| 13<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES \| 13<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES \| 16<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES \| 16<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES \| 17<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES \| 17<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT \| 18<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT \| 18<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 201<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 201<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 202<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 202<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 203<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 203<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 204<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 204<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES \| 503<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES \| 503<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES \| 504<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES \| 504<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES \| 505<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES \| 505<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 506<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 506<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES \| 507<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES \| 507<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 508<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 508<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES \| 509<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES \| 509<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 510<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 510<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 512<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 512<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 513<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 513<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL \| 1009<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL \| 1009<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 1010<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 1010<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10001<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10001<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10002<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10002<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10003<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10003<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10004<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10004<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10005<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10005<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10007<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10007<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT \| 10008<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT \| 10008<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10010<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10010<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10101<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10101<br>Initial version: 8|@ohos.security.huks.d.ts|
|Initial version changed|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT \| 10102<br>Initial version: N/A|Class name: HuksTag<br>Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT \| 10102<br>Initial version: 8|@ohos.security.huks.d.ts|
|Error code added|NA|Class name: AsyKeyGenerator<br>Method or attribute name: generateKeyPair() : Promise<KeyPair>;<br>Error code: 401, 17620001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: AsyKeyGenerator<br>Method or attribute name: convertKey(pubKey : DataBlob, priKey : DataBlob) : Promise<KeyPair>;<br>Error code: 401, 17620001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: Cipher<br>Method or attribute name: init(opMode : CryptoMode, key : Key, params : ParamsSpec) : Promise<void>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: Cipher<br>Method or attribute name: update(data : DataBlob) : Promise<DataBlob>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: Cipher<br>Method or attribute name: doFinal(data : DataBlob) : Promise<DataBlob>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: Sign<br>Method or attribute name: init(priKey : PriKey) : Promise<void>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: Sign<br>Method or attribute name: update(data : DataBlob) : Promise<void>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: Sign<br>Method or attribute name: sign(data : DataBlob) : Promise<DataBlob>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: Verify<br>Method or attribute name: init(pubKey : PubKey) : Promise<void>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: Verify<br>Method or attribute name: update(data : DataBlob) : Promise<void>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: Verify<br>Method or attribute name: verify(data : DataBlob, signatureData : DataBlob) : Promise<boolean>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Error code added|NA|Class name: KeyAgreement<br>Method or attribute name: generateSecret(priKey : PriKey, pubKey : PubKey) : Promise<DataBlob>;<br>Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts|
|Function changed|Class name: huks<br>Method or attribute name: function update(handle: number, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>|Class name: huks<br>Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>|@ohos.security.huks.d.ts|
|Function changed|Class name: huks<br>Method or attribute name: function update(handle: number, options: HuksOptions, token: Uint8Array, callback: AsyncCallback<HuksResult>) : void;<br>|Class name: huks<br>Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;<br>|@ohos.security.huks.d.ts|
|Function changed|Class name: huks<br>Method or attribute name: function update(handle: number, options: HuksOptions, token?: Uint8Array) : Promise<HuksResult>;<br>|Class name: huks<br>Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions) : Promise<HuksResult>;<br>|@ohos.security.huks.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: CallTransferInfo<br>Method or attribute name: startHour?: number;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: CallTransferInfo<br>Method or attribute name: startMinute?: number;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: CallTransferInfo<br>Method or attribute name: endHour?: number;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: CallTransferInfo<br>Method or attribute name: endMinute?: number;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: CallTransferResult<br>Method or attribute name: startHour: number;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: CallTransferResult<br>Method or attribute name: startMinute: number;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: CallTransferResult<br>Method or attribute name: endHour: number;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: CallTransferResult<br>Method or attribute name: endMinute: number;|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: |@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: UNASSIGNED_NUMBER = 1|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: UNASSIGNED_NUMBER = 1|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NO_ROUTE_TO_DESTINATION = 3|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NO_ROUTE_TO_DESTINATION = 3|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: CHANNEL_UNACCEPTABLE = 6|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: CHANNEL_UNACCEPTABLE = 6|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: OPERATOR_DETERMINED_BARRING = 8|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: OPERATOR_DETERMINED_BARRING = 8|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: CALL_COMPLETED_ELSEWHERE = 13|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: CALL_COMPLETED_ELSEWHERE = 13|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NORMAL_CALL_CLEARING = 16|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NORMAL_CALL_CLEARING = 16|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: USER_BUSY = 17|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: USER_BUSY = 17|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NO_USER_RESPONDING = 18|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NO_USER_RESPONDING = 18|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: USER_ALERTING_NO_ANSWER = 19|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: USER_ALERTING_NO_ANSWER = 19|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: CALL_REJECTED = 21|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: CALL_REJECTED = 21|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NUMBER_CHANGED = 22|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NUMBER_CHANGED = 22|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: CALL_REJECTED_DUE_TO_FEATURE_AT_THE_DESTINATION = 24|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: CALL_REJECTED_DUE_TO_FEATURE_AT_THE_DESTINATION = 24|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: FAILED_PRE_EMPTION = 25|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: FAILED_PRE_EMPTION = 25|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NON_SELECTED_USER_CLEARING = 26|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NON_SELECTED_USER_CLEARING = 26|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: DESTINATION_OUT_OF_ORDER = 27|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: DESTINATION_OUT_OF_ORDER = 27|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: INVALID_NUMBER_FORMAT = 28|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: INVALID_NUMBER_FORMAT = 28|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: FACILITY_REJECTED = 29|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: FACILITY_REJECTED = 29|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RESPONSE_TO_STATUS_ENQUIRY = 30|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RESPONSE_TO_STATUS_ENQUIRY = 30|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NORMAL_UNSPECIFIED = 31|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NORMAL_UNSPECIFIED = 31|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NO_CIRCUIT_CHANNEL_AVAILABLE = 34|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NO_CIRCUIT_CHANNEL_AVAILABLE = 34|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NETWORK_OUT_OF_ORDER = 38|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NETWORK_OUT_OF_ORDER = 38|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: TEMPORARY_FAILURE = 41|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: TEMPORARY_FAILURE = 41|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: SWITCHING_EQUIPMENT_CONGESTION = 42|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: SWITCHING_EQUIPMENT_CONGESTION = 42|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: ACCESS_INFORMATION_DISCARDED = 43|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: ACCESS_INFORMATION_DISCARDED = 43|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: REQUEST_CIRCUIT_CHANNEL_NOT_AVAILABLE = 44|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: REQUEST_CIRCUIT_CHANNEL_NOT_AVAILABLE = 44|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RESOURCES_UNAVAILABLE_UNSPECIFIED = 47|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RESOURCES_UNAVAILABLE_UNSPECIFIED = 47|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: QUALITY_OF_SERVICE_UNAVAILABLE = 49|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: QUALITY_OF_SERVICE_UNAVAILABLE = 49|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: REQUESTED_FACILITY_NOT_SUBSCRIBED = 50|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: REQUESTED_FACILITY_NOT_SUBSCRIBED = 50|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: INCOMING_CALLS_BARRED_WITHIN_THE_CUG = 55|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: INCOMING_CALLS_BARRED_WITHIN_THE_CUG = 55|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: BEARER_CAPABILITY_NOT_AUTHORIZED = 57|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: BEARER_CAPABILITY_NOT_AUTHORIZED = 57|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE = 58|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE = 58|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: SERVICE_OR_OPTION_NOT_AVAILABLE_UNSPECIFIED = 63|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: SERVICE_OR_OPTION_NOT_AVAILABLE_UNSPECIFIED = 63|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: BEARER_SERVICE_NOT_IMPLEMENTED = 65|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: BEARER_SERVICE_NOT_IMPLEMENTED = 65|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: ACM_EQUALTO_OR_GREATER_THAN_THE_MAXIMUM_VALUE = 68|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: ACM_EQUALTO_OR_GREATER_THAN_THE_MAXIMUM_VALUE = 68|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: REQUESTED_FACILITY_NOT_IMPLEMENTED = 69|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: REQUESTED_FACILITY_NOT_IMPLEMENTED = 69|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: ONLY_RESTRICTED_DIGITAL_INFO_BEARER_CAPABILITY_IS_AVAILABLE = 70|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: ONLY_RESTRICTED_DIGITAL_INFO_BEARER_CAPABILITY_IS_AVAILABLE = 70|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: SERVICE_OR_OPTION_NOT_IMPLEMENTED_UNSPECIFIED = 79|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: SERVICE_OR_OPTION_NOT_IMPLEMENTED_UNSPECIFIED = 79|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: INVALID_TRANSACTION_IDENTIFIER_VALUE = 81|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: INVALID_TRANSACTION_IDENTIFIER_VALUE = 81|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: USER_NOT_MEMBER_OF_CUG = 87|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: USER_NOT_MEMBER_OF_CUG = 87|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: INCOMPATIBLE_DESTINATION = 88|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: INCOMPATIBLE_DESTINATION = 88|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: INVALID_TRANSIT_NETWORK_SELECTION = 91|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: INVALID_TRANSIT_NETWORK_SELECTION = 91|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: SEMANTICALLY_INCORRECT_MESSAGE = 95|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: SEMANTICALLY_INCORRECT_MESSAGE = 95|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: INVALID_MANDATORY_INFORMATION = 96|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: INVALID_MANDATORY_INFORMATION = 96|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: CONDITIONAL_IE_ERROR = 100|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: CONDITIONAL_IE_ERROR = 100|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RECOVERY_ON_TIMER_EXPIRED = 102|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RECOVERY_ON_TIMER_EXPIRED = 102|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: PROTOCOL_ERROR_UNSPECIFIED = 111|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: PROTOCOL_ERROR_UNSPECIFIED = 111|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: INTERWORKING_UNSPECIFIED = 127|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: INTERWORKING_UNSPECIFIED = 127|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: CALL_BARRED = 240|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: CALL_BARRED = 240|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: FDN_BLOCKED = 241|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: FDN_BLOCKED = 241|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: IMSI_UNKNOWN_IN_VLR = 242|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: IMSI_UNKNOWN_IN_VLR = 242|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: IMEI_NOT_ACCEPTED = 243|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: IMEI_NOT_ACCEPTED = 243|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: DIAL_MODIFIED_TO_USSD = 244|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: DIAL_MODIFIED_TO_USSD = 244|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: DIAL_MODIFIED_TO_SS = 245|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: DIAL_MODIFIED_TO_SS = 245|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: DIAL_MODIFIED_TO_DIAL = 246|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: DIAL_MODIFIED_TO_DIAL = 246|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RADIO_OFF = 247|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RADIO_OFF = 247|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: OUT_OF_SERVICE = 248|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: OUT_OF_SERVICE = 248|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NO_VALID_SIM = 249|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NO_VALID_SIM = 249|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RADIO_INTERNAL_ERROR = 250|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RADIO_INTERNAL_ERROR = 250|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NETWORK_RESP_TIMEOUT = 251|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NETWORK_RESP_TIMEOUT = 251|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NETWORK_REJECT = 252|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NETWORK_REJECT = 252|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RADIO_ACCESS_FAILURE = 253|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RADIO_ACCESS_FAILURE = 253|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RADIO_LINK_FAILURE = 254|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RADIO_LINK_FAILURE = 254|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RADIO_LINK_LOST = 255|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RADIO_LINK_LOST = 255|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RADIO_UPLINK_FAILURE = 256|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RADIO_UPLINK_FAILURE = 256|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RADIO_SETUP_FAILURE = 257|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RADIO_SETUP_FAILURE = 257|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RADIO_RELEASE_NORMAL = 258|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RADIO_RELEASE_NORMAL = 258|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: RADIO_RELEASE_ABNORMAL = 259|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: RADIO_RELEASE_ABNORMAL = 259|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: ACCESS_CLASS_BLOCKED = 260|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: ACCESS_CLASS_BLOCKED = 260|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: NETWORK_DETACH = 261|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: NETWORK_DETACH = 261|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: INVALID_PARAMETER = 1025|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: INVALID_PARAMETER = 1025|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: SIM_NOT_EXIT = 1026|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: SIM_NOT_EXIT = 1026|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: SIM_PIN_NEED = 1027|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: SIM_PIN_NEED = 1027|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: CALL_NOT_ALLOW = 1029|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: CALL_NOT_ALLOW = 1029|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: SIM_INVALID = 1045|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: SIM_INVALID = 1045|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.call<br>Class name: DisconnectedReason<br>Method or attribute name: UNKNOWN = 1279|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedReason<br>Method or attribute name: UNKNOWN = 1279|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedDetails<br>Method or attribute name: reason: DisconnectedReason;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: DisconnectedDetails<br>Method or attribute name: message: string;|@ohos.telephony.call.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_VOICE_MAIL_NUMBER_STRING = "voice_mail_number_string"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_IMS_SWITCH_ON_BY_DEFAULT_BOOL = "ims_switch_on_by_default_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_HIDE_IMS_SWITCH_BOOL = "hide_ims_switch_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_VOLTE_SUPPORTED_BOOL = "volte_supported_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_NR_MODE_SUPPORTED_LIST_INT_ARRAY = "nr_mode_supported_list_int_array"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_VOLTE_PROVISIONING_SUPPORTED_BOOL = "volte_provisioning_supported_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_SS_OVER_UT_SUPPORTED_BOOL = "ss_over_ut_supported_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_IMS_GBA_REQUIRED_BOOL = "ims_gba_required_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_UT_PROVISIONING_SUPPORTED_BOOL = "ut_provisioning_supported_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_IMS_PREFER_FOR_EMERGENCY_BOOL = "ims_prefer_for_emergency_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_CALL_WAITING_SERVICE_CLASS_INT = "call_waiting_service_class_int"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_CALL_TRANSFER_VISIBILITY_BOOL = "call_transfer_visibility_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_IMS_CALL_DISCONNECT_REASONINFO_MAPPING_STRING_ARRAY = "ims_call_disconnect_reasoninfo_mapping_string_array"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_FORCE_VOLTE_SWITCH_ON_BOOL = "force_volte_switch_on_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_ENABLE_OPERATOR_NAME_CUST_BOOL = "enable_operator_name_cust_bool"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_OPERATOR_NAME_CUST_STRING = "operator_name_cust_string"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_SPN_DISPLAY_CONDITION_CUST_INT = "spn_display_condition_cust_int"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_PNN_CUST_STRING_ARRAY = "pnn_cust_string_array"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_OPL_CUST_STRING_ARRAY = "opl_cust_string_array"|@ohos.telephony.sim.d.ts|
|Added|NA|Module name: ohos.telephony.sim<br>Class name: OperatorConfigKey<br>Method or attribute name: KEY_EMERGENCY_CALL_STRING_ARRAY = "emergency_call_string_array"|@ohos.telephony.sim.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: UNASSIGNED_NUMBER = 1|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: NO_ROUTE_TO_DESTINATION = 3|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: CHANNEL_UNACCEPTABLE = 6|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: OPERATOR_DETERMINED_BARRING = 8|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: NORMAL_CALL_CLEARING = 16|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: USER_BUSY = 17|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: NO_USER_RESPONDING = 18|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: USER_ALERTING_NO_ANSWER = 19|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: CALL_REJECTED = 21|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: NUMBER_CHANGED = 22|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: DESTINATION_OUT_OF_ORDER = 27|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: INVALID_NUMBER_FORMAT = 28|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: NETWORK_OUT_OF_ORDER = 38|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: TEMPORARY_FAILURE = 41|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: INVALID_PARAMETER = 1025|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: SIM_NOT_EXIT = 1026|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: SIM_PIN_NEED = 1027|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: CALL_NOT_ALLOW = 1029|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: SIM_INVALID = 1045|NA|@ohos.telephony.call.d.ts|
|Deleted|Module name: ohos.telephony.call<br>Class name: DisconnectedDetails<br>Method or attribute name: UNKNOWN = 1279|NA|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: CallTransferInfo<br>Method or attribute name: transferNum: string;<br>Initial version: N/A|Class name: CallTransferInfo<br>Method or attribute name: transferNum: string;<br>Initial version: 8|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: CallTransferInfo<br>Method or attribute name: type: CallTransferType;<br>Initial version: N/A|Class name: CallTransferInfo<br>Method or attribute name: type: CallTransferType;<br>Initial version: 8|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: CallTransferInfo<br>Method or attribute name: settingType: CallTransferSettingType;<br>Initial version: N/A|Class name: CallTransferInfo<br>Method or attribute name: settingType: CallTransferSettingType;<br>Initial version: 8|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: CallTransferResult<br>Method or attribute name: status: TransferStatus;<br>Initial version: N/A|Class name: CallTransferResult<br>Method or attribute name: status: TransferStatus;<br>Initial version: 8|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: CallTransferResult<br>Method or attribute name: number: string;<br>Initial version: N/A|Class name: CallTransferResult<br>Method or attribute name: number: string;<br>Initial version: 8|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: CallWaitingStatus<br>Method or attribute name: CALL_WAITING_DISABLE = 0<br>Initial version: N/A|Class name: CallWaitingStatus<br>Method or attribute name: CALL_WAITING_DISABLE = 0<br>Initial version: 7|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: CallWaitingStatus<br>Method or attribute name: CALL_WAITING_ENABLE = 1<br>Initial version: N/A|Class name: CallWaitingStatus<br>Method or attribute name: CALL_WAITING_ENABLE = 1<br>Initial version: 7|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: RestrictionStatus<br>Method or attribute name: RESTRICTION_DISABLE = 0<br>Initial version: N/A|Class name: RestrictionStatus<br>Method or attribute name: RESTRICTION_DISABLE = 0<br>Initial version: 8|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: RestrictionStatus<br>Method or attribute name: RESTRICTION_ENABLE = 1<br>Initial version: N/A|Class name: RestrictionStatus<br>Method or attribute name: RESTRICTION_ENABLE = 1<br>Initial version: 8|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: TransferStatus<br>Method or attribute name: TRANSFER_DISABLE = 0<br>Initial version: N/A|Class name: TransferStatus<br>Method or attribute name: TRANSFER_DISABLE = 0<br>Initial version: 8|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: TransferStatus<br>Method or attribute name: TRANSFER_ENABLE = 1<br>Initial version: N/A|Class name: TransferStatus<br>Method or attribute name: TRANSFER_ENABLE = 1<br>Initial version: 8|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: EmergencyNumberOptions<br>Method or attribute name: slotId?: number;<br>Initial version: N/A|Class name: EmergencyNumberOptions<br>Method or attribute name: slotId?: number;<br>Initial version: 7|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: NumberFormatOptions<br>Method or attribute name: countryCode?: string;<br>Initial version: N/A|Class name: NumberFormatOptions<br>Method or attribute name: countryCode?: string;<br>Initial version: 7|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: AudioDeviceOptions<br>Method or attribute name: bluetoothAddress?: string;<br>Initial version: N/A|Class name: AudioDeviceOptions<br>Method or attribute name: bluetoothAddress?: string;<br>Initial version: 9|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: MmiCodeResults<br>Method or attribute name: result: MmiCodeResult;<br>Initial version: N/A|Class name: MmiCodeResults<br>Method or attribute name: result: MmiCodeResult;<br>Initial version: 9|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: MmiCodeResults<br>Method or attribute name: message: string;<br>Initial version: N/A|Class name: MmiCodeResults<br>Method or attribute name: message: string;<br>Initial version: 9|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: MmiCodeResult<br>Method or attribute name: MMI_CODE_SUCCESS = 0<br>Initial version: N/A|Class name: MmiCodeResult<br>Method or attribute name: MMI_CODE_SUCCESS = 0<br>Initial version: 9|@ohos.telephony.call.d.ts|
|Initial version changed|Class name: MmiCodeResult<br>Method or attribute name: MMI_CODE_FAILED = 1<br>Initial version: N/A|Class name: MmiCodeResult<br>Method or attribute name: MMI_CODE_FAILED = 1<br>Initial version: 9|@ohos.telephony.call.d.ts|
|Permission changed|Class name: observer<br>Method or attribute name: function on(type: 'cellInfoChange', callback: Callback<Array<CellInformation>>): void;<br>Permission: ohos.permission.LOCATION|Class name: observer<br>Method or attribute name: function on(type: 'cellInfoChange', callback: Callback<Array<CellInformation>>): void;<br>Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.observer.d.ts|
|Permission changed|Class name: observer<br>Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number },<br> callback: Callback<Array<CellInformation>>): void;<br>Permission: ohos.permission.LOCATION|Class name: observer<br>Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number },<br> callback: Callback<Array<CellInformation>>): void;<br>Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.observer.d.ts|
|Permission changed|Class name: radio<br>Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback<void>): void;<br>Permission: ohos.permission.LOCATION|Class name: radio<br>Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback<void>): void;<br>Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts|
|Permission changed|Class name: radio<br>Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback<void>): void;<br>Permission: ohos.permission.LOCATION|Class name: radio<br>Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback<void>): void;<br>Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts|
|Permission changed|Class name: radio<br>Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise<void>;<br>Permission: ohos.permission.LOCATION|Class name: radio<br>Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise<void>;<br>Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts|
|Permission changed|Class name: radio<br>Method or attribute name: function getCellInformation(callback: AsyncCallback<Array<CellInformation>>): void;<br>Permission: ohos.permission.LOCATION|Class name: radio<br>Method or attribute name: function getCellInformation(callback: AsyncCallback<Array<CellInformation>>): void;<br>Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts|
|Permission changed|Class name: radio<br>Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback<Array<CellInformation>>): void;<br>Permission: ohos.permission.LOCATION|Class name: radio<br>Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback<Array<CellInformation>>): void;<br>Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts|
|Permission changed|Class name: radio<br>Method or attribute name: function getCellInformation(slotId?: number): Promise<Array<CellInformation>>;<br>Permission: ohos.permission.LOCATION|Class name: radio<br>Method or attribute name: function getCellInformation(slotId?: number): Promise<Array<CellInformation>>;<br>Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts|
|Permission added|Class name: call<br>Method or attribute name: function hangup(callback: AsyncCallback<void>): void;<br>Permission: N/A|Class name: call<br>Method or attribute name: function hangup(callback: AsyncCallback<void>): void;<br>Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts|
|Function changed|Class name: sms<br>Method or attribute name: function isImsSmsSupported(callback: AsyncCallback<boolean>): void;<br>|Class name: sms<br>Method or attribute name: function isImsSmsSupported(slotId: number, callback: AsyncCallback<boolean>): void;<br>|@ohos.telephony.sms.d.ts|
|Function changed|Class name: sms<br>Method or attribute name: function isImsSmsSupported(): Promise<boolean>;<br>|Class name: sms<br>Method or attribute name: function isImsSmsSupported(slotId: number): Promise<boolean>;<br>|@ohos.telephony.sms.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|Module name: ohos.web.webview<br>Class name: WebCustomScheme|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebCustomScheme<br>Method or attribute name: |@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebCustomScheme<br>Method or attribute name: schemeName: string;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebCustomScheme<br>Method or attribute name: schemeName: string;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebCustomScheme<br>Method or attribute name: isSupportCORS: boolean;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebCustomScheme<br>Method or attribute name: isSupportCORS: boolean;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebCustomScheme<br>Method or attribute name: isSupportFetch: boolean;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebCustomScheme<br>Method or attribute name: isSupportFetch: boolean;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: webview<br>Method or attribute name: function once(type: string, callback: Callback<void>): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: webview<br>Method or attribute name: function once(type: string, callback: Callback<void>): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: HistoryItem|@ohos.web.webview.d.ts|
|Added|NA|Class name: HistoryItem<br>Method or attribute name: |@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: HistoryItem<br>Method or attribute name: icon: image.PixelMap;|@ohos.web.webview.d.ts|
|Added|NA|Class name: HistoryItem<br>Method or attribute name: icon: image.PixelMap;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: HistoryItem<br>Method or attribute name: historyUrl: string;|@ohos.web.webview.d.ts|
|Added|NA|Class name: HistoryItem<br>Method or attribute name: historyUrl: string;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: HistoryItem<br>Method or attribute name: historyRawUrl: string;|@ohos.web.webview.d.ts|
|Added|NA|Class name: HistoryItem<br>Method or attribute name: historyRawUrl: string;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: HistoryItem<br>Method or attribute name: title: string;|@ohos.web.webview.d.ts|
|Added|NA|Class name: HistoryItem<br>Method or attribute name: title: string;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: BackForwardList|@ohos.web.webview.d.ts|
|Added|NA|Class name: BackForwardList<br>Method or attribute name: |@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: BackForwardList<br>Method or attribute name: currentIndex: number;|@ohos.web.webview.d.ts|
|Added|NA|Class name: BackForwardList<br>Method or attribute name: currentIndex: number;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: BackForwardList<br>Method or attribute name: size: number;|@ohos.web.webview.d.ts|
|Added|NA|Class name: BackForwardList<br>Method or attribute name: size: number;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: BackForwardList<br>Method or attribute name: getItemAtIndex(index: number): HistoryItem;|@ohos.web.webview.d.ts|
|Added|NA|Class name: BackForwardList<br>Method or attribute name: getItemAtIndex(index: number): HistoryItem;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: static initializeWebEngine(): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: static initializeWebEngine(): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: pageUp(top:boolean): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: pageUp(top:boolean): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: pageDown(bottom:boolean): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: pageDown(bottom:boolean): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: getOriginalUrl(): string;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: getOriginalUrl(): string;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: getFavicon(): image.PixelMap;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: getFavicon(): image.PixelMap;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: setNetworkAvailable(enable: boolean): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: setNetworkAvailable(enable: boolean): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: hasImage(): Promise<boolean>;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: hasImage(): Promise<boolean>;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: hasImage(callback: AsyncCallback<boolean>): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: hasImage(callback: AsyncCallback<boolean>): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: getBackForwardEntries(): BackForwardList;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: getBackForwardEntries(): BackForwardList;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: removeCache(clearRom: boolean): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: removeCache(clearRom: boolean): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: scrollTo(x:number, y:number): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: scrollTo(x:number, y:number): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: scrollBy(deltaX:number, deltaY:number): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: scrollBy(deltaX:number, deltaY:number): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: slideScroll(vx:number, vy:number): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: slideScroll(vx:number, vy:number): void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: serializeWebState() : Uint8Array;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: serializeWebState() : Uint8Array;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: restoreWebState(state: Uint8Array) : void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: restoreWebState(state: Uint8Array) : void;|@ohos.web.webview.d.ts|
|Added|NA|Module name: ohos.web.webview<br>Class name: WebviewController<br>Method or attribute name: static customizeSchemes(schemes: Array<WebCustomScheme>): void;|@ohos.web.webview.d.ts|
|Added|NA|Class name: WebviewController<br>Method or attribute name: static customizeSchemes(schemes: Array<WebCustomScheme>): void;|@ohos.web.webview.d.ts|
|Function changed|Class name: WebMessagePort<br>Method or attribute name: postMessageEvent(message: string): void;<br>|Class name: WebMessagePort<br>Method or attribute name: postMessageEvent(message: WebMessage): void;<br>|@ohos.web.webview.d.ts|
|Function changed|Class name: WebMessagePort<br>Method or attribute name: onMessageEvent(callback: (result: string) => void): void;<br>|Class name: WebMessagePort<br>Method or attribute name: onMessageEvent(callback: (result: WebMessage) => void): void;<br>|@ohos.web.webview.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|
# ChangeLog of JS API Changes of the Distributed Data Management Subsystem
Compared with OpenHarmony 3.2 Beta4, OpenHarmony 3.2.10.1(Mr) has the following API changes in the distributed data management subsystem:
## cl.distributeddatamgr.1 API Change
APIs in the **kv_store** component of the distributed data management subsystem are changed:
**createKVManager** is changed from asynchronous to synchronous, because the execution duration is fixed and short and there is no need to asynchronously wait for the execution result. Therefore, the original APIs **function createKVManager(config: KVManagerConfig): Promise\<KVManager\>;** and **function createKVManager(config: KVManagerConfig, callback: AsyncCallback<KVManager>): void;** are changed to **function createKVManager(config: KVManagerConfig): KVManager;**.
You need to adapt your applications based on the following information:
**Change Impacts**
JS APIs in API version 9 are affected. The application needs to adapt these APIs so that it can properly implement functions in the SDK environment of the new version.
**Key API/Component Changes**
| Module | Class | Method/Attribute/Enumeration/Constant | Change Type|
| ------------------------ | ------------------ | ------------------------------------------------------------ | -------- |
| @ohos.distributedKVStore | distributedKVStore | function createKVManager(config: KVManagerConfig): Promise\<KVManager\>; | Deleted |
| @ohos.distributedKVStore | distributedKVStore | function createKVManager(config: KVManagerConfig): KVManager; | Changed |
**Adaptation Guide**
The following illustrates how to call **createKVManager** to create a **KVManager** object.
Stage model:
```ts
import AbilityStage from '@ohos.application.Ability'
let kvManager;
export default class MyAbilityStage extends AbilityStage {
onCreate() {
console.log("MyAbilityStage onCreate")
let context = this.context
const kvManagerConfig = {
context: context,
bundleName: 'com.example.datamanagertest',
}
try {
kvManager = distributedKVStore.createKVManager(kvManagerConfig);
} catch (e) {
console.error(`Failed to create KVManager.code is ${e.code},message is ${e.message}`);
}
}
}
```
FA model:
```ts
import featureAbility from '@ohos.ability.featureAbility'
let kvManager;
let context = featureAbility.getContext()
const kvManagerConfig = {
context: context,
bundleName: 'com.example.datamanagertest',
}
try {
kvManager = distributedKVStore.createKVManager(kvManagerConfig);
} catch (e) {
console.error(`Failed to create KVManager.code is ${e.code},message is ${e.message}`);
}
```
## cl.distributeddatamgr.2 Migration of function getRdbStoreV9 from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts.
**Change Impacts**
The **getRdbStoreV9()** API is deprecated, and the applications that use it need to make adjustment.
**Key API/Component Changes**
APIs:
```ts
function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number, callback: AsyncCallback<RdbStoreV9>): void;
function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number): Promise<RdbStoreV9>;
```
The APIs are migrated from **@ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts**.
```
function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback<RdbStore>): void;
function getRdbStore(context: Context, config: StoreConfig): Promise<RdbStore>;
```
**Adaptation Guide**
* `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`.
* The names of relevant methods should be changed according to the preceding changes.
## cl.distributeddatamgr.3 Migration of function deleteRdbStoreV9 from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts
**Change Impacts**
The **deleteRdbStoreV9()** API is deprecated, and the applications that use it need to make adjustment.
**Key API/Component Changes**
APIs:
```ts
function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback<void>): void;
function deleteRdbStoreV9(context: Context, name: string): Promise<void>;
```
The APIs are migrated from **@ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts**.
```
function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback<void>): void;
function deleteRdbStoreV9(context: Context, name: string): Promise<void>;
```
**Adaptation Guide**
* `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`.
* The names of relevant methods should be changed according to the preceding changes.
## cl.distributeddatamgr.4 Migration of interface StoreConfigV9 from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts
**Change Impacts**
The **StoreConfigV9()** API is deprecated, and the applications that use it need to make adjustment.
**Key API/Component Changes**
**interface StoreConfigV9** is migrated from **@ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts** and is renamed as **interface StoreConfig**.
**Adaptation Guide**
* `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`.
* The names of relevant APIs should be changed according to the preceding changes.
## cl.distributeddatamgr.5 Migration of enum SecurityLevel from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts
**Change Impacts**
The **SecurityLevel** object is deprecated, and the applications that use it need to make adjustment.
**Key API/Component Changes**
**enum SecurityLevel** is migrated from **ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts**.
**Adaptation Guide**
* `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`.
* The names of relevant APIs should be changed according to the preceding changes.
## cl.distributeddatamgr.6 Migration of interface RdbStoreV9 from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts
**Change Impacts**
The **RdbStoreV9()** interface is deprecated, and the applications that use it need to make adjustment.
**Key API/Component Changes**
**RdbStoreV9()** is migrated from **@ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts** and is renamed as **interface RdbStore**.
**Adaptation Guide**
* `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`.
* The names of relevant APIs should be changed according to the preceding changes.
## cl.distributeddatamgr.7 Migration of class RdbPredicatesV9 from ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts
**Change Impacts**
The **RdbPredicatesV9** class is deprecated, and the applications that use it need to make adjustment.
**Key API/Component Changes**
**RdbPredicatesV9** is migrated from **ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts** and is renamed as **interface RdbPredicates**.
**Adaptation Guide**
* `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`.
* The names of relevant APIs should be changed according to the preceding changes.
## cl.distributeddatamgr.8 Migration of interface ResultSetV9 from api/@ohos.data.relationalStore.d.ts to @ohos.data.relationalStore.d.ts
**Change Impacts**
The **ResultSetV9** object is deprecated, and the applications that use it need to make adjustment.
**Key API/Component Changes**
**ResultSetV9** is migrated from **api/data/rdb/resultSet.d.ts** to **@ohos.data.relationalStore.d.ts** and is renamed as **interface ResultSet**.
**Adaptation Guide**
* `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`.
* The **ResultSetV9** instance is obtained only via **getRdbStoreV9**. After modifications are made according to cl.distributeddatamgr.2, the code can automatically adapt to **ResultSet**.
## 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|
# Multimedia Subsystem ChangeLog
Compared with OpenHarmony 3.2 Beta4, OpenHarmony3.2.10.3 has the following changes in APIs of the camera component in the multimedia subsystem.
## cl.subsystemname.1 Camera API Changed
1. All the APIs of the camera component are changed to system APIs in the API version 9.
2. Some functional APIs are added and some others are deprecated to:
- Improve the usability of camera APIs.
- Help you quickly understand camera APIs and use them for development.
- Facilitate expansion of framework functions in later versions, and reduce coupling between framework modules.
You need to refer to the following change description to adapt your application.
**Change Impacts**
JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version.
**Key API/Component Changes**
| Module | Class | Method/Attribute/Enum/Constant | Is System API| Change Type|
| ---------------------- | ----------------------- | ------------------------------------------------------------ | --------------- | -------- |
| ohos.multimedia.camera | camera | function getCameraManager(context: Context): CameraManager; | Yes | Added |
| ohos.multimedia.camera | camera | function getCameraManager(context: Context, callback: AsyncCallback<CameraManager>): void;<br>function getCameraManager(context: Context): Promise<CameraManager>; | Yes | Deprecated |
| ohos.multimedia.camera | CameraErrorCode | INVALID_ARGUMENT = 7400101,<br>OPERATION_NOT_ALLOWED = 7400102,<br>SESSION_NOT_CONFIG = 7400103,<br>SESSION_NOT_RUNNING = 7400104,<br>SESSION_CONFIG_LOCKED = 7400105,<br>DEVICE_SETTING_LOCKED = 7400106,<br>CONFILICT_CAMERA = 7400107,<br>DEVICE_DISABLED = 7400108,<br>SERVICE_FATAL_ERROR = 7400201 | Yes | Added |
| ohos.multimedia.camera | CameraManager | getSupportedCameras(): Array<CameraDevice>;<br>getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability;<br>createCameraInput(camera: CameraDevice): CameraInput;<br>createCameraInput(position: CameraPosition, type: CameraType): CameraInput;<br>createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput;<br>createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput;<br>createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput;<br>createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>): MetadataOutput;<br>createCaptureSession(): CaptureSession; | Yes | Added |
| ohos.multimedia.camera | CameraManager | getSupportedCameras(callback: AsyncCallback<Array<CameraDevice>>): void;<br>getSupportedCameras(): Promise<Array<CameraDevice>>;<br>getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback<CameraOutputCapability>): void;<br>getSupportedOutputCapability(camera: CameraDevice): Promise<CameraOutputCapability>;<br>createCameraInput(camera: CameraDevice, callback: AsyncCallback<CameraInput>): void;<br>createCameraInput(camera: CameraDevice): Promise<CameraInput>;<br>createCameraInput(position: CameraPosition, type: CameraType, callback: AsyncCallback<CameraInput>): void;<br>createCameraInput(position: CameraPosition, type: CameraType): Promise<CameraInput>;<br>createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<PreviewOutput>): void;<br>createPreviewOutput(profile: Profile, surfaceId: string): Promise<PreviewOutput>;<br>createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<PhotoOutput>): void;<br>createPhotoOutput(profile: Profile, surfaceId: string): Promise<PhotoOutput>;<br>createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback<VideoOutput>): void;<br>createVideoOutput(profile: VideoProfile, surfaceId: string): Promise<VideoOutput>;<br>createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>, callback: AsyncCallback<MetadataOutput>): void;<br>createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>): Promise<MetadataOutput>;<br>createCaptureSession(callback: AsyncCallback<CaptureSession>): void;<br>createCaptureSession(): Promise<CaptureSession>; | Yes | Deprecated |
| ohos.multimedia.camera | CameraType | CAMERA_TYPE_DEFAULT = 0 | Yes | Added |
| ohos.multimedia.camera | CameraType | CAMERA_TYPE_UNSPECIFIED = 0 | Yes | Deprecated |
| ohos.multimedia.camera | CameraInput | on(type: 'error', camera: CameraDevice, callback: ErrorCallback<BusinessError>): void; | Yes | Added |
| ohos.multimedia.camera | CameraInput | release(callback: AsyncCallback<void>): void;<br>release(): Promise<void>;<br>on(type: 'error', camera: CameraDevice, callback: ErrorCallback<CameraInputError>): void; | Yes | Deprecated |
| ohos.multimedia.camera | CameraInputErrorCode | ERROR_UNKNOWN = -1<br>ERROR_NO_PERMISSION = 0<br>ERROR_DEVICE_PREEMPTED = 1<br>ERROR_DEVICE_DISCONNECTED = 2<br>ERROR_DEVICE_IN_USE = 3<br>ERROR_DRIVER_ERROR = 4 | Yes | Deprecated |
| ohos.multimedia.camera | CameraInputError | code: CameraInputErrorCode | Yes | Deprecated |
| ohos.multimedia.camera | CaptureSession | beginConfig(): void;<br>addInput(cameraInput: CameraInput): void;<br>removeInput(cameraInput: CameraInput): void;<br>addOutput(cameraOutput: CameraOutput): void;<br>removeOutput(cameraOutput: CameraOutput): void;<br>hasFlash(): boolean;<br>isFlashModeSupported(flashMode: FlashMode): boolean;<br>getFlashMode(): FlashMode;<br>setFlashMode(flashMode: FlashMode): void;<br>isExposureModeSupported(aeMode: ExposureMode): boolean;<br>getExposureMode(): ExposureMode;<br>setExposureMode(aeMode: ExposureMode): void;<br>getMeteringPoint(): Point;<br>setMeteringPoint(point: Point): void;<br>getExposureBiasRange(): Array<number>;<br>setExposureBias(exposureBias: number): void;<br>getExposureValue(): number;<br>isFocusModeSupported(afMode: FocusMode): boolean;<br>getFocusMode(): FocusMode;<br>setFocusMode(afMode: FocusMode): void;<br>setFocusPoint(point: Point): void;<br>getFocusPoint(): Point;<br>getFocalLength(): number;<br>getZoomRatioRange(): Array<number>;<br>getZoomRatio(): number;<br>setZoomRatio(zoomRatio: number): void;<br>isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean;<br>getActiveVideoStabilizationMode(): VideoStabilizationMode;<br>setVideoStabilizationMode(mode: VideoStabilizationMode): void;<br>on(type: 'error', callback: ErrorCallback<BusinessError>): void; | Yes | Added |
| ohos.multimedia.camera | CaptureSession | beginConfig(callback: AsyncCallback<void>): void;<br>beginConfig(): Promise<void>;<br>addInput(cameraInput: CameraInput, callback: AsyncCallback<void>): void;<br>addInput(cameraInput: CameraInput): Promise<void>;<br>removeInput(cameraInput: CameraInput, callback: AsyncCallback<void>): void;<br>removeInput(cameraInput: CameraInput): Promise<void>;<br>addOutput(cameraOutput: CameraOutput, callback: AsyncCallback<void>): void;<br>addOutput(cameraOutput: CameraOutput): Promise<void>;<br>removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback<void>): void;<br>removeOutput(cameraOutput: CameraOutput): Promise<void>;<br>hasFlash(callback: AsyncCallback<boolean>): void;<br>hasFlash(): Promise<boolean>;<br>isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback<boolean>): void;<br>isFlashModeSupported(flashMode: FlashMode): Promise<boolean>;<br>getFlashMode(callback: AsyncCallback<FlashMode>): void;<br>getFlashMode(): Promise<FlashMode>;<br>setFlashMode(flashMode: FlashMode, callback: AsyncCallback<void>): void;<br>setFlashMode(flashMode: FlashMode): Promise<void>;<br>isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback<boolean>): void;<br>isExposureModeSupported(aeMode: ExposureMode): Promise<boolean>;<br>getExposureMode(callback: AsyncCallback<ExposureMode>): void;<br>getExposureMode(): Promise<ExposureMode>;<br>setExposureMode(aeMode: ExposureMode, callback: AsyncCallback<void>): void;<br>setExposureMode(aeMode: ExposureMode): Promise<void>;<br>getMeteringPoint(callback: AsyncCallback<Point>): void;<br>getMeteringPoint(): Promise<Point>;<br>setMeteringPoint(point: Point, callback: AsyncCallback<void>): void;<br>setMeteringPoint(point: Point): Promise<void>;<br>getExposureBiasRange(callback: AsyncCallback<Array<number>>): void;<br>getExposureBiasRange(): Promise<Array<number>>;<br>setExposureBias(exposureBias: number, callback: AsyncCallback<void>): void;<br>setExposureBias(exposureBias: number): Promise<void>;<br>getExposureValue(callback: AsyncCallback<number>): void;<br>getExposureValue(): Promise<number>;<br>isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback<boolean>): void;<br>isFocusModeSupported(afMode: FocusMode): Promise<boolean>;<br>getFocusMode(callback: AsyncCallback<FocusMode>): void;<br>getFocusMode(): Promise<FocusMode>;<br>setFocusMode(afMode: FocusMode, callback: AsyncCallback<void>): void;<br>setFocusMode(afMode: FocusMode): Promise<void>;<br>setFocusPoint(point: Point, callback: AsyncCallback<void>): void;<br>setFocusPoint(point: Point): Promise<void>;<br>getFocusPoint(callback: AsyncCallback<Point>): void;<br>getFocusPoint(): Promise<Point>;<br>getFocalLength(callback: AsyncCallback<number>): void;<br>getFocalLength(): Promise<number>;<br>getZoomRatioRange(callback: AsyncCallback<Array<number>>): void;<br>getZoomRatioRange(): Promise<Array<number>>;<br>getZoomRatio(callback: AsyncCallback<number>): void;<br>getZoomRatio(): Promise<number>;<br>setZoomRatio(zoomRatio: number, callback: AsyncCallback<void>): void;<br>setZoomRatio(zoomRatio: number): Promise<void>;<br>isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode, callback: AsyncCallback<boolean>): void;<br>isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise<boolean>;<br>getActiveVideoStabilizationMode(callback: AsyncCallback<VideoStabilizationMode>): void;<br>getActiveVideoStabilizationMode(): Promise<VideoStabilizationMode>;<br>setVideoStabilizationMode(mode: VideoStabilizationMode, callback: AsyncCallback<void>): void;<br>setVideoStabilizationMode(mode: VideoStabilizationMode): Promise<void>;<br>on(type: 'error', callback: ErrorCallback<CaptureSessionError>): void; | Yes | Deprecated |
| ohos.multimedia.camera | CaptureSessionErrorCode | ERROR_UNKNOWN = -1<br>ERROR_INSUFFICIENT_RESOURCES = 0<br>ERROR_TIMEOUT = 1 | Yes | Deprecated |
| ohos.multimedia.camera | CaptureSessionError | code: CaptureSessionErrorCode | Yes | Deprecated |
| ohos.multimedia.camera | PreviewOutput | on(type: 'error', callback: ErrorCallback<BusinessError>): void; | Yes | Added |
| ohos.multimedia.camera | PreviewOutput | on(type: 'error', callback: ErrorCallback<PreviewOutputError>): void; | Yes | Deprecated |
| ohos.multimedia.camera | PreviewOutputErrorCode | ERROR_UNKNOWN = -1 | Yes | Deprecated |
| ohos.multimedia.camera | PreviewOutputError | code: PreviewOutputErrorCode | Yes | Deprecated |
| ohos.multimedia.camera | PhotoOutput | capture(): Promise<void>;<br>isMirrorSupported(): boolean;<br>on(type: 'error', callback: ErrorCallback<BusinessError>): void; | Yes | Added |
| ohos.multimedia.camera | PhotoOutput | isMirrorSupported(callback: AsyncCallback<boolean>): void;<br>isMirrorSupported(): Promise<boolean>;<br>on(type: 'error', callback: ErrorCallback<PhotoOutputError>): void; | Yes | Deprecated |
| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_UNKNOWN = -1<br>ERROR_DRIVER_ERROR = 0<br>ERROR_INSUFFICIENT_RESOURCES = 1<br>ERROR_TIMEOUT = 2 | Yes | Deprecated |
| ohos.multimedia.camera | PhotoOutputError | code: PhotoOutputErrorCode | Yes | Deprecated |
| ohos.multimedia.camera | VideoOutput | on(type: 'error', callback: ErrorCallback<BusinessError>): void; | Yes | Added |
| ohos.multimedia.camera | VideoOutput | on(type: 'error', callback: ErrorCallback<VideoOutputError>): void; | Yes | Deprecated |
| ohos.multimedia.camera | VideoOutputErrorCode | ERROR_UNKNOWN = -1<br>ERROR_DRIVER_ERROR = 0 | Yes | Deprecated |
| ohos.multimedia.camera | VideoOutputError | code: VideoOutputErrorCode | Yes | Deprecated |
| ohos.multimedia.camera | MetadataObject | readonly type: MetadataObjectType;<br>readonly timestamp: number; | Yes | Added |
| ohos.multimedia.camera | MetadataObject | getType(callback: AsyncCallback<MetadataObjectType>): void;<br>getType(): Promise<MetadataObjectType>;<br>getTimestamp(callback: AsyncCallback<number>): void;<br>getTimestamp(): Promise<number>;<br>getBoundingBox(callback: AsyncCallback<Rect>): void;<br>getBoundingBox(): Promise<Rect>; | Yes | Deprecated |
| ohos.multimedia.camera | MetadataFaceObject | readonly boundingBox: Rect | Yes | Added |
| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback<BusinessError>): void; | Yes | Added |
| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback<BusinessError>): void; | Yes | Deprecated |
| ohos.multimedia.camera | MetadataOutputErrorCode | ERROR_UNKNOWN = -1<br>ERROR_INSUFFICIENT_RESOURCES = 0 | Yes | Deprecated |
| ohos.multimedia.camera | MetadataOutputError | code: MetadataOutputErrorCode | Yes | Deprecated |
**Adaptation Guide**
In addition to the new APIs and deprecated APIs, you need to adapt your application to the changed APIs.
In Beta4 and later versions, the following APIs are changed.
**New APIs**
1. **CameraErrorCode** enums
Enum: INVALID_ARGUMENT; value: 7400101
Enum: OPERATION_NOT_ALLOWED; value: 7400102
Enum: SESSION_NOT_CONFIG; value: 7400103
Enum: SESSION_NOT_RUNNING; value: 7400104
Enum: SESSION_CONFIG_LOCKED; value: 7400105
Enum: DEVICE_SETTING_LOCKED; value: 7400106
Enum: CONFILICT_CAMERA; value: 7400107
Enum: DEVICE_DISABLED; value: 7400108
Enum: SERVICE_FATAL_ERROR; value: 7400201
2. Added **capture(): Promise<void>** to the **PhotoOutput** API.
3. Added the readonly type **MetadataObjectType** to the **MetadataObject** API.
4. Added **readonly timestamp: number** to the **MetadataObject** API.
5. Added **readonly boundingBox: Rect** to the **MetadataObject** API.
**Deprecated APIs**
1. Deprecated the **release(callback: AsyncCallback<void>): void** and **release(): Promise<void>** APIs in **CameraInput**.
2. Deprecated the **CameraInputErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_NO_PERMISSION** = **0**, **ERROR_DEVICE_PREEMPTED** = **1**, **ERROR_DEVICE_DISCONNECTED** = **2**, **ERROR_DEVICE_IN_USE** = **3**, **ERROR_DRIVER_ERROR** = **4**
3. Deprecated the **CameraInputError** API and its attribute **CameraInputErrorCode**.
4. Deprecated the **CaptureSessionErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_INSUFFICIENT_RESOURCES** = **0**, **ERROR_TIMEOUT** = **1**
5. Deprecated the **CaptureSessionError** API and its attribute **CaptureSessionErrorCode**.
6. Deprecated the **PreviewOutputErrorCode** enum and its value: **ERROR_UNKNOWN** = **-1**
7. Deprecated the **PreviewOutputError** API and its attribute **PreviewOutputErrorCode**.
8. Deprecated the **PhotoOutputErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_DRIVER_ERROR** = **0**, **ERROR_INSUFFICIENT_RESOURCES** = **1**, **ERROR_TIMEOUT** = **2**
9. Deprecated the **PhotoOutputError** API and its attribute **PhotoOutputErrorCode**.
10. Deprecated the **VideoOutputErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_DRIVER_ERROR** = **0**
11. Deprecated the **VideoOutputError** API and its attribute **VideoOutputErrorCode**.
12. Deprecated **getType(callback: AsyncCallback<MetadataObjectType>): void** in the **MetadataObject** API.
13. Deprecated **getType(): Promise<MetadataObjectType>** in the **MetadataObject** API.
14. Deprecated **getTimestamp(callback: AsyncCallback<number>): void** in the **MetadataObject** API.
15. Deprecated **getTimestamp(): Promise<number>** in the **MetadataObject** API.
16. Deprecated **getBoundingBox(callback: AsyncCallback<Rect>): void** in the **MetadataObject** API.
17. Deprecated **getBoundingBox(): Promise<Rect>** in the **MetadataObject** API.
18. Deprecated the **MetadataOutputErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_INSUFFICIENT_RESOURCES** = **0**
19. Deprecated the **MetadataOutputError** API and its attribute **MetadataOutputErrorCode**.
**Changed APIs**
1. Changed the return modes of the **getCameraManager** API in the camera module from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getCameraManager(context: Context, callback: AsyncCallback<CameraManager>): void** and **getCameraManager(context: Context): Promise<CameraManager>** are changed to **getCameraManager(context: Context): CameraManager**.
The sample code is as follows:
```
let cameraManager = camera.getCameraManager(context);
```
2. Changed the return modes of the **getSupportedCameras** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getSupportedCameras(callback: AsyncCallback<Array<CameraDevice>>): void** and **getSupportedCameras(): Promise<Array<CameraDevice>>** are changed to **getSupportedCameras(): Array<CameraDevice>**.
The sample code is as follows:
```
let cameras = cameraManager.getSupportedCameras();
```
3. Changed the return modes of the **getSupportedOutputCapability** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback<CameraOutputCapability>): void** and **getSupportedOutputCapability(camera: CameraDevice): Promise<CameraOutputCapability>** are changed to **getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability**.
The sample code is as follows:
```
let cameraDevice = cameras[0];
let CameraOutputCapability = cameraManager.getSupportedOutputCapability(cameraDevice);
```
4. Changed the return modes of the **createCameraInput(camera: CameraDevice)** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createCameraInput(camera: CameraDevice, callback: AsyncCallback<CameraInput>): void** and **createCameraInput(camera: CameraDevice): Promise<CameraInput>** are changed to **createCameraInput(camera: CameraDevice): CameraInput**.
The sample code is as follows:
```
let cameraDevice = cameras[0];
let cameraInput = cameraManager.createCameraInput(cameraDevice);
```
5. Changed the return modes of the **createCameraInput(position: CameraPosition, type: CameraType)** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createCameraInput(position: CameraPosition, type: CameraType, callback: AsyncCallback<CameraInput>): void** and **createCameraInput(position: CameraPosition, type: CameraType): Promise<CameraInput>** are changed to **createCameraInput(position: CameraPosition, type: CameraType): CameraInput**.
The sample code is as follows:
```
let cameraDevice = cameras[0];
let position = cameraDevice.cameraPosition;
let type = cameraDevice.cameraType;
let cameraInput = cameraManager.createCameraInput(position, type);
```
6. Changed the return modes of the **createPreviewOutput** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<PreviewOutput>): void** and **createPreviewOutput(profile: Profile, surfaceId: string): Promise<PreviewOutput>** are changed to **createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput**.
The sample code is as follows:
```
let profile = cameraoutputcapability.previewProfiles[0];
let previewOutput = cameraManager.createPreviewOutput(profile, surfaceId);
```
7. Changed the return modes of the **createPhotoOutput** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<PhotoOutput>): void** and **createPhotoOutput(profile: Profile, surfaceId: string): Promise<PhotoOutput>** are changed to **createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput**.
The sample code is as follows:
```
let profile = cameraoutputcapability.photoProfiles[0];
let photoOutput = cameraManager.createPhotoOutput(profile, surfaceId);
```
8. Changed the return modes of the **createVideoOutput** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback<VideoOutput>): void** and **createVideoOutput(profile: VideoProfile, surfaceId: string): Promise<VideoOutput>** are changed to **createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput**.
The sample code is as follows:
```
let profile = cameraoutputcapability.videoProfiles[0];
let videoOutput = cameraManager.createVideoOutput(profile, surfaceId);
```
9. Changed the return modes of the **createMetadataOutput** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>, callback: AsyncCallback<MetadataOutput>): void** and **createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>): Promise<MetadataOutput>** are changed to **createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>): MetadataOutput**.
The sample code is as follows:
```
let metadataObjectTypes = cameraoutputcapability.supportedMetadataObjectTypes;
let metadataOutput = cameraManager.createMetadataOutput(metadataObjectTypes);
```
10. Changed the return modes of the **createCaptureSession** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createCaptureSession(callback: AsyncCallback<CaptureSession>): void** and **createCaptureSession(): Promise<CaptureSession>** are changed to **createCaptureSession(): CaptureSession**.
The sample code is as follows:
```
let captureSession = cameraManager.createCaptureSession();
```
11. Changed the enum **CAMERA_TYPE_UNSPECIFIED** of **CameraType** to **CAMERA_TYPE_DEFAULT**.
12. Changed the return value type of the **on** API in CameraInput from **CameraInputError** to **BusinessError**. Therefore, the original API **on(type: 'error', camera: CameraDevice, callback: ErrorCallback<CameraInputError>): void** is changed to **on(type: 'error', camera: CameraDevice, callback: ErrorCallback<BusinessError>): void**.
The sample code is as follows:
```
let cameraDevice = cameras[0];
cameraInput.on('error', cameraDevice, (BusinessError) => {
})
```
13. Changed the return modes of the **beginConfig** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **beginConfig(callback: AsyncCallback<void>): void** and **beginConfig(): Promise<void>** are changed to **beginConfig(): void**.
The sample code is as follows:
```
captureSession.beginConfig();
```
14. Changed the return modes of the **addInput** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **addInput(cameraInput: CameraInput, callback: AsyncCallback<void>): void** and **addInput(cameraInput: CameraInput): Promise<void>** are changed to **addInput(cameraInput: CameraInput): void**.
The sample code is as follows:
```
captureSession.addInput(cameraInput);
```
15. Changed the return modes of the **removeInput** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **removeInput(cameraInput: CameraInput, callback: AsyncCallback<void>): void** and **removeInput(cameraInput: CameraInput): Promise<void>** are changed to **removeInput(cameraInput: CameraInput): void**.
The sample code is as follows:
```
captureSession.removeInput(cameraInput);
```
16. Changed the return modes of the **addOutput** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **addOutput(cameraOutput: CameraOutput, callback: AsyncCallback<void>): void** and **addOutput(cameraOutput: CameraOutput): Promise<void>** are changed to **addOutput(cameraOutput: CameraOutput): void**.
The sample code is as follows:
```
captureSession.addOutput(previewOutput);
```
17. Changed the return modes of the **removeOutput** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback<void>): void** and **removeOutput(cameraOutput: CameraOutput): Promise<void>** are changed to **removeOutput(cameraOutput: CameraOutput): void**.
The sample code is as follows:
```
captureSession.removeOutput(previewOutput);
```
18. Changed the return modes of the **hasFlash** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **hasFlash(callback: AsyncCallback<boolean>): void** and **hasFlash(): Promise<boolean>** are changed to **hasFlash(): boolean**.
The sample code is as follows:
```
let status = captureSession.hasFlash();
```
19. Changed the return modes of the **isFlashModeSupported** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback<boolean>): void** and **isFlashModeSupported(flashMode: FlashMode): Promise<boolean>** are changed to **isFlashModeSupported(flashMode: FlashMode): boolean**.
The sample code is as follows:
```
let status = captureSession.isFlashModeSupported(camera.FlashMode.FLASH_MODE_AUTO);
```
20. Changed the return modes of the **getFlashMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getFlashMode(callback: AsyncCallback<FlashMode>): void** and **getFlashMode(): Promise<FlashMode>** are changed to **getFlashMode(): FlashMode**.
The sample code is as follows:
```
let flashMode = captureSession.getFlashMode();
```
21. Changed the return modes of the **isExposureModeSupported** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback<boolean>): void** and **isExposureModeSupported(aeMode: ExposureMode): Promise<boolean>** are changed to **isExposureModeSupported(aeMode: ExposureMode): boolean**.
The sample code is as follows:
```
let isSupported = captureSession.isExposureModeSupported(camera.ExposureMode.EXPOSURE_MODE_LOCKED);
```
22. Changed the return modes of the **getExposureMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getExposureMode(callback: AsyncCallback<ExposureMode>): void** and **getExposureMode(): Promise<ExposureMode>** are changed to **getExposureMode(): ExposureMode**.
The sample code is as follows:
```
let exposureMode = captureSession.getExposureMode();
```
23. Changed the return modes of the **setExposureMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setExposureMode(aeMode: ExposureMode, callback: AsyncCallback<void>): void** and **setExposureMode(aeMode: ExposureMode): Promise<void>** are changed to **setExposureMode(aeMode: ExposureMode): void**.
The sample code is as follows:
```
captureSession.setExposureMode(camera.ExposureMode.EXPOSURE_MODE_LOCKED);
```
24. Changed the return modes of the **getMeteringPoint** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getMeteringPoint(callback: AsyncCallback<Point>): void** and **getMeteringPoint(): Promise<Point>** are changed to **getMeteringPoint(): Point**.
The sample code is as follows:
```
let exposurePoint = captureSession.getMeteringPoint();
```
25. Changed the return modes of the **setMeteringPoint** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setMeteringPoint(point: Point, callback: AsyncCallback<void>): void** and **setMeteringPoint(point: Point): Promise<void>** are changed to **setMeteringPoint(point: Point): void**.
The sample code is as follows:
```
let Point2 = {x: 2, y: 2};
captureSession.setMeteringPoint(Point2);
```
26. Changed the return modes of the **getExposureBiasRange** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getExposureBiasRange(callback: AsyncCallback<Array<number>>): void** and **getExposureBiasRange(): Promise<Array<number>>** are changed to **getExposureBiasRange(): Array<number>**.
The sample code is as follows:
```
let biasRangeArray = captureSession.getExposureBiasRange();
```
27. Changed the return modes of the **setExposureBias** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setExposureBias(exposureBias: number, callback: AsyncCallback<void>): void** and **setExposureBias(exposureBias: number): Promise<void>** are changed to **setExposureBias(exposureBias: number): void**.
The sample code is as follows:
```
let exposureBias = biasRangeArray[0];
captureSession.setExposureBias(exposureBias);
```
28. Changed the return modes of the **getExposureValue** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getExposureValue(callback: AsyncCallback<number>): void** and **getExposureValue(): Promise<number>** are changed to **getExposureValue(): number**.
The sample code is as follows:
```
let exposureValue = captureSession.getExposureValue();
```
29. Changed the return modes of the **isFocusModeSupported** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback<boolean>): void** and **isFocusModeSupported(afMode: FocusMode): Promise<boolean>** are changed to **isFocusModeSupported(afMode: FocusMode): boolean**.
The sample code is as follows:
```
let status = captureSession.isFocusModeSupported(camera.FocusMode.FOCUS_MODE_AUTO);
```
30. Changed the return modes of the **getFocusMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getFocusMode(callback: AsyncCallback<FocusMode>): void** and **getFocusMode(): Promise<FocusMode>** are changed to **getFocusMode(): FocusMode**.
The sample code is as follows:
```
let afMode = captureSession.getFocusMode();
```
31. Changed the return modes of the **setFocusMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setFocusMode(afMode: FocusMode, callback: AsyncCallback<void>): void** and **setFocusMode(afMode: FocusMode): Promise<void>** are changed to **setFocusMode(afMode: FocusMode): void**.
The sample code is as follows:
```
captureSession.setFocusMode(camera.FocusMode.FOCUS_MODE_AUTO);
```
32. Changed the return modes of the **setFocusPoint** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setFocusPoint(point: Point, callback: AsyncCallback<void>): void** and **setFocusPoint(point: Point): Promise<void>** are changed to **setFocusPoint(point: Point): void**.
The sample code is as follows:
```
let Point2 = {x: 2, y: 2};
captureSession.setFocusPoint(Point2);
```
33. Changed the return modes of the **getFocusPoint** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getFocusPoint(callback: AsyncCallback<Point>): void** and **getFocusPoint(): Promise<Point>** are changed to **getFocusPoint(): Point**.
The sample code is as follows:
```
let point = captureSession.getFocusPoint();
```
34. Changed the return modes of the **getFocalLength** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getFocalLength(callback: AsyncCallback<number>): void** and **getFocalLength(): Promise<number>** are changed to **getFocalLength(): number**.
The sample code is as follows:
```
let focalLength = captureSession.getFocalLength();
```
35. Changed the return modes of the **getZoomRatioRange** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getZoomRatioRange(callback: AsyncCallback<Array<number>>): void** and **getZoomRatioRange(): Promise<Array<number>>** are changed to **getZoomRatioRange(): Array<number>**.
The sample code is as follows:
```
let zoomRatioRange = captureSession.getZoomRatioRange();
```
36. Changed the return modes of the **getZoomRatio** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getZoomRatio(callback: AsyncCallback<number>): void** and **getZoomRatio(): Promise<number>** are changed to **getZoomRatio(): number**.
The sample code is as follows:
```
let zoomRatio = captureSession.getZoomRatio();
```
37. Changed the return modes of the **setZoomRatio** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setZoomRatio(zoomRatio: number, callback: AsyncCallback<void>): void** and **setZoomRatio(zoomRatio: number): Promise<void>** are changed to **setZoomRatio(zoomRatio: number): void**.
The sample code is as follows:
```
let zoomRatio = zoomRatioRange[0];
captureSession.setZoomRatio(zoomRatio);
```
38. Changed the return modes of the **isVideoStabilizationModeSupported** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode, callback: AsyncCallback<boolean>): void** and **isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise<boolean>** are changed to **isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean**.
The sample code is as follows:
```
let isSupported = captureSession.isVideoStabilizationModeSupported(camera.VideoStabilizationMode.OFF);
```
39. Changed the return modes of the **getActiveVideoStabilizationMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getActiveVideoStabilizationMode(callback: AsyncCallback<VideoStabilizationMode>): void** and **getActiveVideoStabilizationMode(): Promise<VideoStabilizationMode>** are changed to **getActiveVideoStabilizationMode(): VideoStabilizationMode**.
The sample code is as follows:
```
let vsMode = captureSession.getActiveVideoStabilizationMode();
```
40. Changed the return modes of the **setVideoStabilizationMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setVideoStabilizationMode(mode: VideoStabilizationMode, callback: AsyncCallback<void>): void** and **setVideoStabilizationMode(mode: VideoStabilizationMode): Promise<void>** are changed to **setVideoStabilizationMode(mode: VideoStabilizationMode): void**.
The sample code is as follows:
```
captureSession.setVideoStabilizationMode(camera.VideoStabilizationMode.OFF);
```
41. Changed the **on(type:'error') callback** type in CaptureSession from **ErrorCallback<CaptureSessionError>** to **ErrorCallback<BusinessError>**. Therefore, the original API **on(type: 'error', callback: ErrorCallback<CaptureSessionError>): void** is changed to **on(type: 'error', callback: ErrorCallback<BusinessError>): void**.
The sample code is as follows:
```
captureSession.on('error', (BusinessError) => {
})
```
42. Changed the **on(type:'error') callback** type in PreviewOutput, from **ErrorCallback<PreviewOutputError>** to **ErrorCallback<BusinessError>**. Therefore, the original API **on(type: 'error', callback: ErrorCallback<PreviewOutputError>): void** is changed to **on(type: 'error', callback: ErrorCallback<BusinessError>): void**.
The sample code is as follows:
```
previewOutput.on('error', (BusinessError) => {
})
```
43. Changed the return modes of the **isMirrorSupported** API in PhotoOutput from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isMirrorSupported(callback: AsyncCallback<boolean>): void** and **isMirrorSupported(): Promise<boolean>** are changed to **isMirrorSupported(): boolean**.
The sample code is as follows:
```
let isSupported = photoOutput.isMirrorSupported();
```
44. Changed the **on(type:'error') callback** type in PhotoOutput, from **ErrorCallback<PhotoOutputError>** to **ErrorCallback<BusinessError>**. Therefore, the original API **on(type: 'error', callback: ErrorCallback<PhotoOutputError>): void** is changed to **on(type: 'error', callback: ErrorCallback<BusinessError>): void**.
The sample code is as follows:
```
PhotoOutput.on('error', (BusinessError) => {
})
```
45. Changed the **on(type:'error') callback** type in VideoOutput, from **ErrorCallback<VideoOutputError>** to **ErrorCallback<BusinessError>**. Therefore, the original API **on(type: 'error', callback: ErrorCallback<VideoOutputError>): void** is changed to **on(type: 'error', callback: ErrorCallback<BusinessError>): void**.
The sample code is as follows:
```
VideoOutput.on('error', (BusinessError) => {
})
```
46. Changed the **on(type:'error') callback** type in MetadataOutput, from **ErrorCallback<MetadataOutputError>** to **ErrorCallback<BusinessError>**. Therefore, the original API **on(type: 'error', callback: ErrorCallback<MetadataOutputError>): void** is changed to **on(type: 'error', callback: ErrorCallback<BusinessError>): void**.
The sample code is as follows:
```
MetadataOutput.on('error', (BusinessError) => {
})
```
\ No newline at end of file
# ArkUI Subsystem ChangeLog
## cl.arkui.1 Restrictions on Data Type Declarations of State Variables
1. The data types of state variables decorated by state decorators must be explicitly declared. They cannot be declared as **any** or **Date**.
Example:
```ts
// xxx.ets
@Entry
@Component
struct DatePickerExample {
// Incorrect: @State isLunar: any = false
@State isLunar: boolean = false
// Incorrect: @State selectedDate: Date = new Date('2021-08-08')
private selectedDate: Date = new Date('2021-08-08')
build() {
Column() {
Button('Switch Calendar')
.margin({ top: 30 })
.onClick(() => {
this.isLunar = !this.isLunar
})
DatePicker({
start: new Date('1970-1-1'),
end: new Date('2100-1-1'),
selected: this.selectedDate
})
.lunar(this.isLunar)
.onChange((value: DatePickerResult) => {
this.selectedDate.setFullYear(value.year, value.month, value.day)
console.info('select current date is: ' + JSON.stringify(value))
})
}.width('100%')
}
}
```
![datePicker](../../../application-dev/reference/arkui-ts/figures/datePicker.gif)
2. The data type declaration of the **@State**, **@Provide**, **@Link**, or **@Consume** decorated state variables can consist of only one of the primitive data types or reference data types.
The **Length**, **ResourceStr**, and **ResourceColor** types are combinations of primitive data types or reference data types. Therefore, they cannot be used by the aforementioned types of state variables.
For details about the definitions of **Length**, **ResourceStr**, and **ResourceColor**, see [Types](../../../application-dev/reference/arkui-ts/ts-types.md).
Example:
```ts
// xxx.ets
@Entry
@Component
struct IndexPage {
// Incorrect: @State message: string | Resource = 'Hello World'
@State message: string = 'Hello World'
// Incorrect: @State message: ResourceStr = $r('app.string.hello')
@State resourceStr: Resource = $r('app.string.hello')
build() {
Row() {
Column() {
Text(`${this.message}`)
.fontSize(50)
.fontWeight(FontWeight.Bold)
}
.width('100%')
}
.height('100%')
}
}
```
![hello](../../../application-dev/quick-start/figures/hello.PNG)
**Change Impacts**
1. If the data type of a state variable decorated by a state decorator is declared as **any**, a build error will occur.
```ts
// ArkTS:ERROR Please define an explicit type, not any.
@State isLunar: any = false
```
2. If the data type of a state variable decorated by a state decorator is declared as **Date**, a build error will occur.
```ts
// ArkTS:ERROR The @State property 'selectedDate' cannot be a 'Date' object.
@State selectedDate: Date = new Date('2021-08-08')
```
3. If the data type of a **@State**, **@Provide**, **@Link**, and or **@Consume** decorated state variable is Length, **ResourceStr**, or **ResourceColor**, a build error will occur.
```ts
/* ArkTS:ERROR The state variable type here is 'ResourceStr', it contains both a simple type and an object type,
which are not allowed to be defined for state variable of a struct.*/
@State message: ResourceStr = $r('app.string.hello')
```
**Key API/Component Changes**
N/A
**Adaptation Guide**
1. Explicitly declare the data type for state variables decorated by state decorators.
2. If a state variable decorated by a state decorator uses the **Date** object, change it to a regular variable – a variable not decorated by any decorator.
3. Adapt the **@State**, **@Provide**, **@Link**, and **@Consume** decorated variables based on the following code snippet so that they do not use the **Length(string|number|Resource)**, **ResourceStr(string|Resource)**, and **ResourceColor(string|number|Color|Resource)** types:
```ts
// Incorrect:
@State message: ResourceStr = $r('app.string.hello')
// Corrected:
@State resourceStr: Resource = $r('app.string.hello')
```
## cl.arkui.2 Initialization Rules and Restrictions of Custom Components' Member Variables
Comply with the following rules when using constructors to initialize member variables:
| **From the Variable in the Parent Component (Right) to the Variable in the Child Component (Below)**| **regular** | **@State** | **@Link** | **@Prop** | **@Provide** | **@Consume** | **@ObjectLink** |
|---------------------------------|----------------------------|------------|-----------|-----------|--------------|--------------|------------------|
| **regular** | Supported | Supported | Supported | Supported | Not supported | Not supported | Supported |
| **@State** | Supported | Supported | Supported | Supported | Supported | Supported | Supported |
| **@Link** | Not supported | Supported (1) | Supported (1) | Supported (1) | Supported (1) | Supported (1) | Supported (1) |
| **@Prop** | Supported | Supported | Supported | Supported | Supported | Supported | Supported |
| **@Provide** | Supported | Supported | Supported | Supported | Supported | Supported | Supported |
| **@Consume** | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported |
| **@ObjectLink** | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported |
| **From the Variable in the Parent Component (Right) to the Variable in the Child Component (Below)**| **@StorageLink** | **@StorageProp** | **@LocalStorageLink** | **@LocalStorageProp** |
|------------------|------------------|------------------|-----------------------|------------------------|
| **regular** | Supported | Not supported | Not supported | Not supported |
| **@State** | Supported | Supported | Supported | Supported |
| **@Link** | Supported (1) | Supported (1) | Supported (1) | Supported (1) |
| **@Prop** | Supported | Supported | Supported | Supported |
| **@Provide** | Supported | Supported | Supported | Supported |
| **@Consume** | Not supported | Not supported | Not supported | Not supported |
| **@ObjectLink** | Not supported | Not supported | Not supported | Not supported |
> **NOTE**
>
> **Supported (1)**: The dollar sign ($) must be used, for example, **this.$varA**.
>
> **regular**: refers to a regular variable that is not decorated by any decorator.
**@StorageLink**, **@StorageProp**, **@LocalStorageLink**, and **@LocalStorageProp** variables cannot be initialized from the parent component.
**Change Impacts**
1. Variables decorated by **@LocalStorageLink** and **@LocalStorageProp** cannot be initialized from the parent component.
```ts
@Entry
@Component
struct LocalStorageComponent {
build() {
Column() {
Child({
/* ArkTS:ERROR Property 'simpleVarName' in the custom component 'Child' cannot
initialize here (forbidden to specify). */
simpleVarName: 1,
/* ArkTS:ERROR Property 'objectName' in the custom component 'Child' cannot
initialize here (forbidden to specify). */
objectName: new ClassA("x")
})
}
}
}
@Component
struct Child {
@LocalStorageLink("storageSimpleProp") simpleVarName: number = 0;
@LocalStorageProp("storageObjectProp") objectName: ClassA = new ClassA("x");
build() {}
}
```
2. The **@ObjectLink** decorated variable cannot be directly initialized from a decorated variable in the parent component. The source of the parent component must be an array item or object attribute decorated by **@State**, **@Link**, **@Provide**, **@Consume**, or **@ObjectLink**.
```ts
let NextID : number = 0;
@Observed class ClassA {
public id : number;
public c: number;
constructor(c: number) {
this.id = NextID++;
this.c = c;
}
}
@Component
struct Child {
@ObjectLink varA : ClassA;
build() {
Row() {
Text('ViewA-' + this.varA.id)
}
}
}
@Component
struct Parent {
@Link linkValue: ClassA
build() {
Column() {
/* ArkTS:ERROR The @Link property 'linkValue' cannot be assigned to
the @ObjectLink property 'varA'.*/
Child({ varA: this.linkValue })
}
}
}
```
**Key API/Component Changes**
N/A
**Adaptation Guide**
1. When building a child component, do not perform the build on the variables decorated by **@LocalStorageLink** and **@LocalStorageProp** in the child component.
To change these variables from the parent component, use the API provided by the **LocalStorage** (such as the **set** API) to assign values to them.
2. For details about how to use **@ObjectLink**, see [@Observed and @ObjectLink](../../../application-dev/quick-start/arkts-state-mgmt-page-level.md).
# 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
# Media Subsystem ChangeLog
## cl.media.1 API Change of the Playback Function
Added the [AVPlayer](../../../application-dev/reference/apis/js-apis-media.md#avplayer9)<sup>9+</sup> API for audio and video playback, with the updated state machine and error codes, which is recommended. The following APIs for audio playback and video playback are no longer maintained: [AudioPlayer](../../../application-dev/reference/apis/js-apis-media.md#audioplayer)<sup>6+</sup> and [VideoPlayer](../../../application-dev/reference/apis/js-apis-media.md#videoplayer)<sup>8+</sup>.
**Change Impacts**
The original APIs can still be used but are no longer maintained. You are advised to use the new API instead.
**Key API/Component Changes**
Added APIs
| Class | Declaration |
| -------------- | ------------------------------------------------------------ |
| media | createAVPlayer(callback: AsyncCallback\<AVPlayer>): void |
| media | createAVPlayer() : Promise\<AVPlayer> |
| media.AVPlayer | interface AVPlayer |
| media.AVPlayer | videoScaleType ?: VideoScaleType |
| media.AVPlayer | url ?: string |
| media.AVPlayer | surfaceId ?: string |
| media.AVPlayer | stop(callback: AsyncCallback\<void>): void |
| media.AVPlayer | stop(): Promise\<void> |
| media.AVPlayer | setVolume(volume: number): void |
| media.AVPlayer | setSpeed(speed: PlaybackSpeed): void |
| media.AVPlayer | setBitrate(bitrate: number): void |
| media.AVPlayer | seek(timeMs: number, mode?:SeekMode): void |
| media.AVPlayer | reset(callback: AsyncCallback\<void>): void |
| media.AVPlayer | reset(): Promise\<void> |
| media.AVPlayer | release(callback: AsyncCallback\<void>): void |
| media.AVPlayer | release(): Promise\<void> |
| media.AVPlayer | readonly width: number |
| media.AVPlayer | readonly state: AVPlayerState |
| media.AVPlayer | readonly height: number |
| media.AVPlayer | readonly duration: number |
| media.AVPlayer | readonly currentTime: number |
| media.AVPlayer | prepare(callback: AsyncCallback\<void>): void |
| media.AVPlayer | prepare(): Promise\<void> |
| media.AVPlayer | play(callback: AsyncCallback\<void>): void |
| media.AVPlayer | play(): Promise\<void> |
| media.AVPlayer | pause(callback: AsyncCallback\<void>): void |
| media.AVPlayer | pause(): Promise\<void> |
| media.AVPlayer | on(type: 'volumeChange', callback: Callback\<number>): void |
| media.AVPlayer | on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void |
| media.AVPlayer | on(type: 'timeUpdate', callback: Callback\<number>): void |
| media.AVPlayer | on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void |
| media.AVPlayer | on(type: 'startRenderFrame', callback: Callback\<void>): void |
| media.AVPlayer | on(type: 'speedDone', callback: Callback\<number>): void |
| media.AVPlayer | on(type: 'seekDone', callback: Callback\<number>): void |
| media.AVPlayer | on(type: 'error', callback: ErrorCallback): void |
| media.AVPlayer | on(type: 'endOfStream', callback: Callback\<void>): void |
| media.AVPlayer | on(type: 'durationUpdate', callback: Callback\<number>): void |
| media.AVPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void |
| media.AVPlayer | on(type: 'bitrateDone', callback: Callback\<number>): void |
| media.AVPlayer | on(type: 'availableBitrates', callback: (bitrates: Array\<number>) => void): void |
| media.AVPlayer | on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void |
| media.AVPlayer | off(type: 'volumeChange'): void |
| media.AVPlayer | off(type: 'videoSizeChange'): void |
| media.AVPlayer | off(type: 'timeUpdate'): void |
| media.AVPlayer | off(type: 'stateChange'): void |
| media.AVPlayer | off(type: 'startRenderFrame'): void |
| media.AVPlayer | off(type: 'speedDone'): void |
| media.AVPlayer | off(type: 'seekDone'): void |
| media.AVPlayer | off(type: 'error'): void |
| media.AVPlayer | off(type: 'endOfStream'): void |
| media.AVPlayer | off(type: 'durationUpdate'): void |
| media.AVPlayer | off(type: 'bufferingUpdate'): void |
| media.AVPlayer | off(type: 'bitrateDone'): void |
| media.AVPlayer | off(type: 'availableBitrates'): void |
| media.AVPlayer | off(type: 'audioInterrupt'): void |
| media.AVPlayer | loop: boolean |
| media.AVPlayer | getTrackDescription(callback: AsyncCallback\<Array\<MediaDescription>>): void |
| media.AVPlayer | getTrackDescription() : Promise\<Array\<MediaDescription>> |
| media.AVPlayer | fdSrc ?: AVFileDescriptor |
| media.AVPlayer | audioInterruptMode ?: audio.InterruptMode |
| unnamed | type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error' |
APIs no longer maintained
| Class | Declaration |
| ----------------- | ------------------------------------------------------------ |
| media | createVideoPlayer(callback: AsyncCallback\<VideoPlayer>): void |
| media | createVideoPlayer() : Promise\<VideoPlayer> |
| media | createAudioPlayer(): AudioPlayer |
| media.AudioPlayer | interface AudioPlayer |
| media.AudioPlayer | play(): void |
| media.AudioPlayer | release(): void |
| media.AudioPlayer | audioInterruptMode ?: audio.InterruptMode |
| media.AudioPlayer | fdSrc: AVFileDescriptor |
| media.AudioPlayer | seek(timeMs: number): void |
| media.AudioPlayer | readonly duration: number |
| media.AudioPlayer | loop: boolean |
| media.AudioPlayer | readonly state: AudioState |
| media.AudioPlayer | getTrackDescription(callback: AsyncCallback\<Array\<MediaDescription>>): void |
| media.AudioPlayer | getTrackDescription() : Promise\<Array\<MediaDescription>> |
| media.AudioPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void |
| media.AudioPlayer | on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void |
| media.AudioPlayer | on(type: 'timeUpdate', callback: Callback\<number>): void |
| media.AudioPlayer | on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void |
| media.AudioPlayer | on(type: 'error', callback: ErrorCallback): void |
| media.AudioPlayer | setVolume(vol: number): void |
| media.AudioPlayer | pause(): void |
| media.AudioPlayer | readonly currentTime: number |
| media.AudioPlayer | stop(): void |
| media.AudioPlayer | reset(): void |
| media.AudioPlayer | src: string |
| media.VideoPlayer | interface VideoPlayer |
| media.VideoPlayer | play(callback: AsyncCallback\<void>): void |
| media.VideoPlayer | play(): Promise\<void> |
| media.VideoPlayer | prepare(callback: AsyncCallback\<void>): void |
| media.VideoPlayer | prepare(): Promise\<void> |
| media.VideoPlayer | release(callback: AsyncCallback\<void>): void |
| media.VideoPlayer | release(): Promise\<void> |
| media.VideoPlayer | audioInterruptMode ?: audio.InterruptMode |
| media.VideoPlayer | fdSrc: AVFileDescriptor |
| media.VideoPlayer | seek(timeMs: number, callback: AsyncCallback\<number>): void |
| media.VideoPlayer | seek(timeMs: number, mode:SeekMode, callback: AsyncCallback\<number>): void |
| media.VideoPlayer | seek(timeMs: number, mode?:SeekMode): Promise\<number> |
| media.VideoPlayer | readonly duration: number |
| media.VideoPlayer | loop: boolean |
| media.VideoPlayer | videoScaleType ?: VideoScaleType |
| media.VideoPlayer | readonly state: VideoPlayState |
| media.VideoPlayer | getTrackDescription(callback: AsyncCallback\<Array\<MediaDescription>>): void |
| media.VideoPlayer | getTrackDescription() : Promise\<Array\<MediaDescription>> |
| media.VideoPlayer | readonly height: number |
| media.VideoPlayer | on(type: 'playbackCompleted', callback: Callback\<void>): void |
| media.VideoPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void |
| media.VideoPlayer | on(type: 'startRenderFrame', callback: Callback\<void>): void |
| media.VideoPlayer | on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void |
| media.VideoPlayer | on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void |
| media.VideoPlayer | on(type: 'error', callback: ErrorCallback): void |
| media.VideoPlayer | setDisplaySurface(surfaceId: string, callback: AsyncCallback\<void>): void |
| media.VideoPlayer | setDisplaySurface(surfaceId: string): Promise\<void> |
| media.VideoPlayer | setVolume(vol: number, callback: AsyncCallback\<void>): void |
| media.VideoPlayer | setVolume(vol: number): Promise\<void> |
| media.VideoPlayer | url: string |
| media.VideoPlayer | pause(callback: AsyncCallback\<void>): void |
| media.VideoPlayer | pause(): Promise\<void> |
| media.VideoPlayer | readonly currentTime: number |
| media.VideoPlayer | setSpeed(speed:number, callback: AsyncCallback\<number>): void |
| media.VideoPlayer | setSpeed(speed:number): Promise\<number> |
| media.VideoPlayer | stop(callback: AsyncCallback\<void>): void |
| media.VideoPlayer | stop(): Promise\<void> |
| media.VideoPlayer | readonly width: number |
| media.VideoPlayer | reset(callback: AsyncCallback\<void>): void |
| media.VideoPlayer | reset(): Promise\<void> |
| unnamed | type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error' |
| unnamed | type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error' |
**Adaptation Guide**
For details, see the [reference](../../../application-dev/reference/apis/js-apis-media.md) for each API.
## cl.media.2 API Change of the Recording Function
Added the [AVRecorder](../../../application-dev/reference/apis/js-apis-media.md#avrecorder9)<sup>9+</sup> API for audio and video recording, with the updated state machine and error codes, which is recommended. The following APIs for audio recording and video recording are no longer maintained: [AudioRecorder](../../../application-dev/reference/apis/js-apis-media.md#audiorecorder)<sup>6+</sup> and [VideoRecorder](../../../application-dev/reference/apis/js-apis-media.md#videorecorder9)<sup>9+</sup>.
The [AudioSourceType](../../../application-dev/reference/apis/js-apis-media.md#audiosourcetype9) and [VideoSourceType](../../../application-dev/reference/apis/js-apis-media.md#videosourcetype9) APIs shared by the old and new recording APIs are changed to non-system APIs.
**Change Impacts**
The [AudioRecorder](../../../application-dev/reference/apis/js-apis-media.md#audiorecorder)<sup>6+</sup> and [VideoRecorder](../../../application-dev/reference/apis/js-apis-media.md#videorecorder9)<sup>9+</sup> APIs can still be used but are no longer maintained. You are advised to use the [AVRecorder](../../../application-dev/reference/apis/js-apis-media.md#avrecorder9)<sup>9+</sup> API instead.
**Key API/Component Changes**
Added APIs
| Class | Declaration |
| ----------------------- | ------------------------------------------------------------ |
| media | createAVRecorder(callback: AsyncCallback\<AVRecorder>): void |
| media | createAVRecorder() : Promise\<AVRecorder> |
| media.AVRecorder | interface AVRecorder |
| media.AVRecorder | prepare(config: AVRecorderConfig, callback: AsyncCallback\<void>): void |
| media.AVRecorder | prepare(config: AVRecorderConfig): Promise\<void> |
| media.AVRecorder | release(callback: AsyncCallback\<void>): void |
| media.AVRecorder | release(): Promise\<void> |
| media.AVRecorder | readonly state: AVRecorderState |
| media.AVRecorder | on(type: 'stateChange', callback: (state: AVRecorderState, reason: StateChangeReason) => void): void |
| media.AVRecorder | on(type: 'error', callback: ErrorCallback): void |
| media.AVRecorder | resume(callback: AsyncCallback\<void>): void |
| media.AVRecorder | resume(): Promise\<void> |
| media.AVRecorder | start(callback: AsyncCallback\<void>): void |
| media.AVRecorder | start(): Promise\<void> |
| media.AVRecorder | off(type: 'stateChange'): void |
| media.AVRecorder | off(type: 'error'): void |
| media.AVRecorder | pause(callback: AsyncCallback\<void>): void |
| media.AVRecorder | pause(): Promise\<void> |
| media.AVRecorder | stop(callback: AsyncCallback\<void>): void |
| media.AVRecorder | stop(): Promise\<void> |
| media.AVRecorder | reset(callback: AsyncCallback\<void>): void |
| media.AVRecorder | reset(): Promise\<void> |
| media.AVRecorder | getInputSurface(callback: AsyncCallback\<string>): void |
| media.AVRecorder | getInputSurface(): Promise\<string> |
| media.AVRecorderConfig | videoSourceType?: VideoSourceType |
| media.AVRecorderConfig | audioSourceType?: AudioSourceType |
| media.AVRecorderConfig | profile: AVRecorderProfile |
| media.AVRecorderConfig | rotation?: number |
| media.AVRecorderConfig | url: string |
| media.AVRecorderConfig | location?: Location |
| media.AVRecorderConfig | interface AVRecorderConfig |
| media.AVRecorderProfile | videoBitrate?: number |
| media.AVRecorderProfile | videoCodec?: CodecMimeType |
| media.AVRecorderProfile | audioCodec?: CodecMimeType |
| media.AVRecorderProfile | videoFrameRate?: number |
| media.AVRecorderProfile | videoFrameHeight?: number |
| media.AVRecorderProfile | audioSampleRate?: number |
| media.AVRecorderProfile | audioBitrate?: number |
| media.AVRecorderProfile | videoFrameWidth?: number |
| media.AVRecorderProfile | audioChannels?: number |
| media.AVRecorderProfile | fileFormat: ContainerFormatType |
| media.AVRecorderProfile | interface AVRecorderProfile |
| unnamed | type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error' |
APIs no longer maintained
| Class | Declaration |
| -------------------------- | ------------------------------------------------------------ |
| media | createVideoRecorder(callback: AsyncCallback\<VideoRecorder>): void |
| media | createVideoRecorder(): Promise\<VideoRecorder> |
| media | createAudioRecorder(): AudioRecorder |
| media.AudioRecorder | interface AudioRecorder |
| media.AudioRecorder | prepare(config: AudioRecorderConfig): void |
| media.AudioRecorder | release(): void |
| media.AudioRecorder | on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void |
| media.AudioRecorder | on(type: 'error', callback: ErrorCallback): void |
| media.AudioRecorder | resume(): void |
| media.AudioRecorder | start(): void |
| media.AudioRecorder | pause(): void |
| media.AudioRecorder | stop(): void |
| media.AudioRecorder | reset(): void |
| media.AudioRecorderConfig | audioSampleRate?: number |
| media.AudioRecorderConfig | location?: Location |
| media.AudioRecorderConfig | fileFormat?: ContainerFormatType |
| media.AudioRecorderConfig | interface AudioRecorderConfig |
| media.AudioRecorderConfig | audioEncoder?: AudioEncoder |
| media.AudioRecorderConfig | audioEncodeBitRate?: number |
| media.AudioRecorderConfig | numberOfChannels?: number |
| media.AudioRecorderConfig | format?: AudioOutputFormat |
| media.AudioRecorderConfig | uri: string |
| media.AudioRecorderConfig | audioEncoderMime?: CodecMimeType |
| media.VideoRecorder | interface VideoRecorder |
| media.VideoRecorder | prepare(config: VideoRecorderConfig, callback: AsyncCallback\<void>): void |
| media.VideoRecorder | prepare(config: VideoRecorderConfig): Promise\<void> |
| media.VideoRecorder | release(callback: AsyncCallback\<void>): void |
| media.VideoRecorder | release(): Promise\<void> |
| media.VideoRecorder | readonly state: VideoRecordState |
| media.VideoRecorder | on(type: 'error', callback: ErrorCallback): void |
| media.VideoRecorder | resume(callback: AsyncCallback\<void>): void |
| media.VideoRecorder | resume(): Promise\<void> |
| media.VideoRecorder | start(callback: AsyncCallback\<void>): void |
| media.VideoRecorder | start(): Promise\<void> |
| media.VideoRecorder | pause(callback: AsyncCallback\<void>): void |
| media.VideoRecorder | pause(): Promise\<void> |
| media.VideoRecorder | stop(callback: AsyncCallback\<void>): void |
| media.VideoRecorder | stop(): Promise\<void> |
| media.VideoRecorder | reset(callback: AsyncCallback\<void>): void |
| media.VideoRecorder | reset(): Promise\<void> |
| media.VideoRecorder | getInputSurface(callback: AsyncCallback\<string>): void |
| media.VideoRecorder | getInputSurface(): Promise\<string> |
| media.VideoRecorderConfig | videoSourceType: VideoSourceType |
| media.VideoRecorderConfig | audioSourceType?: AudioSourceType |
| media.VideoRecorderConfig | profile: VideoRecorderProfile |
| media.VideoRecorderConfig | rotation?: number |
| media.VideoRecorderConfig | url: string |
| media.VideoRecorderConfig | location?: Location |
| media.VideoRecorderConfig | interface VideoRecorderConfig |
| media.VideoRecorderProfile | readonly videoBitrate: number |
| media.VideoRecorderProfile | readonly videoCodec: CodecMimeType |
| media.VideoRecorderProfile | readonly audioCodec: CodecMimeType |
| media.VideoRecorderProfile | readonly videoFrameRate: number |
| media.VideoRecorderProfile | readonly videoFrameHeight: number |
| media.VideoRecorderProfile | readonly audioSampleRate: number |
| media.VideoRecorderProfile | readonly audioBitrate: number |
| media.VideoRecorderProfile | readonly videoFrameWidth: number |
| media.VideoRecorderProfile | readonly audioChannels: number |
| media.VideoRecorderProfile | readonly fileFormat: ContainerFormatType |
| media.VideoRecorderProfile | interface VideoRecorderProfile |
| unnamed | type VideoRecordState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error' |
Changed APIs
| Class | Declaration | Capability Before Change | Capability After Change | Whether a System API Before Change| Whether a System API After Change|
| --------------------- | ------------------------------------------------------------ | ----------------------------------------------- | -------------------------------------------- | -------------------- | -------------------- |
| media.AudioSourceType | enum AudioSourceType { /** * default audio source type. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ AUDIO_SOURCE_TYPE_DEFAULT = 0, /** * source type mic. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ AUDIO_SOURCE_TYPE_MIC = 1, } | SystemCapability.Multimedia.Media.VideoRecorder | SystemCapability.Multimedia.Media.AVRecorder | Yes | No |
| media.VideoSourceType | enum VideoSourceType { /** * surface raw data. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ VIDEO_SOURCE_TYPE_SURFACE_YUV = 0, /** * surface ES data. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ VIDEO_SOURCE_TYPE_SURFACE_ES = 1, } | SystemCapability.Multimedia.Media.VideoRecorder | SystemCapability.Multimedia.Media.AVRecorder | Yes | No |
**Adaptation Guide**
For details, see the [reference](../../../application-dev/reference/apis/js-apis-media.md) for each API.
## cl.media.3 Error Code Change
Added the standard error code enumeration type [AVErrorCode9](../../../application-dev/reference/apis/js-apis-media.md#averrorcode)<sup>9+</sup> that replaces the original error code enumeration type [MediaErrorCode](../../../application-dev/reference/apis/js-apis-media.md#mediaerrorcode)<sup>8+</sup>.
**Change Impacts**
The error code enumeration type [MediaErrorCode](../../../application-dev/reference/apis/js-apis-media.md#mediaerrorcode)<sup>8+</sup> is still used for original APIs. [AVErrorCode9](../../../application-dev/reference/apis/js-apis-media.md#averrorcode)<sup>9+</sup> is used for newly added APIs.
**Key API/Component Changes**
Added API
| Class | Declaration |
| ----------------- | ------------------------------------------------------------ |
| media.AVErrorCode | enum AVErrorCode { /** * operation success. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_OK = 0, /** * permission denied. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_NO_PERMISSION = 201, /** * invalid parameter. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_INVALID_PARAMETER = 401, /** * the api is not supported in the current version * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_UNSUPPORT_CAPABILITY = 801, /** * the system memory is insufficient or the number of services reaches the upper limit * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_NO_MEMORY = 5400101, /** * current status does not allow or do not have permission to perform this operation * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_OPERATE_NOT_PERMIT = 5400102, /** * data flow exception information * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_IO = 5400103, /** * system or network response timeout. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_TIMEOUT = 5400104, /** * service process died. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_SERVICE_DIED = 5400105, /** * unsupported media format * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_UNSUPPORT_FORMAT = 5400106, } |
API no longer maintained
| Class | Declaration |
| -------------------- | ------------------------------------------------------------ |
| media.MediaErrorCode | enum MediaErrorCode { /** * operation success. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_OK = 0, /** * malloc or new memory failed. maybe system have no memory. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_NO_MEMORY = 1, /** * no permission for the operation. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_OPERATION_NOT_PERMIT = 2, /** * invalid argument. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_INVALID_VAL = 3, /** * an I/O error occurred. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_IO = 4, /** * operation time out. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_TIMEOUT = 5, /** * unknown error. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_UNKNOWN = 6, /** * media service died. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_SERVICE_DIED = 7, /** * operation is not permit in current state. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_INVALID_STATE = 8, /** * operation is not supported in current version. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_UNSUPPORTED = 9, } |
<!--no_check-->
\ 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**.
# Window Subsystem ChangeLog
## cl.window.1 Change of Window Stage Lifecycle Listener Types
Changed the enumerated listener types of the window stage lifecycle in version 3.2.10.5 and later.
**Change Impacts**
Application lifecycle listeners developed using **FOREGROUND** and **BACKGROUND** in versions earlier than 3.2.10.5 will be invalidated in version 3.2.10.5 and later.
**Key API/Component Changes**
## WindowStageEventType<sup>9+</sup>
Before change
| Name | Value | Description |
| ---------- | ---- | ---------- |
| FOREGROUND | 1 | The window stage is running in the foreground.|
| BACKGROUND | 4 | The window stage is running in the background.|
After change
| Name | Value | Description |
| ------ | ---- | ---------- |
| SHOWN | 1 | The window stage is running in the foreground.|
| HIDDEN | 4 | The window stage is running in the background.|
**Adaptation Guide**
When registering lifecycle listeners, change the foreground and background event types to **SHOWN** and **HIDDEN**, respectively.
```
import Ability from '@ohos.application.Ability';
class myAbility extends Ability {
onWindowStageCreate(windowStage) {
console.log('onWindowStageCreate');
try {
windowStage.on('windowStageEvent', (stageEventType) => {
switch (stageEventType) {
case window.WindowStageEventType.SHOWN:
console.log("windowStage shown");
break;
case window.WindowStageEventType.ACTIVE:
console.log("windowStage active");
break;
case window.WindowStageEventType.INACTIVE:
console.log("windowStage inActive");
break;
case window.WindowStageEventType.HIDDEN:
console.log("windowStage hidden");
break;
default:
break;
}
} )
} catch (exception) {
console.error('Failed to enable the listener for window stage event changes. Cause:' +
JSON.stringify(exception));
};
}
};
```
# Upload and Download Subsystem Changelog
## cl.request.2 request API Change
Deleted the beta APIs in API version 9:
1. function download(context: BaseContext, config: DownloadConfig, callback: AsyncCallback\<DownloadTask>): void;
2. function download(context: BaseContext, config: DownloadConfig): Promise\<DownloadTask>;
3. function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback\<UploadTask>): void;
4. function upload(context: BaseContext, config: UploadConfig): Promise\<UploadTask>;
**Change Impact**
The application developed based on an earlier version in the stage model needs to be adapted to the new APIs. Otherwise, the original service logic will be affected.
**Key API/Component Changes**
| Module | Class | Method/Attribute/Enum/Constant | Change Type|
|--------------|--------------|-------------------------------------------------------------------------------------------------------------------|------|
| ohos.request | request | function download(context: BaseContext, config: DownloadConfig, callback: AsyncCallback\<DownloadTask>): void; | Deleted |
| ohos.request | request | function download(context: BaseContext, config: DownloadConfig): Promise\<DownloadTask>; | Deleted |
| ohos.request | request | function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback\<UploadTask>): void; | Deleted |
| ohos.request | request | function upload(context: BaseContext, config: UploadConfig): Promise\<UploadTask>; | Deleted |
**Adaptation Guide**
Call the new APIs. The following uses **downloadFile** as an example to show how it is called in the new version:
```ts
try {
request.downloadFile(globalThis.abilityContext, { url: 'https://xxxx/xxxxx.hap',
filePath: 'xxx/xxxxx.hap'}, (err, data) => {
if (err) {
console.error('Failed to request the download. Cause: ' + JSON.stringify(err));
return;
}
});
} catch (err) {
console.log("downloadFile callback fail." + "errCode:" + err.code + ",errMessage:" + err.message);
}
```
# Telephony Subsystem Changelog
## cl.telephony.1 Radio Module API Change
### `isNrSupported` API Change for the Radio Module of Telephony Subsystem
NR is a proper noun and must be capitalized.
You need to adapt your application.
**Change Impacts**
The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected.
**Key API/Component Changes**
- Involved APIs:
isNrSupported(): boolean;
isNrSupported(slotId: number): boolean;
- Before change:
```js
function isNrSupported(): boolean;
function isNrSupported(slotId: number): boolean;
```
- After change:
```js
function isNRSupported(): boolean;
function isNRSupported(slotId: number): boolean;
```
**Adaptation Guide**
Use the new API. The sample code is as follows:
```js
let result = radio.isNrSupported();
console.log("Result: "+ result);
```
```js
let slotId = 0;
let result = radio.isNRSupported(slotId);
console.log("Result: "+ result);
```
# Security Subsystem Changelog
## cl.security.1 ParamsSpec Attribute Name Change
Changed **algoName** of the **ParamsSpec** structure to **algName**.
**Change Impact**
For the released JavaScript APIs that use **ParamsSpec** and its child classes **IvParamsSpec**, **GcmParamsSpec**, and **CcmParamsSpec** as parameters or return values, **algoName** must be changed to **algName**.
The change must be made for all the applications that use these APIs. Otherwise, the compilation in the SDK of the new version cannot be successful.
**Key API/Component Changes**
API prototype before the change:
```ts
interface ParamsSpec {
/**
* Indicates the algorithm name. Should be set before initialization of a cipher object.
* @type { string }
* @syscap SystemCapability.Security.CryptoFramework
* @since 9
*/
algoName : string;
}
```
API prototype after the change:
```ts
interface ParamsSpec {
/**
* Indicates the algorithm name. Should be set before initialization of a cipher object.
* @type { string }
* @syscap SystemCapability.Security.CryptoFramework
* @since 9
*/
algName : string;
}
```
**Adaptation Guide**
Change **algoName** to **algName** in **ParamsSpec** and its child classes **IvParamsSpec**, **GcmParamsSpec**, and **CcmParamsSpec**.
```ts
function genGcmParamsSpec() {
let arr = [0, 0, 0, 0 , 0, 0, 0, 0, 0, 0 , 0, 0]; // 12 bytes
let dataIv = new Uint8Array(arr);
let ivBlob = {data : dataIv};
arr = [0, 0, 0, 0 , 0, 0, 0, 0]; // 8 bytes
let dataAad = new Uint8Array(arr);
let aadBlob = {data : dataAad};
arr = [0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0]; // 16 bytes
let dataTag = new Uint8Array(arr);
let tagBlob = {data : dataTag};
let gcmParamsSpec = {iv : ivBlob, aad : aadBlob, authTag : tagBlob, algName : "GcmParamsSpec"};
return gcmParamsSpec;
}
```
For details, see the APIs of **ParamsSpec** in [Crypto Framework](../../../application-dev/reference/apis/js-apis-cryptoFramework.md#paramsspec).
## Change of cl.security.2 ECC Algorithm Parameter Name from ECC512 to ECC521
**Change Impact**
Behavior of released JavaScript APIs will be changed.
The application needs to be adapted to obtain the correct result in the SDK of the new version.
**Key API/Component Changes**
The parameter passed in the APIs is changed from **ECC512** to **ECC521**. The related APIs remain unchanged. For details, see [Key Generation Specifications](../../../application-dev/security/cryptoFramework-overview.md#key-generation-specifications). The following APIs are involved:
cryptoFramework.createAsyKeyGenerator
cryptoFramework.createSign
cryptoFramework.createVerify
cryptoFramework.createKeyAgreement
**Adaptation Guide**
```js
import cryptoFramework from "@ohos.security.cryptoFramework"
let asyKeyGenerator = cryptoFramework.createAsyKeyGenerator("ECC521");
```
# Telephony Subsystem Changelog
## cl.telephony.1 Call Module reject API Change
Changed the `reject` API to the `rejectCall` API in the call module of the telephony subsystem since API version 9.
You need to adapt your application.
**Change Impact**
The `reject` API is deprecated and cannot be used anymore. Use the `rejectCall` API instead. Otherwise, relevant functions will be affected.
- Involved APIs:
```js
function reject(callId: number, callback: AsyncCallback<void>): void;
function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void;
function reject(callId?: number, options?: RejectMessageOptions): Promise<void>;
function reject(callback: AsyncCallback<void>): void;
function reject(options: RejectMessageOptions, callback: AsyncCallback<void>): void;
```
- Before change:
```js
function reject(callId: number, callback: AsyncCallback<void>): void;
function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void;
function reject(callId?: number, options?: RejectMessageOptions): Promise<void>;
function reject(callback: AsyncCallback<void>): void;
function reject(options: RejectMessageOptions, callback: AsyncCallback<void>): void;
```
- After change:
```js
function rejectCall(callId: number, callback: AsyncCallback<void>): void;
function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void;
function rejectCall(callId?: number, options?: RejectMessageOptions): Promise<void>;
function rejectCall(callback: AsyncCallback<void>): void;
function rejectCall(options: RejectMessageOptions, callback: AsyncCallback<void>): void;
```
**Adaptation Guide**
The `reject` API is deprecated and cannot be used anymore. Use the `rejectCall` API instead.
The sample code is as follows:
```js
call.rejectCall("138xxxxxxxx", (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
```js
let rejectMessageOptions={
messageContent: "Unknown number blocked"
}
let promise = call.rejectCall(1, rejectMessageOptions);
promise.then(data => {
console.log(`rejectCall success, promise: data->${JSON.stringify(data)}`);
}).catch(err => {
console.error(`rejectCall fail, promise: err->${JSON.stringify(err)}`);
});
```
```js
let rejectMessageOptions={
messageContent: "Unknown number blocked"
}
let promise = call.rejectCall(1, rejectMessageOptions);
promise.then(data => {
console.log(`rejectCall success, promise: data->${JSON.stringify(data)}`);
}).catch(err => {
console.error(`rejectCall fail, promise: err->${JSON.stringify(err)}`);
});
```
```js
call.rejectCall((err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
```js
let rejectMessageOptions={
messageContent: "Unknown number blocked"
}
call.rejectCall(rejectMessageOptions, (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
## cl.telephony.2 Call Module answer API Change
Changed the `answer` API to the `answerCall` API in the call module of the telephony subsystem since API version 9.
You need to adapt your application.
**Change Impact**
The `answer` API is deprecated and cannot be used anymore. Use the `answerCall` API instead. Otherwise, relevant functions will be affected.
- Involved APIs:
```js
function answer(callId: number, callback: AsyncCallback<void>): void;
function answer(callId?: number): Promise<void>;
function answer(callback: AsyncCallback<void>): void;
```
- Before change:
```js
function answer(callId: number, callback: AsyncCallback<void>): void;
function answer(callId?: number): Promise<void>;
function answer(callback: AsyncCallback<void>): void;
```
- After change:
```js
function answerCall(callId: number, callback: AsyncCallback<void>): void;
function answerCall(callId?: number): Promise<void>;
function answerCall(callback: AsyncCallback<void>): void;
```
**Adaptation Guide**
The `answer` API is deprecated and cannot be used anymore. Use the `answerCall` API instead.
The sample code is as follows:
```js
call.answerCall(1, (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
```js
let promise = call.answerCall(1);
promise.then(data => {
console.log(`answerCall success, promise: data->${JSON.stringify(data)}`);
}).catch(err => {
console.error(`answerCall fail, promise: err->${JSON.stringify(err)}`);
});
```
```js
call.answerCall((err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
## cl.telephony.1 Call Module hangup API Change
Changed the `hangup` API to the `hangUpCall` API in the call module of the telephony subsystem since API version 9.
You need to adapt your application.
**Change Impact**
The `hangup` API is deprecated and cannot be used anymore. Use the `hangUpCall` API instead. Otherwise, relevant functions will be affected.
- Involved APIs:
```js
function hangup(callId: number, callback: AsyncCallback<void>): void;
function hangup(callId?: number): Promise<void>;
function hangup(callback: AsyncCallback<void>): void;
```
- Before change:
```js
function hangup(callId: number, callback: AsyncCallback<void>): void;
function hangup(callId?: number): Promise<void>;
function hangup(callback: AsyncCallback<void>): void;
```
- After change:
```js
function hangUpCall(callId: number, callback: AsyncCallback<void>): void;
function hangUpCall(callId?: number): Promise<void>;
function hangUpCall(callback: AsyncCallback<void>): void;
```
**Adaptation Guide**
The `hangup` API is deprecated and cannot be used anymore. Use the `hangUpCall` API instead.
The sample code is as follows:
```js
call.hangUpCall(1, (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
```js
let promise = call.hangUpCall(1);
promise.then(data => {
console.log(`hangUpCall success, promise: data->${JSON.stringify(data)}`);
}).catch(err => {
console.error(`hangUpCall fail, promise: err->${JSON.stringify(err)}`);
});
```
```js
call.hangUpCall((err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
# Web Subsystem Changelog
Compared with earlier versions, OpenHarmony 3.2.10.7 has the following API changes in its web subsystem:
## cl.web.1 HitTestTypeV9 Name Change
Renamed the enum class **HitTestTypeV9** **WebHitTestType** to meet the naming conventions.
**Change Impact**
The enum class **HitTestTypeV9** and APIs that use **HitTestTypeV9** as a parameter or return value cannot be used in OpenHarmony 3.2.10.7 and later versions.
**Key API/Component Changes**
- Involved APIs:
enum HitTestTypeV9
- Before change:
```ts
enum HitTestTypeV9
```
- After change:
```ts
enum WebHitTestType
```
**Adaptation Guide**
Replace **HitTestTypeV9** with **WebHitTestType**.
## cl.web.2 HeaderV9 Name Change
Renamed the struct **HeaderV9** **WebHeader** to meet the naming conventions.
**Change Impact**
The struct **HeaderV9** and APIs that use **HeaderV9** as a parameter or return value cannot be used in OpenHarmony 3.2.10.7 and later versions.
**Key API/Component Changes**
- Involved APIs:
interface HeaderV9
- Before change:
```ts
interface HeaderV9
```
- After change:
```ts
interface WebHeader
```
**Adaptation Guide**
Replace **HeaderV9** with **WebHeader**.
## cl.web.3 Member Change of HitTestValue
Rename the member variable **HitTestTypeV9** in the **HitTestValue** struct **WebHitTestType** to meet the naming conventions.
**Change Impact**
The struct **HitTestValue** and APIs that use **HitTestValue** as a parameter or return value cannot be used in OpenHarmony 3.2.10.7 and later versions.
**Key API/Component Changes**
- Involved APIs:
interface HitTestValue
- Before change:
```ts
interface HitTestValue {
/**
* Get the hit test type.
*
* @since 9
*/
type: HitTestTypeV9;
/**
* Get the hit test extra data.
*
* @since 9
*/
extra: string;
}
```
- After change:
```ts
interface HitTestValue {
/**
* Get the hit test type.
*
* @since 9
*/
type: WebHitTestType;
/**
* Get the hit test extra data.
*
* @since 9
*/
extra: string;
}
```
**Adaptation Guide**
Replace **HitTestTypeV9** with **WebHitTestType**.
## cl.web.4 Parameter Type Change of loadUrl
Changed the type of the **headers** parameter in **loadUrl** to **WebHeader** to meet the naming conventions.
**Change Impact**
The **loadUrl** API that uses the **headers** parameter cannot be used in OpenHarmony 3.2.10.7 and later versions.
**Key API/Component Changes**
- Involved APIs:
loadUrl(url: string | Resource, headers?: Array\<HeaderV9>): void
- Before change:
```ts
loadUrl(url: string | Resource, headers?: Array<HeaderV9>): void
```
- After change:
```ts
loadUrl(url: string | Resource, headers?: Array<WebHeader>): void
```
**Adaptation Guide**
Change the type of the **headers** parameter in **loadUrl** from **HeaderV9** to **WebHeader**.
## cl.web.5 Return Value Type Change of getHitTest
Changed the return value type of the **getHitTest** API to **WebHitTest** to meet the naming conventions.
**Change Impact**
The **getHitTest** API cannot be used in OpenHarmony 3.2.10.7 and later versions.
**Key API/Component Changes**
- Involved APIs:
getHitTest(): HitTestTypeV9
- Before change:
```ts
getHitTest(): HitTestTypeV9
```
- After change:
```ts
getHitTest(): WebHitTestType
```
**Adaptation Guide**
Change the return value type of the **getHitTest** API from **HitTestTypeV9** to **WebHitTestType**.
## cl.web.6 Moving of the WebMessagePort Class
Moved the **WebMessagePort** class to **@ohos.web.webview.d.ts** and added error throwing.
**Change Impact**
If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing.
**Key API/Component Changes**
- Involved APIs:
postMessageEvent(message: WebMessageEvent): void;
onMessageEvent(callback: (result: string) => void): void;
- Before change:
```ts
postMessageEvent(message: WebMessageEvent): void;
onMessageEvent(callback: (result: string) => void): void;
```
- After change:
```ts
postMessageEvent(message: WebMessage): void;
onMessageEvent(callback: (result: WebMessage) => void): void;
```
**Adaptation Guide**
Instead of importing APIs from the original **WebMessagePort** class, import APIs from **@ohos.web.webview** as follows:
```ts
import web_webview from '@ohos.web.webview';
```
## cl.web.7 Moving of the HitTestValue Class
Moved the **HitTestValue** class to **@ohos.web.webview.d.ts**; changed **HitTestValue** from a class to an API; changed the **getType** and **getExtra** from APIs to attributes.
**Change Impact**
If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed.
**Key API/Component Changes**
- Involved APIs:
getType(): HitTestType;
getExtra(): string;
- Before change:
```ts
getType(): HitTestType;
getExtra(): string;
```
- After change:
```ts
type: WebHitTestType;
extra: string;
```
**Adaptation Guide**
Instead of importing APIs from the original **HitTestValue** class, import APIs from **@ohos.web.webview** as follows:
```ts
import web_webview from '@ohos.web.webview';
```
## cl.web.8 Moving of API Version 9 APIs Under WebCookie
Moved APIs of API version 9 in the **WebCookie** class to **web.webview.webview.WebCookieManager**
and added error throwing.
**Change Impact**
If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing.
The APIs in the class are static.
**Key API/Component Changes**
- Involved APIs:
isCookieAllowed(): boolean;
isThirdPartyCookieAllowed(): boolean;
putAcceptCookieEnabled(accept: boolean): void;
putAcceptThirdPartyCookieEnabled(accept: boolean): void;
setCookie(url: string, value: string): boolean;
saveCookieSync(): boolean;
getCookie(url: string): string;
existCookie(): boolean;
deleteEntireCookie(): void;
deleteSessionCookie(): void;
- Before change:
```ts
isCookieAllowed(): boolean;
isThirdPartyCookieAllowed(): boolean;
putAcceptCookieEnabled(accept: boolean): void;
putAcceptThirdPartyCookieEnabled(accept: boolean): void;
setCookie(url: string, value: string): boolean;
saveCookieSync(): boolean;
getCookie(url: string): string;
existCookie(): boolean;
deleteEntireCookie(): void;
deleteSessionCookie(): void;
```
- After change:
```ts
static isCookieAllowed(): boolean;
static isThirdPartyCookieAllowed(): boolean;
static putAcceptCookieEnabled(accept: boolean): void;
static putAcceptThirdPartyCookieEnabled(accept: boolean): void;
static setCookie(url: string, value: string): void;
static saveCookieAsync(): Promise<void>;
static saveCookieAsync(callback: AsyncCallback<void>): void;
static getCookie(url: string): string;
static existCookie(): boolean;
static deleteEntireCookie(): void;
static deleteSessionCookie(): void;
```
**Adaptation Guide**
Instead of importing APIs from the original **WebCookie** class, import APIs from **@ohos.web.webview** as follows:
```ts
import web_webview from '@ohos.web.webview';
```
## cl.web.9 Moving of API Version 9 APIs Under WebController
Moved APIs of API version 9 in the **WebController** class to **web.webview.webview.WebviewController** and added error throwing.
**Change Impact**
If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing.
The **getDefaultUserAgent** API is renamed **getUserAgent**.
**Key API/Component Changes**
- Involved APIs:
zoomIn(): boolean;
zoomOut(): boolean;
createWebMessagePorts(): Array\<WebMessagePort>;
postMessage(options: { message: WebMessageEvent, uri: string}): void;
getHitTestValue(): HitTestValue;
getWebId(): number;
getDefaultUserAgent(): string;
getTitle(): string;
getPageHeight(): number;
backOrForward(step: number): void;
searchAllAsync(searchString: string): void;
clearMatches(): void;
searchNext(forward: boolean): void;
clearSslCache(): void;
clearClientAuthenticationCache(): void;
getUrl(): string;
- Before change:
```ts
zoomIn(): boolean;
zoomOut(): boolean;
createWebMessagePorts(): Array<WebMessagePort>;
postMessage(options: { message: WebMessageEvent, uri: string}): void;
getHitTestValue(): HitTestValue;
getWebId(): number;
getDefaultUserAgent(): string;
getTitle(): string;
getPageHeight(): number;
backOrForward(step: number): void;
searchAllAsync(searchString: string): void;
clearMatches(): void;
searchNext(forward: boolean): void;
clearSslCache(): void;
clearClientAuthenticationCache(): void;
getUrl(): string;
```
- After change:
```ts
zoomIn(): void;
zoomOut(): void;
createWebMessagePorts(): Array<WebMessagePort>;
postMessage(name: string, ports: Array<WebMessagePort>, uri: string): void;
getHitTestValue(): HitTestValue;
getWebId(): number;
getUserAgent(): string;
getTitle(): string;
getPageHeight(): number;
backOrForward(step: number): void;
searchAllAsync(searchString: string): void;
clearMatches(): void;
searchNext(forward: boolean): void;
clearSslCache(): void;
clearClientAuthenticationCache(): void;
getUrl(): string;
```
**Adaptation Guide**
Instead of importing APIs from the original **WebController** class, import APIs from **@ohos.web.webview** as follows:
```ts
import web_webview from '@ohos.web.webview';
```
## cl.web.10 Moving of the WebAsyncController Class
Moved the APIs in the **WebAsyncController** class to the **web.webview.webview.WebviewController** class and added error throwing.
**Change Impact**
If your application is developed based on earlier versions, pay attention to error code processing.
**Key API/Component Changes**
- Involved APIs:
storeWebArchive(baseName: string, autoName: boolean): Promise\<string>;
storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback\<string>): void;
- Before change:
```ts
storeWebArchive(baseName: string, autoName: boolean): Promise<string>;
storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void;
```
- After change:
```ts
storeWebArchive(baseName: string, autoName: boolean): Promise<string>;
storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void;
```
**Adaptation Guide**
Example:
```ts
// xxx.ets
import web_webview from '@ohos.web.webview'
@Entry
@Component
struct WebComponent {
controller: web_webview.WebviewController = new web_webview.WebviewController();
build() {
Column() {
Button('saveWebArchive')
.onClick(() => {
try {
this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => {
if (error) {
console.info(`save web archive error: ` + JSON.stringify(error))
return;
}
if (filename != null) {
console.info(`save web archive success: ${filename}`)
}
});
} catch (error) {
console.error(`ErrorCode: ${error.code}, Message: ${error.message}`);
}
})
Web({ src: 'www.example.com', controller: this.controller })
}
}
}
```
# Telephony Subsystem Changelog
## cl.telephony.1 Call Module dial API Change
Changed the `dial` API to the `dialCall` API in the call module of the telephony subsystem since API version 9.
You need to adapt your application.
**Change Impact**
The `dial` API is deprecated and cannot be used anymore. Use the `dialCall` API instead. Otherwise, relevant functions will be affected.
**Key API/Component Changes**
- Involved APIs:
```js
dial(phoneNumber: string, callback: AsyncCallback<boolean>): void;
dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void;
dial(phoneNumber: string, options?: DialOptions): Promise<boolean>;
```
- Before change:
```js
function dial(phoneNumber: string, callback: AsyncCallback<boolean>): void;
function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void;
function dial(phoneNumber: string, options?: DialOptions): Promise<boolean>;
```
- After change:
```js
function dialCall(phoneNumber: string, callback: AsyncCallback<void>): void;
function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback<void>): void;
function dialCall(phoneNumber: string, options?: DialCallOptions): Promise<void>;
```
**Adaptation Guide**
The `dial` API is deprecated and cannot be used anymore. Use the `dialCall` API instead. Otherwise, relevant functions will be affected.
Use the new API. The sample code is as follows:
```js
call.dialCall("138xxxxxxxx", (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
```js
call.dialCall("138xxxxxxxx", {
accountId: 0,
videoState: 0,
dialScene: 0,
dialType: 0,
}, (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
```js
try {
call.dialCall('138xxxxxxxx');
console.log(`dialCall success, promise: data->${JSON.stringify(data)}`);
} catch (error) {
console.log(`dialCall fail, promise: err->${JSON.stringify(error)}`);
}
```
# Multimodal Input ChangeLog
## cl.multimodalinput.1 Error Information Return Method Change of APIs
The internal APIs of the following modules used service logic return values to indicate error information, which did not comply with the error code specifications of OpenHarmony. Therefore, they are modified in API version 9 and later.
- Input device management module (**@ohos.multimodalInput.inputDevice.d.ts**): third-party APIs
- Input consumer module (**@ohos.multimodalInput.inputConsumer.d.ts**): system APIs
- Screen hopping module (**@ohos.multimodalInput.inputDeviceCooperate.d.ts**): system APIs
- Key injection module (**@ohos.multimodalInput.inputEventClient.d.ts**): system APIs
- Input listening module (**@ohos.multimodalInput.inputMonitor.d.ts**): system APIs
- Mouse pointer module (**@ohos.multimodalInput.pointer.d.ts**): system APIs and third-party APIs
Asynchronous APIs in the preceding modules have the following changes: A parameter check error is returned synchronously; a service logic error is returned via **AsyncCallback** or the **error** object of **Promise**. No change is made to synchronous APIs.
**Change Impacts**
The application developed based on earlier versions needs to adapt the method for returning API error information. Otherwise, the original service logic will be affected.
**Key API/Component Changes**
- supportKeys(deviceId: number, keys: Array&lt;KeyCode&gt;, callback: AsyncCallback&lt;Array&lt;boolean&gt;&gt;): void;
- supportKeys(deviceId: number, keys: Array&lt;KeyCode&gt;): Promise&lt;Array&lt;boolean&gt;&gt;;
- getKeyboardType(deviceId: number, callback: AsyncCallback&lt;KeyboardType&gt;): void; &gt;
- getKeyboardType(deviceId: number): Promise&lt;KeyboardType&gt;;
- setPointerSpeed(speed: number, callback: AsyncCallback&lt;void&gt;): void;
- setPointerSpeed(speed: number): Promise&lt;void&gt;;
- getPointerSpeed(callback: AsyncCallback&lt;number&gt;): void;
- getPointerSpeed(): Promise&lt;number&gt;;
- setPointerStyle(windowId: number, pointerStyle: PointerStyle, callback: AsyncCallback&lt;void&gt;): void;
- setPointerStyle(windowId: number, pointerStyle: PointerStyle): Promise&lt;void&gt;;
- getPointerStyle(windowId: number, callback: AsyncCallback&lt;PointerStyle&gt;): void;
- getPointerStyle(windowId: number): Promise&lt;PointerStyle&gt;;
- setPointerVisible(visible: boolean, callback: AsyncCallback&lt;void&gt;): void;
- setPointerVisible(visible: boolean): Promise&lt;void&gt;;
- isPointerVisible(callback: AsyncCallback&lt;boolean&gt;): void;
- isPointerVisible(): Promise&lt;boolean&gt;;
- on(type:"touch", receiver:TouchEventReceiver):void;
- on(type:"mouse", receiver:Callback&lt;MouseEvent&gt;):void;
- off(type:"touch", receiver?:TouchEventReceiver):void;
- off(type:"mouse", receiver?:Callback&lt;MouseEvent&gt;):void;
- injectEvent({KeyEvent: KeyEvent}): void;
- enable(enable: boolean, callback: AsyncCallback&lt;void&gt;): void;
- enable(enable: boolean): Promise&lt;void&gt;;
- start(sinkDeviceDescriptor: string, srcInputDeviceId: number, callback: AsyncCallback&lt;void&gt;): void;
- start(sinkDeviceDescriptor: string, srcInputDeviceId: number): Promise&lt;void&gt;;
- stop(callback: AsyncCallback&lt;void&gt;): void;
- stop(): Promise&lt;void&gt;;
- getState(deviceDescriptor: string, callback: AsyncCallback&lt;{ state: boolean }&gt;): void;
- getState(deviceDescriptor: string): Promise&lt;{ state: boolean }&gt;;
- on(type: 'cooperation', callback: AsyncCallback&lt;{ deviceDescriptor: string, eventMsg: EventMsg }&gt;): void;
- off(type: 'cooperation', callback?: AsyncCallback&lt;void&gt;): void;
- on(type: "key", keyOptions: KeyOptions, callback: Callback&lt;KeyOptions&gt;): void;
- off(type: "key", keyOptions: KeyOptions, callback?: Callback&lt;KeyOptions&gt;): void;
Deprecated APIs:
- getDeviceIds(callback: AsyncCallback&lt;Array&lt;number&gt;&gt;): void;
- getDeviceIds(): Promise&lt;Array&lt;number&gt;&gt;;
- getDevice(deviceId: number, callback: AsyncCallback&lt;InputDeviceData&gt;): void;
- getDevice(deviceId: number): Promise&lt;InputDeviceData&gt;;
Substitute APIs:
- getDeviceList(callback: AsyncCallback&lt;Array&lt;number&gt;&gt;): void;
- getDeviceList(): Promise&lt;Array&lt;number&gt;&gt;;
- getDeviceInfo(deviceId: number, callback: AsyncCallback&lt;InputDeviceData&gt;): void;
- getDeviceInfo(deviceId: number): Promise&lt;InputDeviceData&gt;;
Changed APIs:
Before change:
- supportKeys(deviceId: number, keys: Array&lt;KeyCode&gt;, callback: Callback&lt;Array&lt;boolean&gt;&gt;): void;
- getKeyboardType(deviceId: number, callback: Callback&lt;KeyboardType&gt;): void;
After change:
- supportKeys(deviceId: number, keys: Array&lt;KeyCode&gt;, callback: AsyncCallback&lt;Array&lt;boolean&gt;&gt;): void;
- getKeyboardType(deviceId: number, callback: AsyncCallback&lt;KeyboardType&gt;): void;
**Adaptation Guide**
The following uses **setPointerVisible** as an example:
```ts
import pointer from '@ohos.multimodalInput.pointer';
pointer.setPointerVisible(true, (error) => {
console.log(`Set pointer visible success`);
});
try {
pointer.setPointerVisible(true, (error) => {
if (error) {
console.log(`Set pointer visible failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
return;
}
console.log(`Set pointer visible success`);
});
} catch (error) {
console.log(`Set pointer visible failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
}
```
# Ability Subsystem ChangeLog
## cl.ability.1 Application Component Startup Rule Change
The rules for starting application components of the ability subsystem are changed in the following scenarios:
- Start application components when the application is in the background.
- Start invisible application components across applications.
- Start **serviceAbility** and **dataAbility** of the FA model across applications.
- Use the **startAbilityByCall** API.
You need to adapt your application based on the following information.
**Change Impacts**
If new rules are not adapted, application components cannot be started in the previous scenarios.
> **NOTE**
>
> Starting application components refers to any behavior starting or connecting to an ability.
>
> 1. Start an ability using APIs such as **startAbility**, **startServiceExtensionAbility**, and **startAbilityByCall**.
> 2. Connect to an ability using APIs such as **connectAbility**, **connectServiceExtensionAbility**, **acquireDataAbilityHelper**, and **createDataShareHelper**.
**Key API/Component Changes**
- Involved application components
- Stage model
- Ability
- ServiceExtension
- DataShareExtension
- FA model
- PageAbility
- ServiceAbility
- DataAbility
- Involved APIs
- Stage model
- startAbility(want: Want, callback: AsyncCallback<void>): void;
- startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void>): void;
- startAbility(want: Want, options?: StartOptions): Promise<void>;
- startAbilityByCall(want: Want): Promise<Caller>;
- startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void;
- startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<void>): void;
- startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<void>;
- startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): void;
- startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback<AbilityResult>): void;
- startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityResult>;
- startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback<AbilityResult>): void;
- startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<void>): void;
- startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<AbilityResult>;
- startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void;
- startServiceExtensionAbility(want: Want): Promise<void>;
- startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void;
- startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void>;
- stopServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void;
- stopServiceExtensionAbility(want: Want): Promise<void>;
- stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void;
- stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void>;
- connectAbility(want: Want, options: ConnectOptions): number;
- connectAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;
- createDataShareHelper(context: Context, uri: string, callback: AsyncCallback<DataShareHelper>): void
- FA model
- startAbility(parameter: StartAbilityParameter, callback: AsyncCallback<number>): void;
- startAbility(parameter: StartAbilityParameter): Promise<number>;
- startAbilityForResult(parameter: StartAbilityParameter, callback: AsyncCallback<AbilityResult>): void;
- startAbilityForResult(parameter: StartAbilityParameter): Promise<AbilityResult>;
- acquireDataAbilityHelper(uri: string): DataAbilityHelper;
- connectAbility(request: Want, options:ConnectOptions ): number;
**Adaptation Guide**
Startup rules for different scenarios are as follows:
- **Start application components when the application is in the background.**
- OpenHarmony 3.2 Beta3 rules:
- Starting application components when the application is in the background is not restricted.
- OpenHarmony 3.2 Beta4 rules:
- When the application is in the background, starting application components requires authentication. The following permission needs to be applied for:
```json
{
"name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"grantMode": "system_grant",
"availableLevel": "system_basic",
"provisionEnable": true,
"distributedSceneEnable": false
}
```
> **NOTE**
>
> 1. Starting components of the same application is also restricted by this rule.
> 2. For SDKs of API version 8 or earlier, starting **serviceAbility** and **dataAbility** is not restricted by this rule.
- **Start invisible application components across applications.**
- OpenHarmony 3.2 Beta3 rules:
- For applications whose APL is normal, invisible application components cannot be started across applications.
- OpenHarmony 3.2 Beta4 rules:
- For all applications, starting invisible application components across applications requires authentication. The following permission needs to be applied for:
```json
{
"name": "ohos.permission.START_INVISIBLE_ABILITY",
"grantMode": "system_grant",
"availableLevel": "system_core",
"provisionEnable": true,
"distributedSceneEnable": false
}
```
- **Start serviceAbility and dataAbility of the FA model across applications.**
- OpenHarmony 3.2 Beta3 rules:
- Starting **serviceAbility** and **dataAbility** across applications is not restricted.
- OpenHarmony 3.2 Beta4 rules:
- Associated startup needs to be configured for the provider of **serviceAbility** and **dataAbility**. Otherwise, **serviceAbility** and **dataAbility** cannot be started across applications. (Associated startup cannot be configured for common applications.)
- **Use the startAbilityByCall API.**
- OpenHarmony 3.2 Beta3 rules:
- The API call is not restricted.
- OpenHarmony 3.2 Beta4 rules:
- The **startAbilityByCall** API cannot be called by the same application.
- Calling the **startAbilityByCall** API across applications requires authentication. The following permission needs to be applied for:
```json
{
"name": "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION",
"grantMode": "system_grant",
"availableLevel": "system_basic",
"provisionEnable": true,
"distributedSceneEnable": false
}
```
> **NOTE**
>
> Using the **startAbilityByCall** API is also restricted by the background startup and across-application invisible component startup rules.
## cl.ability.2 Cross-Device Application Component Startup Rule Change (for System Applications Only)
The rules for starting cross-device application components of the ability subsystem are changed in the following scenarios:
- Start application components when the application is in the background.
- Start invisible application components across applications.
- Start **serviceAbility** of the FA model across applications.
You need to adapt your application based on the following information.
**Change Impacts**
If new rules are not adapted, application components cannot be started in the previous scenarios.
>**NOTE**
>
>Starting application components refers to any behavior starting or connecting to an ability.
>
>1. Start an ability using APIs such as **startAbility**, **startAbilityForResult**, and **startAbilityByCall**.
>2. Connect to an ability using APIs such as **connectAbility**.
**Key API/Component Changes**
- Involved application components
- Stage model
- Ability
- ServiceExtension
- FA model
- PageAbility
- ServiceAbility
- Involved APIs
- Stage model
- startAbility(want: Want, callback: AsyncCallback<void>): void;
- startAbilityByCall(want: Want): Promise<Caller>;
- startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): void;
- connectAbility(want: Want, options: ConnectOptions): number;
- FA model
- startAbility(parameter: StartAbilityParameter, callback: AsyncCallback<number>): void;
- startAbility(parameter: StartAbilityParameter): Promise<number>;
- startAbilityForResult(parameter: StartAbilityParameter, callback: AsyncCallback<AbilityResult>): void;
- startAbilityForResult(parameter: StartAbilityParameter): Promise<AbilityResult>;
- connectAbility(request: Want, options:ConnectOptions ): number;
**Adaptation Guide**
Startup rules for different scenarios are as follows:
- **Start application components when the application is in the background.**
- OpenHarmony 3.2 Beta3 rules:
- Starting application components when the application is in the background is not restricted.
- OpenHarmony 3.2 Beta4 rules:
- When the application is in the background, starting application components requires authentication. The following permission needs to be applied for:
```json
{
"name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"grantMode": "system_grant",
"availableLevel": "system_basic",
"provisionEnable": true,
"distributedSceneEnable": false
}
```
> **NOTE**
>
> 1. Starting components of the same application is also restricted by this rule.
> 2. For SDKs of API version 8 or earlier, starting **serviceAbility** is not restricted by this rule.
- **Start invisible application components across applications.**
- OpenHarmony 3.2 Beta3 rules:
- Invisible application components cannot be started across applications.
- OpenHarmony 3.2 Beta4 rules:
- Starting invisible application components across applications requires authentication. The following permission needs to be applied for:
```json
{
"name": "ohos.permission.START_INVISIBLE_ABILITY",
"grantMode": "system_grant",
"availableLevel": "system_core",
"provisionEnable": true,
"distributedSceneEnable": false
}
```
- **Start serviceAbility of the FA model across applications.**
- OpenHarmony 3.2 Beta3 rules:
- Starting **serviceAbility** across applications is not restricted.
- OpenHarmony 3.2 Beta4 rules:
- Associated startup needs to be configured for the **serviceAbility** provider application. Otherwise, **serviceAbility** cannot be started across applications. (Associated startup cannot be configured for common applications.)
- Configure associated startup as follows:
```json
{
"bundleName": "",
"app_signature": ["xxxxxxxxxxxxxxxxxxx"],
"associatedWakeUp": true
}
```
## cl.ability.3 API Exception Handling Method Change
Certain APIs of the ability subsystem use service logic return values to indicate error information, which does not comply with the API error code specifications of OpenHarmony.
**Change Impacts**
The application developed based on earlier versions needs to adapt the new APIs and their method for returning API error information. Otherwise, the original service logic will be affected.
**Key API/Component Changes**
For adaptation to the unified API exception handling mode, certain ability subsystem APIs are deprecated (original APIs in the following table) and corresponding new APIs in the following table are added. (In the following table, original APIs in API version 9 will be deleted, and APIs in API version 8 and earlier will be deprecated.) The newly added APIs support unified error code handling specifications and function the same as the original APIs.
| Original API | New API |
| ----------------------------------------------- | ----------------------------------------------- |
| @ohos.ability.wantConstant.d.ts | @ohos.app.ability.wantConstant.d.ts |
| @ohos.application.Ability.d.ts | @ohos.app.ability.UIAbility.d.ts |
| @ohos.application.AbilityConstant.d.ts | @ohos.app.ability.AbilityConstant.d.ts |
| @ohos.application.abilityDelegatorRegistry.d.ts | @ohos.app.ability.abilityDelegatorRegistry.d.ts |
| @ohos.application.AbilityLifecycleCallback.d.ts | @ohos.app.ability.AbilityLifecycleCallback.d.ts |
| @ohos.application.abilityManager.d.ts | @ohos.app.ability.abilityManager.d.ts |
| @ohos.application.AbilityStage.d.ts | @ohos.app.ability.AbilityStage.d.ts |
| @ohos.application.appManager.d.ts | @ohos.app.ability.appManager.d.ts |
| @ohos.application.Configuration.d.ts | @ohos.app.ability.Configuration.d.ts |
| @ohos.application.ConfigurationConstant.d.ts | @ohos.app.ability.ConfigurationConstant.d.ts |
| @ohos.application.context.d.ts | @ohos.app.ability.common.d.ts |
| @ohos.application.EnvironmentCallback.d.ts | @ohos.app.ability.EnvironmentCallback.d.ts |
| @ohos.application.errorManager.d.ts | @ohos.app.ability.errorManager.d.ts |
| @ohos.application.ExtensionAbility.d.ts | @ohos.app.ability.ExtensionAbility.d.ts |
| @ohos.application.formBindingData.d.ts | @ohos.app.form.formBindingData.d.ts |
| @ohos.application.FormExtension.d.ts | @ohos.app.form.FormExtensionAbility.d.ts |
| @ohos.application.formHost.d.ts | @ohos.app.form.formHost.d.ts |
| @ohos.application.formInfo.d.ts | @ohos.app.form.formInfo.d.ts |
| @ohos.application.formProvider.d.ts | @ohos.app.form.formProvider.d.ts |
| @ohos.application.missionManager.d.ts | @ohos.app.ability.missionManager.d.ts |
| @ohos.application.quickFixManager.d.ts | @ohos.app.ability.quickFixManager.d.ts |
| @ohos.application.ServiceExtensionAbility.d.ts | @ohos.app.ability.ServiceExtensionAbility.d.ts |
| @ohos.application.StartOptions.d.ts | @ohos.app.ability.StartOptions.d.ts |
| @ohos.application.Want.d.ts | @ohos.app.ability.Want.d.ts |
| @ohos.wantAgent.d.ts | @ohos.app.ability.wantAgent.d.ts |
**Adaptation Guide**
The original APIs are only migrated to the new namespace. Therefore, you can modify **import** to solve the adaptation problem.
If the original API uses **@ohos.application.missionManager**:
```js
import missionManager from '@ohos.application.missionManager';
```
You can directly modify **import** to switch to the new namespace:
```js
import missionManager from '@ohos.app.ability.missionManager';
```
In addition, exception handling is needed. For details, see the API reference for the new APIs.
## cl.ability.4 API Change
The names of some ability subsystem APIs are changed.
**Key API/Component Changes**
| Module | Class | Method/Attribute/Enumeration/Constant | Change Type|
| ----------------------------------------- | ----------------------- | ------------------------------------------------------------ | -------- |
| @ohos.application.Ability | Caller | onRelease(callback: OnReleaseCallBack): **void**; | Deprecated |
| @ohos.app.ability.UIAbility | Caller | on(**type**: "release", callback: OnReleaseCallBack): **void**; | Added |
| @ohos.application.Ability | Ability | dump(params: Array<**string**>): Array<**string**>; | Deprecated |
| @ohos.app.ability.UIAbility | UIAbility | onDump(params: Array<**string**>): Array<**string**>; | Added |
| @ohos.application.appManager | appManager | **function** registerApplicationStateObserver(observer: ApplicationStateObserver): **number**; | Deprecated |
| @ohos.application.appManager | appManager | **function** registerApplicationStateObserver(observer: ApplicationStateObserver, bundleNameList: Array<**string**>): **number**; | Deprecated |
| @ohos.application.appManager | appManager | **function** unregisterApplicationStateObserver(observerId: **number**, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| @ohos.application.appManager | appManager | **function** unregisterApplicationStateObserver(observerId: **number**): Promise<**void**>; | Deprecated |
| @ohos.app.ability.appManager | appManager | **function** on(**type**: "applicationState", observer: ApplicationStateObserver): **number**; | Added |
| @ohos.app.ability.appManager | appManager | **function** on(**type**: "applicationState", observer: ApplicationStateObserver, bundleNameList: Array<**string**>): **number**; | Added |
| @ohos.app.ability.appManager | appManager | **function** off(**type**: "applicationState", observerId: **number**, callback: AsyncCallback<**void**>): **void**; | Added |
| @ohos.app.ability.appManager | appManager | **function** off(**type**: "applicationState", observerId: **number**): Promise<**void**>; | Added |
| @ohos.application.errorManager | errorManager | **function** registerErrorObserver(observer: ErrorObserver): **number**; | Deprecated |
| @ohos.application.errorManager | errorManager | **function** unregisterErrorObserver(observerId: **number**, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| @ohos.application.errorManager | errorManager | **function** unregisterErrorObserver(observerId: **number**): Promise<**void**>; | Deprecated |
| @ohos.app.ability.errorManager | errorManager | **function** on(**type**: "error", observer: ErrorObserver): **number**; | Added |
| @ohos.app.ability.errorManager | errorManager | **function** off(**type**: "error", observerId: **number**, callback: AsyncCallback<**void**>): **void**; | Added |
| @ohos.app.ability.errorManager | errorManager | **function** off(**type**: "error", observerId: **number**): Promise<**void**>; | Added |
| @ohos.application.missionManager | missionManager | **function** registerMissionListener(listener: MissionListener): **number**; | Deprecated |
| @ohos.application.missionManager | missionManager | **function** unregisterMissionListener(listenerId: **number**, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| @ohos.application.missionManager | missionManager | **function** unregisterMissionListener(listenerId: **number**): Promise<**void**>; | Deprecated |
| @ohos.app.ability.missionManager | missionManager | **function** on(**type**: "mission", listener: MissionListener): **number**; | Added |
| @ohos.app.ability.missionManager | missionManager | **function** off(**type**: "mission", listenerId: **number**, callback: AsyncCallback<**void**>): **void**; | Added |
| @ohos.app.ability.missionManager | missionManager | **function** off(**type**: "mission", listenerId: **number**): Promise<**void**>; | Added |
| @ohos.application.FormExtension | FormExtension | onCreate(want: Want): formBindingData.FormBindingData; | Deprecated |
| @ohos.application.FormExtension | FormExtension | onCastToNormal(formId: **string**): **void**; | Deprecated |
| @ohos.application.FormExtension | FormExtension | onUpdate(formId: **string**): **void**; | Deprecated |
| @ohos.application.FormExtension | FormExtension | onVisibilityChange(newStatus: { [key: **string**]: **number** }): **void**; | Deprecated |
| @ohos.application.FormExtension | FormExtension | onEvent(formId: **string**, message: **string**): **void**; | Deprecated |
| @ohos.application.FormExtension | FormExtension | onDestroy(formId: **string**): **void**; | Deprecated |
| @ohos.application.FormExtension | FormExtension | onShare?(formId: **string**): {[key: **string**]: **any**}; | Deprecated |
| @ohos.app.form.FormExtensionAbility | FormExtensionAbility | onAddForm(want: Want): formBindingData.FormBindingData; | Added |
| @ohos.app.form.FormExtensionAbility | FormExtensionAbility | onCastToNormalForm(formId: **string**): **void**; | Added |
| @ohos.app.form.FormExtensionAbility | FormExtensionAbility | onUpdateForm(formId: **string**): **void**; | Added |
| @ohos.app.form.FormExtensionAbility | FormExtensionAbility | onChangeFormVisibility(newStatus: { [key: **string**]: **number** }): **void**; | Added |
| @ohos.app.form.FormExtensionAbility | FormExtensionAbility | onFormEvent(formId: **string**, message: **string**): **void**; | Added |
| @ohos.app.form.FormExtensionAbility | FormExtensionAbility | onRemoveForm(formId: **string**): **void**; | Added |
| @ohos.app.form.FormExtensionAbility | FormExtensionAbility | onShareForm?(formId: **string**): {[key: **string**]: **any**}; | Added |
| @ohos.application.formHost.d.ts | formHost | **function** castTempForm(formId: **string**, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| @ohos.application.formHost.d.ts | formHost | **function** castTempForm(formId: **string**): Promise<**void**>; | Deprecated |
| @ohos.app.form.formHost.d.ts | formHost | **function** castToNormalForm(formId: **string**, callback: AsyncCallback<**void**>): **void**; | Added |
| @ohos.app.form.formHost.d.ts | formHost | **function** castToNormalForm(formId: **string**): Promise<**void**>; | Added |
| @ohos.application.ServiceExtensionAbility | ServiceExtensionAbility | dump(params: Array<**string**>): Array<**string**>; | Deprecated |
| @ohos.app.ability.ServiceExtensionAbility | ServiceExtensionAbility | onDump(params: Array<**string**>): Array<**string**>; | Added |
| application/AbilityContext | AbilityContext | connectAbility(want: Want, options: ConnectOptions): **number**; | Deprecated |
| application/AbilityContext | AbilityContext | connectAbilityWithAccount(want: Want, accountId: **number**, options: ConnectOptions): **number**; | Deprecated |
| application/AbilityContext | AbilityContext | disconnectAbility(connection: **number**, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| application/AbilityContext | AbilityContext | disconnectAbility(connection: **number**): Promise<**void**>; | Deprecated |
| application/UIAbilityContext | UIAbilityContext | connectServiceExtensionAbilityWithAccount(want: Want, accountId: **number**, options: ConnectOptions): **number**; | Added |
| application/UIAbilityContext | UIAbilityContext | connectServiceExtensionAbilityWithAccount(want: Want, accountId: **number**, options: ConnectOptions): **number**; | Added |
| application/UIAbilityContext | UIAbilityContext | disconnectServiceExtensionAbility(connection: **number**, callback: AsyncCallback<**void**>): **void**; | Added |
| application/UIAbilityContext | UIAbilityContext | disconnectServiceExtensionAbility(connection: **number**): Promise<**void**>; | Added |
| application/ApplicationContext | ApplicationContext | registerAbilityLifecycleCallback(callback: AbilityLifecycleCallback): **number**; | Deprecated |
| application/ApplicationContext | ApplicationContext | unregisterAbilityLifecycleCallback(callbackId: **number**, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| application/ApplicationContext | ApplicationContext | unregisterAbilityLifecycleCallback(callbackId: **number**): Promise<**void**>; | Deprecated |
| application/ApplicationContext | ApplicationContext | registerEnvironmentCallback(callback: EnvironmentCallback): **number**; | Deprecated |
| application/ApplicationContext | ApplicationContext | unregisterEnvironmentCallback(callbackId: **number**, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| application/ApplicationContext | ApplicationContext | unregisterEnvironmentCallback(callbackId: **number**): Promise<**void**>; | Deprecated |
| application/ApplicationContext | ApplicationContext | on(**type**: "abilityLifecycle", callback: AbilityLifecycleCallback): **number**; | Added |
| application/ApplicationContext | ApplicationContext | off(**type**: "abilityLifecycle", callbackId: **number**, callback: AsyncCallback<**void**>): **void**; | Added |
| application/ApplicationContext | ApplicationContext | off(**type**: "abilityLifecycle", callbackId: **number**): Promise<**void**>; | Added |
| application/ApplicationContext | ApplicationContext | on(**type**: "environment", callback: EnvironmentCallback): **number**; | Added |
| application/ApplicationContext | ApplicationContext | off(**type**: "environment", callbackId: **number**, callback: AsyncCallback<**void**>): **void**; | Added |
| application/ApplicationContext | ApplicationContext | off(**type**: "environment", callbackId: **number**): Promise<**void**>; | Added |
| application/ServiceExtensionContext | ServiceExtensionContext | connectAbility(want: Want, options: ConnectOptions): **number**; | Deprecated |
| application/ServiceExtensionContext | ServiceExtensionContext | connectAbilityWithAccount(want: Want, accountId: **number**, options: ConnectOptions): **number**; | Deprecated |
| application/ServiceExtensionContext | ServiceExtensionContext | disconnectAbility(connection: **number**, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| application/ServiceExtensionContext | ServiceExtensionContext | disconnectAbility(connection: **number**): Promise<**void**>; | Deprecated |
| application/ServiceExtensionContext | ServiceExtensionContext | connectServiceExtensionAbility(want: Want, options: ConnectOptions): **number**; | Added |
| application/ServiceExtensionContext | ServiceExtensionContext | connectServiceExtensionAbilityWithAccount(want: Want, accountId: **number**, options: ConnectOptions): **number**; | Added |
| application/ServiceExtensionContext | ServiceExtensionContext | disconnectServiceExtensionAbility(connection: **number**, callback: AsyncCallback<**void**>): **void**; | Added |
| application/ServiceExtensionContext | ServiceExtensionContext | disconnectServiceExtensionAbility(connection: **number**): Promise<**void**>; | Added |
# Account Subsystem ChangeLog
## cl.account_os_account.1 Change in Error Information Return Method of Account System APIs
Certain system APIs of the account subsystem use service logic return values to indicate error information, which does not comply with the API error code specifications of OpenHarmony. The following changes are made in API version 9 and later:
Asynchronous API: An error message is returned via **AsyncCallback** or the **error** object of **Promise**.
Synchronous API: An error message is returned via an exception.
**Change Impacts**
The application developed based on earlier versions needs to adapt the new APIs and their method for returning API error information. Otherwise, the original service logic will be affected.
**Key API/Component Changes**
Before change:
- class UserAuth
- setProperty(request: SetPropertyRequest, callback: AsyncCallback&lt;number&gt;): void;
- setProperty(request: SetPropertyRequest): Promise&lt;number&gt;;
- cancelAuth(contextID: Uint8Array): number;
- class PINAuth
- registerInputer(inputer: Inputer): boolean;
- UserIdentityManager
- cancel(challenge: Uint8Array): number;
After change:
- class UserAuth
- setProperty(request: SetPropertyRequest, callback: AsyncCallback&lt;void&gt;): void;
- setProperty(request: SetPropertyRequest): Promise&lt;void&gt;;
- cancelAuth(contextID: Uint8Array): void;
- class PINAuth
- registerInputer(inputer: Inputer): void;
- UserIdentityManager
- cancel(challenge: Uint8Array): void;
**Adaptation Guide**
The following uses **setProperty** as an example for asynchronous APIs:
```
import account_osAccount from "@ohos.account.osAccount"
userAuth.setProperty({
authType: account_osAccount.AuthType.PIN,
key: account_osAccount.SetPropertyType.INIT_ALGORITHM,
setInfo: new Uint8Array([0])
}, (err) => {
if (err) {
console.log("setProperty failed, error: " + JSON.stringify(err));
} else {
console.log("setProperty successfully");
}
});
userAuth.setProperty({
authType: account_osAccount.AuthType.PIN,
key: account_osAccount.SetPropertyType.INIT_ALGORITHM,
setInfo: new Uint8Array([0])
}).catch((err) => {
if (err) {
console.log("setProperty failed, error: " + JSON.stringify(err));
} else {
console.log("setProperty successfully");
}
});
```
The following uses **registerInputer** as an example for synchronous APIs:
```
import account_osAccount from "@ohos.account.osAccount"
let pinAuth = new account_osAccount.PINAuth()
let inputer = {
onGetData: (authType, passwordRecipient) => {
let password = new Uint8Array([0]);
passwordRecipient.onSetData(authType, password);
}
}
try {
pinAuth.registerInputer(inputer);
} catch (err) {
console.log("registerInputer failed, error: " + JSON.stringify(err));
}
```
## cl.account_os_account.2 ACTION Definition Change for the Application Account Authentication Service
**Change Impacts**
For the application developed based on an earlier version, you need to modify **ACTION** in the application configuration file (**config.json** for the FA model and **module.json5** for the Stage model) to normally provide the application authentication service.
**Key API/Component Changes**
Involved constant:
@ohos.ability.wantConstant.ACTION_APP_ACCOUNT_AUTH
Before change:
ACTION_APP_ACCOUNT_AUTH = "account.appAccount.action.auth"
After change:
ACTION_APP_ACCOUNT_AUTH = "ohos.appAccount.action.auth"
**Adaptation Guide**
For a third-party application providing the account authentication service, adapt the changed application account authentication **ACTION** in the **ServiceAbility** configuration file (**config.json** for the FA module or **module.json5** for the Stage module).
```
"abilities": [
{
"name": "ServiceAbility",
"srcEntrance": "./ets/ServiceAbility/ServiceAbility.ts",
...
"visible": true,
"skills": {
{
"actions": [
"ohos.appAccount.action.auth"
]
}
}
}]
}
# Common Event and Notification Subsystem ChangeLog
## cl.notification.1 API Exception Handling Method Changes
Certain event notification APIs use service logic return values to indicate error information, which does not comply with the API error code specifications of OpenHarmony.
**Change Impacts**
The application developed based on earlier versions needs to adapt the new APIs and their method for returning API error information. Otherwise, the original service logic will be affected.
**Key API/Component Changes**
For adaptation to the unified API exception handling mode, certain event notification APIs are deprecated (original APIs in the following table) and corresponding new APIs in the following table are added. The newly added APIs support unified error code handling specifications and function the same as the original APIs.
| Original API | New API |
| ----------------------- | -------------------------------- |
| @ohos.commonEvent.d.ts | @ohos.commonEventManager.d.ts |
| @ohos.notification.d.ts | @ohos.notificationManager.d.ts |
| @ohos.notification.d.ts | @ohos.notificationSubscribe.d.ts |
**Adaptation Guide**
The original APIs are only migrated to the new namespace. Therefore, you can modify **import** to solve the adaptation problem.
If the original API uses **@ohos.commonEvent**:
```js
import commonEvent from '@ohos.commonEvent';
```
You can directly modify **import** to switch to the new namespace:
```js
import commonEvent from '@ohos.commonEventManager';
```
**@ohos.notification** is split into two namespaces. You need to select a new namespace for adaptation.
In addition, exception handling is needed. For details, see the API reference for the new APIs.
## cl.notification.2 API Changes
The names of some event notification APIs are changed.
**Key API/Component Changes**
| Module | Class | Method/Attribute/Enumeration/Constant | Change Type|
| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- |
| @ohos.notification | notification | **function** enableNotification(bundle: BundleOption, enable: boolean, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| @ohos.notification | notification | **function** enableNotification(bundle: BundleOption, enable: boolean): Promise<**void**>; | Deprecated |
| @ohos.notificationManager | notificationManager | **function** setNotificationEnable(bundle: BundleOption, enable: boolean, callback: AsyncCallback<**void**>): **void**; | Added |
| @ohos.notificationManager | notificationManager | **function** setNotificationEnable(bundle: BundleOption, enable: boolean): Promise<**void**>; | Added |
| @ohos.notification | notification | **function** enableNotificationSlot(bundle: BundleOption, **type**: SlotType, enable: boolean, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| @ohos.notification | notification | **function** enableNotificationSlot(bundle: BundleOption, **type**: SlotType, enable: boolean): Promise<**void**>; | Deprecated |
| @ohos.notificationManager | notificationManager | **function** setNotificationEnableSlot(bundle: BundleOption, **type**: SlotType, enable: boolean, callback: AsyncCallback<**void**>): **void**; | Added |
| @ohos.notificationManager | notificationManager | **function** setNotificationEnableSlot(bundle: BundleOption, **type**: SlotType, enable: boolean): Promise<**void**>; | Added |
| @ohos.notification | notification | **function** enableDistributed(enable: boolean, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| @ohos.notification | notification | **function** enableDistributed(enable: boolean, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| @ohos.notificationManager | notificationManager | **function** setDistributedEnable(enable: boolean, callback: AsyncCallback<**void**>): **void**; | Added |
| @ohos.notificationManager | notificationManager | **function** setDistributedEnable(enable: boolean): Promise<**void**>; | Added |
| @ohos.notification | notification | **function** enableDistributedByBundle(bundle: BundleOption, enable: boolean, callback: AsyncCallback<**void**>): **void**; | Deprecated |
| @ohos.notification | notification | **function** enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise<**void**>; | Deprecated |
| @ohos.notificationManager | notificationManager | **function** setDistributedEnableByBundle(bundle: BundleOption, enable: boolean, callback: AsyncCallback<**void**>): **void**; | Added |
| @ohos.notificationManager | notificationManager | **function** setDistributedEnableByBundle(bundle: BundleOption, enable: boolean): Promise<**void**>; | Added |
# *Example* Subsystem ChangeLog
Changes that affect contract compatibility of the last version should be described in the ChangeLog. The changes include but are not limited to those related to API names, parameters, return values, required permissions, call sequence, enumerated values, configuration parameters, and paths. The last version can be an LTS, release, beta, or monthly version, or the like. Contract compatibility, also called semantic compatibility, means that the original program behavior should remain consistent over versions.
## cl.subsystemname.x xxx Function Change (Example: DeviceType Attribute Change or Camera Permission Change. Use a short description.)
Add the number **cl.*subsystemname*.*x*** before each change title, where **cl** is the abbreviation of ChangeLog, *subsystemname* is the standard English name of the subsystem, and *x* indicates the change sequence number (starting from 1 in ascending order).
Describe the changes in terms of functions. Example: *n* and *m* of the *a* function are changed. Developers need to adapt their applications based on the change description.
If there is a requirement or design document corresponding to the change, attach the requirement number or design document number in the description.
**Change Impacts**
Describe whether released APIs (JS or native APIs) are affected or API behavior is changed.
Describe whether available applications are affected, that is, whether an adaptation is required for building the application code in the SDK environment of the new version.
**Key API/Component Changes**
List the API/component changes involved in the function change.
**Adaptation Guide (Optional)**
Provide guidance for developers on how to adapt their application to the changes to be compatible with the new version.
Example:
Change parameter *n* to *m* in the *a* file.
```
sample code
```
# ArkUI Subsystem ChangeLog
## cl.arkui.1 xcomponent API Change
The following APIs of the **xcomponent** component of the ArkUI subsystem are changed:
- **getXComponentSurfaceId** and **setXComponentSurfaceSize**: The **@systemapi** tag is removed.
- **getXComponentSurfaceId**, **getXComponentContext**, and **setXComponentSurfaceSize**: The return value types are specified.
You need to adapt your applications based on the following information.
**Change Impacts**
Released JS APIs are affected. The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version.
**Key API/Component Changes**
- **getXComponentSurfaceId**: is changed to a public API, with its return value type specified as string.
- **setXComponentSurfaceSize**: is changed to a public API, with its return value type specified as void.
- **getXComponentContext**: has its return value type specified as object.
**Adaptation Guide**
Startup rules for different scenarios are as follows:
Adaptions to be made:
- **getXComponentSurfaceId**
- OpenHarmony 3.2 Beta3 rules:
- System API
- No specified return value
- OpenHarmony 3.2 Beta4 rules:
- Public API
- Return value type specified as string
- You need to process the return value as a string.
- **setXComponentSurfaceSize**
- OpenHarmony 3.2 Beta3 rules:
- System API
- No specified return value
- OpenHarmony 3.2 Beta4 rules:
- Public API
- Return value type specified as void
- You need to process the return value as a void.
- **getXComponentContext**
- OpenHarmony 3.2 Beta3 rules:
- No specified return value
- OpenHarmony 3.2 Beta4 rules:
- Return value type specified as object
- You need to process the return value as an object.
## cl.arkui.2 Change of Styles of Popup Component and APIs
The styles of the **alertDialog**, **actionSheet**, and **customDialog** components, as well as the **prompt** and **promptAction** APIs were changed. Specifically speaking:
The popup background blurring effect is added to **promptAction.showDialog**, **promptAction.showActionMenu**, **alertDialog**, **actionSheet**, and **customDialog**.
**Change Impacts**
The popup background blurring effect is set by default.
**Key API/Component Changes**
APIs: **promptAction.showDialog** and **promptAction.showActionMenu;**
Components: **alertDialog**, **actionSheet**, and **customDialog**
**Adaptation Guide**
No adaptation is required.
## cl.arkui.3 Supplementation of the Initialization Mode and Restriction Verification Scenarios of Custom Components' Member Variables
For details, see [Restrictions and Extensions](../../../application-dev/quick-start/arkts-restrictions-and-extensions.md).
**Change Impacts**
If custom components' member variables are initialized or assigned with values not according to the document specifications, an error will be reported during compilation.
**Key API/Component Changes**
N/A
**Adaptation Guide**
Make modification according to specifications in the above document.
## cl.arkui.4 Supplementation of Verification Scenarios of Value Assignment Restrictions on Member Variables of Custom Parent Components and Child Components
For details, see [Restrictions and Extensions](../../../application-dev/quick-start/arkts-restrictions-and-extensions.md).
**Change Impacts**
If member variables of the parent component or child component are initialized not according to the document specifications, an error will be reported during compilation.
**Key API/Component Changes**
N/A
**Adaptation Guide**
Make modification according to specifications in the above document, using other decorators or normal member variables for value assignment.
## cl.arkui.5 Supplementation of Verification for a Single Subcomponent
Verification for a single subcomponent is enabled for the following components: **Button**, **FlowItem**, **GridItem**, **GridCol**, **ListItem**, **Navigator**, **Refresh**, **RichText**, **ScrollBar**, **StepperItem**, and **TabContent**.
**Change Impacts**
If one of the preceding components contains more than one subcomponent, an error will be reported during compilation.
**Key API/Component Changes**
```js
RichText('RichText') {
Text('Text1')
Text('Text2')
}
/* ArkTS:ERROR File: /root/newOH/developtools/ace-ets2bundle/compiler/sample/pages/home.ets:25:7
The component 'RichText' can only have a single child component. */
```
**Adaptation Guide**
Make modification based on the error message. Make sure that the specified component contains only one subcomponent.
# Telephony Subsystem ChangeLog
## cl.telephony.1 Input Parameter Change of System APIs of the SMS Module
Input parameters are changed for some released system APIs of the SMS module of the telephony subsystem, which do not comply with the API specifications of OpenHarmony. The following changes are made in API version 9 and later:
The **slotId** parameter is added to the **isImsSmsSupported** API, indicating the slot ID.
**Change Impacts**
Input parameters of JavaScript APIs need to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected.
**Key API/Component Changes**
- Involved APIs
isImsSmsSupported(callback: AsyncCallback<boolean>): void;
isImsSmsSupported(): Promise<boolean>;
- Before change:
```js
function isImsSmsSupported(callback: AsyncCallback<boolean>): void;
function isImsSmsSupported(): Promise<boolean>;
```
- After change:
```js
function isImsSmsSupported(slotId: number, callback: AsyncCallback<boolean>): void;
function isImsSmsSupported(slotId: number): Promise<boolean>;
```
**Adaptation Guide**
Add an input parameter. The sample code is as follows:
Callback mode
```js
let slotId = 0;
sms.isImsSmsSupported(slotId, (err, data) => {
console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
});
```
Promise mode
```js
let slotId = 0;
let promise = sms.isImsSmsSupported(slotId);
promise.then(data => {
console.log(`isImsSmsSupported success, promise: data->${JSON.stringify(data)}`);
}).catch(err => {
console.error(`isImsSmsSupported failed, promise: err->${JSON.stringify(err)}`);
});
```
# *Example* Subsystem ChangeLog
Changes that affect contract compatibility of the last version should be described in the ChangeLog. The changes include but are not limited to those related to API names, parameters, return values, required permissions, call sequence, enumerated values, configuration parameters, and paths. The last version can be an LTS, release, beta, or monthly version, or the like. Contract compatibility, also called semantic compatibility, means that the original program behavior should remain consistent over versions.
## cl.subsystemname.x xxx Function Change (Example: DeviceType Attribute Change or Camera Permission Change. Use a short description.)
Add the number **cl.*subsystemname*.*x*** before each change title, where **cl** is the abbreviation of ChangeLog, *subsystemname* is the standard English name of the subsystem, and *x* indicates the change sequence number (starting from 1 in ascending order).
Describe the changes in terms of functions. Example: *n* and *m* of the *a* function are changed. Developers need to adapt their applications based on the change description.
If there is a requirement or design document corresponding to the change, attach the requirement number or design document number in the description.
**Change Impacts**
Describe whether released APIs (JS or native APIs) are affected or API behavior is changed.
Describe whether available applications are affected, that is, whether an adaptation is required for building the application code in the SDK environment of the new version.
**Key API/Component Changes**
List the API/component changes involved in the function change.
**Adaptation Guide (Optional)**
Provide guidance for developers on how to adapt their application to the changes to be compatible with the new version.
Example:
Change parameter *n* to *m* in the *a* file.
```
sample code
```
# *Example* Subsystem ChangeLog
Changes that affect contract compatibility of the last version should be described in the ChangeLog. The changes include but are not limited to those related to API names, parameters, return values, required permissions, call sequence, enumerated values, configuration parameters, and paths. The last version can be an LTS, release, beta, or monthly version, or the like. Contract compatibility, also called semantic compatibility, means that the original program behavior should remain consistent over versions.
## cl.subsystemname.x xxx Function Change (Example: DeviceType Attribute Change or Camera Permission Change. Use a short description.)
Add the number **cl.*subsystemname*.*x*** before each change title, where **cl** is the abbreviation of ChangeLog, *subsystemname* is the standard English name of the subsystem, and *x* indicates the change sequence number (starting from 1 in ascending order).
Describe the changes in terms of functions. Example: *n* and *m* of the *a* function are changed. Developers need to adapt their applications based on the change description.
If there is a requirement or design document corresponding to the change, attach the requirement number or design document number in the description.
**Change Impacts**
Describe whether released APIs (JS or native APIs) are affected or API behavior is changed.
Describe whether available applications are affected, that is, whether an adaptation is required for building the application code in the SDK environment of the new version.
**Key API/Component Changes**
List the API/component changes involved in the function change.
**Adaptation Guide (Optional)**
Provide guidance for developers on how to adapt their application to the changes to be compatible with the new version.
Example:
Change parameter *n* to *m* in the *a* file.
```
sample code
```
# Test Subsystem ChangeLog
## cl.testfwk_arkxtest.1 API Name Change of Rect
The definition of **Rect**, an enumeration type that indicates the component bound information, is changed since version 4.0.2.1.
## Change Impacts
This change affects the **Rect** API provided by **@ohos.uitest**. If you have used the **Rect** API of **@ohos.uitest-api9** during test case development, adaptation is required so that the compilation can be successful in the SDK environment of the new version.
## Key API/Component Changes
### Rect<sup>9+</sup>
Before change
| Name | Value | Description |
| ------- | ---- | ------------------------- |
| leftX | 1 | X-coordinate of the upper left corner of the component bounds.|
| topY | 2 | Y-coordinate of the upper left corner of the component bounds.|
| rightX | 3 | X-coordinate of the lower right corner of the component bounds.|
| bottomY | 4 | Y-coordinate of the lower right corner of the component bounds.|
After change
| Name | Value | Description |
| ------ | ---- | ------------------------- |
| left | 1 | X-coordinate of the upper left corner of the component bounds.|
| top | 2 | Y-coordinate of the upper left corner of the component bounds.|
| right | 3 | X-coordinate of the lower right corner of the component bounds.|
| bottom | 4 | Y-coordinate of the lower right corner of the component bounds.|
## Adaptation Guide
### Adaptation to the API Name Change
You can replace the class name according to the following rules:
- `leftX-->left`
- `topY-->top`
- `rightX-->right`
- `bottomY-->bottom`
# USB Subsystem API Changelog
## cl.usb_manager.1 Bundle Name Change
For applications developed based on earlier versions, you need to change the name of the imported bundle. Otherwise, the original service logic will be affected.
**Key API/Component Changes**
| Original Bundle Name | New Bundle Name |
|------------------ | ------------------- |
| ohos.usbV9.d.ts | ohos.usbManager.d.ts |
**Adaptation Guide**
Change **@ohos.usbV9** to **@ohos.usbManager** when importing the bundle.
## cl.usb_manager.2 API Parameter Type Change
For applications developed based on earlier versions, you need to modify the parameter type. Otherwise, the original service logic will be affected.
**Key API/Component Changes**
| Original Class Name | New Class Name |
|---------------| ------------- |
| interface USBConfig | interface USBConfiguration |
| Original Namespace | New Namespace |
|---------------| ------------- |
| @namespace usbV9 | @namespace usbManager |
| Bundle Name | Original API | New API |
| --------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
| ohos.usbManager.d.ts | function setConfiguration(pipe: USBDevicePipe, config: USBConfig): number; | function setConfiguration(pipe: USBDevicePipe, config: USBConfiguration): number; |
**Adaptation Guide**
When calling **setConfiguration**, change the parameter type from **USBConfig** to **USBConfiguration**.
# Security Subsystem Changelog
## cl.security.1 ParamsSpec Attribute Name Change
Changed **algoName** of the **ParamsSpec** structure to **algName**.
**Change Impact**
For the released JavaScript APIs that use **ParamsSpec** and its child classes **IvParamsSpec**, **GcmParamsSpec**, and **CcmParamsSpec** as parameters or return values, **algoName** must be changed to **algName**.
The change must be made for all the applications that use these APIs. Otherwise, the compilation in the SDK of the new version cannot be successful.
**Key API/Component Changes**
API prototype before the change:
```ts
interface ParamsSpec {
/**
* Indicates the algorithm name. Should be set before initialization of a cipher object.
* @type { string }
* @syscap SystemCapability.Security.CryptoFramework
* @since 9
*/
algoName : string;
}
```
API prototype after the change:
```ts
interface ParamsSpec {
/**
* Indicates the algorithm name. Should be set before initialization of a cipher object.
* @type { string }
* @syscap SystemCapability.Security.CryptoFramework
* @since 9
*/
algName : string;
}
```
**Adaptation Guide**
Change **algoName** to **algName** in **ParamsSpec** and its child classes **IvParamsSpec**, **GcmParamsSpec**, and **CcmParamsSpec**.
```ts
function genGcmParamsSpec() {
let arr = [0, 0, 0, 0 , 0, 0, 0, 0, 0, 0 , 0, 0]; // 12 bytes
let dataIv = new Uint8Array(arr);
let ivBlob = {data : dataIv};
arr = [0, 0, 0, 0 , 0, 0, 0, 0]; // 8 bytes
let dataAad = new Uint8Array(arr);
let aadBlob = {data : dataAad};
arr = [0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0]; // 16 bytes
let dataTag = new Uint8Array(arr);
let tagBlob = {data : dataTag};
let gcmParamsSpec = {iv : ivBlob, aad : aadBlob, authTag : tagBlob, algName : "GcmParamsSpec"};
return gcmParamsSpec;
}
```
For details, see the APIs of **ParamsSpec** in [Crypto Framework](../../../application-dev/reference/apis/js-apis-cryptoFramework.md#paramsspec).
## Change of cl.security.2 ECC Algorithm Parameter Name from ECC512 to ECC521
**Change Impact**
Behavior of released JavaScript APIs will be changed.
The application needs to be adapted to obtain the correct result in the SDK of the new version.
**Key API/Component Changes**
The parameter passed in the APIs is changed from **ECC512** to **ECC521**. The related APIs remain unchanged. For details, see [Key Generation Specifications](../../../application-dev/security/cryptoFramework-overview.md#key-generation-specifications). The following APIs are involved:
cryptoFramework.createAsyKeyGenerator
cryptoFramework.createSign
cryptoFramework.createVerify
cryptoFramework.createKeyAgreement
**Adaptation Guide**
```js
import cryptoFramework from "@ohos.security.cryptoFramework"
let asyKeyGenerator = cryptoFramework.createAsyKeyGenerator("ECC521");
```
# Pan-sensor Subsystem Changelog
## cl.ability.1 Attribute Name Changed from venderName to vendorName in the Sensor API
**venderName** is changed to **vendorName**.
**Change Impact**
The **venderName** attribute cannot be used anymore. Use **vendorName** instead.
**Key API/Component Changes**
- Before change:
```js
interface Sensor {
sensorName:string; /**< Sensor name */
venderName:string; /**< Sensor vendor version */
firmwareVersion:string; /**< Sensor firmware version */
hardwareVersion:string; /**< Sensor hardware version */
sensorId:number; /**< Sensor type ID, {@code SensorType} */
maxRange:number; /**< Maximum measurement range of the sensor */
minSamplePeriod:number; /**< Minimum sample period allowed, in ns */
maxSamplePeriod:number; /**< maximum sample period allowed, in ns */
precision:number; /**< Sensor accuracy */
power:number; /**< Sensor power */
}
```
- After change:
```js
interface Sensor {
sensorName:string; /**< Sensor name */
vendorName:string; /**< Sensor vendor version */
firmwareVersion:string; /**< Sensor firmware version */
hardwareVersion:string; /**< Sensor hardware version */
sensorId:number; /**< Sensor type ID, {@code SensorType} */
maxRange:number; /**< Maximum measurement range of the sensor */
minSamplePeriod:number; /**< Minimum sample period allowed, in ns */
maxSamplePeriod:number; /**< maximum sample period allowed, in ns */
precision:number; /**< Sensor accuracy */
power:number; /**< Sensor power */
}
```
**Adaptation Guide**
Replace **venderName** with **vendorName**.
# Web Subsystem Changelog
Compared with earlier versions, OpenHarmony 4.0.3.2 has the following API changes in its web subsystem:
## cl.web.1 HitTestTypeV9 Name Change
Renamed the enum class **HitTestTypeV9** **WebHitTestType** to meet the naming conventions.
**Change Impact**
The enum class **HitTestTypeV9** and APIs that use **HitTestTypeV9** as a parameter or return value cannot be used in OpenHarmony 4.0.3.2 and later versions.
**Key API/Component Changes**
- Involved APIs:
enum HitTestTypeV9
- Before change:
```ts
enum HitTestTypeV9
```
- After change:
```ts
enum WebHitTestType
```
**Adaptation Guide**
Replace **HitTestTypeV9** with **WebHitTestType**.
## cl.web.2 HeaderV9 Name Change
Renamed the struct **HeaderV9** **WebHeader** to meet the naming conventions.
**Change Impact**
The struct **HeaderV9** and APIs that use **HeaderV9** as a parameter or return value cannot be used in OpenHarmony 4.0.3.2 and later versions.
**Key API/Component Changes**
- Involved APIs:
interface HeaderV9
- Before change:
```ts
interface HeaderV9
```
- After change:
```ts
interface WebHeader
```
**Adaptation Guide**
Replace **HeaderV9** with **WebHeader**.
## cl.web.3 Member Change of HitTestValue
Rename the member variable **HitTestTypeV9** in the **HitTestValue** struct **WebHitTestType** to meet the naming conventions.
**Change Impact**
The struct **HitTestValue** and APIs that use **HitTestValue** as a parameter or return value cannot be used in OpenHarmony 4.0.3.2 and later versions.
**Key API/Component Changes**
- Involved APIs:
interface HitTestValue
- Before change:
```ts
interface HitTestValue {
/**
* Get the hit test type.
*
* @since 9
*/
type: HitTestTypeV9;
/**
* Get the hit test extra data.
*
* @since 9
*/
extra: string;
}
```
- After change:
```ts
interface HitTestValue {
/**
* Get the hit test type.
*
* @since 9
*/
type: WebHitTestType;
/**
* Get the hit test extra data.
*
* @since 9
*/
extra: string;
}
```
**Adaptation Guide**
Replace **HitTestTypeV9** with **WebHitTestType**.
## cl.web.4 Parameter Type Change of loadUrl
Changed the type of the **headers** parameter in **loadUrl** to **WebHeader** to meet the naming conventions.
**Change Impact**
The **loadUrl** API that uses the **headers** parameter cannot be used in OpenHarmony 4.0.3.2 and later versions.
**Key API/Component Changes**
- Involved APIs:
loadUrl(url: string | Resource, headers?: Array\<HeaderV9>): void
- Before change:
```ts
loadUrl(url: string | Resource, headers?: Array<HeaderV9>): void
```
- After change:
```ts
loadUrl(url: string | Resource, headers?: Array<WebHeader>): void
```
**Adaptation Guide**
Change the type of the **headers** parameter in **loadUrl** from **HeaderV9** to **WebHeader**.
## cl.web.5 Return Value Type Change of getHitTest
Changed the return value type of the **getHitTest** API to **WebHitTest** to meet the naming conventions.
**Change Impact**
The **getHitTest** API cannot be used in OpenHarmony 4.0.3.2 and later versions.
**Key API/Component Changes**
- Involved APIs:
getHitTest(): HitTestTypeV9
- Before change:
```ts
getHitTest(): HitTestTypeV9
```
- After change:
```ts
getHitTest(): WebHitTestType
```
**Adaptation Guide**
Change the return value type of the **getHitTest** API from **HitTestTypeV9** to **WebHitTestType**.
## cl.web.6 Moving of the WebMessagePort Class
Moved the **WebMessagePort** class to **@ohos.web.webview.d.ts** and added error throwing.
**Change Impact**
If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing.
**Key API/Component Changes**
- Involved APIs:
postMessageEvent(message: WebMessageEvent): void;
onMessageEvent(callback: (result: string) => void): void;
- Before change:
```ts
postMessageEvent(message: WebMessageEvent): void;
onMessageEvent(callback: (result: string) => void): void;
```
- After change:
```ts
postMessageEvent(message: WebMessage): void;
onMessageEvent(callback: (result: WebMessage) => void): void;
```
**Adaptation Guide**
Instead of importing APIs from the original **WebMessagePort** class, import APIs from **@ohos.web.webview** as follows:
```ts
import web_webview from '@ohos.web.webview';
```
## cl.web.7 Moving of the HitTestValue Class
Moved the **HitTestValue** class to **@ohos.web.webview.d.ts**; changed **HitTestValue** from a class to an API; changed the **getType** and **getExtra** from APIs to attributes.
**Change Impact**
If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed.
**Key API/Component Changes**
- Involved APIs:
getType(): HitTestType;
getExtra(): string;
- Before change:
```ts
getType(): HitTestType;
getExtra(): string;
```
- After change:
```ts
type: WebHitTestType;
extra: string;
```
**Adaptation Guide**
Instead of importing APIs from the original **HitTestValue** class, import APIs from **@ohos.web.webview** as follows:
```ts
import web_webview from '@ohos.web.webview';
```
## cl.web.8 Moving of API Version 9 APIs Under WebCookie
Moved APIs of API version 9 in the **WebCookie** class to **web.webview.webview.WebCookieManager**
and added error throwing.
**Change Impact**
If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing.
The APIs in the class are static.
**Key API/Component Changes**
- Involved APIs:
isCookieAllowed(): boolean;
isThirdPartyCookieAllowed(): boolean;
putAcceptCookieEnabled(accept: boolean): void;
putAcceptThirdPartyCookieEnabled(accept: boolean): void;
setCookie(url: string, value: string): boolean;
saveCookieSync(): boolean;
getCookie(url: string): string;
existCookie(): boolean;
deleteEntireCookie(): void;
deleteSessionCookie(): void;
- Before change:
```ts
isCookieAllowed(): boolean;
isThirdPartyCookieAllowed(): boolean;
putAcceptCookieEnabled(accept: boolean): void;
putAcceptThirdPartyCookieEnabled(accept: boolean): void;
setCookie(url: string, value: string): boolean;
saveCookieSync(): boolean;
getCookie(url: string): string;
existCookie(): boolean;
deleteEntireCookie(): void;
deleteSessionCookie(): void;
```
- After change:
```ts
static isCookieAllowed(): boolean;
static isThirdPartyCookieAllowed(): boolean;
static putAcceptCookieEnabled(accept: boolean): void;
static putAcceptThirdPartyCookieEnabled(accept: boolean): void;
static setCookie(url: string, value: string): void;
static saveCookieAsync(): Promise<void>;
static saveCookieAsync(callback: AsyncCallback<void>): void;
static getCookie(url: string): string;
static existCookie(): boolean;
static deleteEntireCookie(): void;
static deleteSessionCookie(): void;
```
**Adaptation Guide**
Instead of importing APIs from the original **WebCookie** class, import APIs from **@ohos.web.webview** as follows:
```ts
import web_webview from '@ohos.web.webview';
```
## cl.web.9 Moving of API Version 9 APIs Under WebController
Moved APIs of API version 9 in the **WebController** class to **web.webview.webview.WebviewController** and added error throwing.
**Change Impact**
If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing.
The **getDefaultUserAgent** API is renamed **getUserAgent**.
**Key API/Component Changes**
- Involved APIs:
zoomIn(): boolean;
zoomOut(): boolean;
createWebMessagePorts(): Array\<WebMessagePort>;
postMessage(options: { message: WebMessageEvent, uri: string}): void;
getHitTestValue(): HitTestValue;
getWebId(): number;
getDefaultUserAgent(): string;
getTitle(): string;
getPageHeight(): number;
backOrForward(step: number): void;
searchAllAsync(searchString: string): void;
clearMatches(): void;
searchNext(forward: boolean): void;
clearSslCache(): void;
clearClientAuthenticationCache(): void;
getUrl(): string;
- Before change:
```ts
zoomIn(): boolean;
zoomOut(): boolean;
createWebMessagePorts(): Array<WebMessagePort>;
postMessage(options: { message: WebMessageEvent, uri: string}): void;
getHitTestValue(): HitTestValue;
getWebId(): number;
getDefaultUserAgent(): string;
getTitle(): string;
getPageHeight(): number;
backOrForward(step: number): void;
searchAllAsync(searchString: string): void;
clearMatches(): void;
searchNext(forward: boolean): void;
clearSslCache(): void;
clearClientAuthenticationCache(): void;
getUrl(): string;
```
- After change:
```ts
zoomIn(): void;
zoomOut(): void;
createWebMessagePorts(): Array<WebMessagePort>;
postMessage(name: string, ports: Array<WebMessagePort>, uri: string): void;
getHitTestValue(): HitTestValue;
getWebId(): number;
getUserAgent(): string;
getTitle(): string;
getPageHeight(): number;
backOrForward(step: number): void;
searchAllAsync(searchString: string): void;
clearMatches(): void;
searchNext(forward: boolean): void;
clearSslCache(): void;
clearClientAuthenticationCache(): void;
getUrl(): string;
```
**Adaptation Guide**
Instead of importing APIs from the original **WebController** class, import APIs from **@ohos.web.webview** as follows:
```ts
import web_webview from '@ohos.web.webview';
```
## cl.web.10 Moving of the WebAsyncController Class
Moved the APIs in the **WebAsyncController** class to the **web.webview.webview.WebviewController** class and added error throwing.
**Change Impact**
If your application is developed based on earlier versions, pay attention to error code processing.
**Key API/Component Changes**
- Involved APIs:
storeWebArchive(baseName: string, autoName: boolean): Promise\<string>;
storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback\<string>): void;
- Before change:
```ts
storeWebArchive(baseName: string, autoName: boolean): Promise<string>;
storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void;
```
- After change:
```ts
storeWebArchive(baseName: string, autoName: boolean): Promise<string>;
storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void;
```
**Adaptation Guide**
Example:
```ts
// xxx.ets
import web_webview from '@ohos.web.webview'
@Entry
@Component
struct WebComponent {
controller: web_webview.WebviewController = new web_webview.WebviewController();
build() {
Column() {
Button('saveWebArchive')
.onClick(() => {
try {
this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => {
if (error) {
console.info(`save web archive error: ` + JSON.stringify(error))
return;
}
if (filename != null) {
console.info(`save web archive success: ${filename}`)
}
});
} catch (error) {
console.error(`ErrorCode: ${error.code}, Message: ${error.message}`);
}
})
Web({ src: 'www.example.com', controller: this.controller })
}
}
}
```
# Power Subsystem Changelog
## cl.powermgr.1 CommonEventBatteryChangedCode API Change
Changed the **CommonEventBatteryChangedCode** enum class in [@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) as follows:
- Changed the class name to **CommonEventBatteryChangedKey**.
- Deleted **EXTRA_MAX_CURRENT**, **EXTRA_MAX_VOLTAGE**, and **EXTRA_CHARGE_COUNTER**.
- Changed the enum value type from numeric to string.
#### Change Impact
The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected.
#### Key API/Component Changes
Before change:
| Name | Value | Description |
| -------------------- | ---- | -------------------------------------------------- |
| EXTRA_SOC | 0 | Remaining battery level in percentage. |
| EXTRA_VOLTAGE | 1 | Battery voltage of the device. |
| EXTRA_TEMPERATURE | 2 | Battery temperature of the device. |
| EXTRA_HEALTH_STATE | 3 | Battery health status of the device. |
| EXTRA_PLUGGED_TYPE | 4 | Type of the charger connected to the device. |
| EXTRA_MAX_CURRENT | 5 | Maximum battery current of the device. |
| EXTRA_MAX_VOLTAGE | 6 | Maximum battery voltage of the device. |
| EXTRA_CHARGE_STATE | 7 | Battery charging status of the device. |
| EXTRA_CHARGE_COUNTER | 8 | Number of battery charging times of the device. |
| EXTRA_PRESENT | 9 | Whether the battery is supported by the device or installed.|
| EXTRA_TECHNOLOGY | 10 | Battery technology of the device. |
| EXTRA_CAPACITY_LEVEL | 11 | Battery level of the device. |
After change:
| Name | Value | Description |
| -------------------- | --------------- | -------------------------------------------------- |
| EXTRA_SOC | "soc" | Remaining battery level in percentage. |
| EXTRA_CHARGE_STATE | "chargeState" | Battery charging status of the device. |
| EXTRA_HEALTH_STATE | "healthState" | Battery health status of the device. |
| EXTRA_PLUGGED_TYPE | "pluggedType" | Type of the charger connected to the device. |
| EXTRA_VOLTAGE | "voltage" | Battery voltage of the device. |
| EXTRA_TECHNOLOGY | "technology" | Battery technology of the device. |
| EXTRA_TEMPERATURE | "temperature" | Battery temperature of the device. |
| EXTRA_PRESENT | "present" | Whether the battery is supported by the device or installed.|
| EXTRA_CAPACITY_LEVEL | "capacityLevel" | Battery level of the device. |
#### Adaptation Guide
For details, see the API reference of the [@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) API.
## cl.powermgr.2 estimatedRemainingChargeTime API Change
Changed the **estimatedRemainingChargeTime** API in [@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) to a system API.
#### Change Impact
The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected.
#### Adaptation Guide
For details, see the API reference of the [@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) API.
## cl.powermgr.3 System Common Event Behavior Change
The following common events are provided in the battery information through [@ohos.commonEventManager (common event module)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-commonEventManager.md):
- COMMON_EVENT_BATTERY_LOW: common event for low battery level. It includes the remaining battery in percentage.
- COMMON_EVENT_BATTERY_OKAY: common event for normal battery level. It includes the remaining battery in percentage.
- COMMON_EVENT_POWER_CONNECTED: common event for connection to an external power supply. It includes the type of the power supply to which the device is connected.
- COMMON_EVENT_POWER_DISCONNECTED: common event for disconnection from an external power supply. It includes the type of the power supply from which the device is disconnected.
- COMMON_EVENT_CHARGING: common event for starting of battery charging. It includes the battery charging status.
- COMMON_EVENT_DISCHARGING: common event for ending of battery charging. It includes the battery charging status.
Changed the method of obtaining data from common events from **CommonEventData.data** to **CommonEventData.code**.
#### Change Impact
The application developed based on earlier versions needs to adapt the method for obtaining common events in the battery information. Otherwise, the original service logic will be affected.
#### Adaptation Guide
For details, see the API reference of the [@ohos.commonEventManager (Common Event Manager)](../../../application-dev/reference/apis/js-apis-commonEventManager.md) API.
# 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.
先完成此消息的编辑!
想要评论请 注册