diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-ability.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-ability.md new file mode 100644 index 0000000000000000000000000000000000000000..d9b926892f358697064a18f0e9bc51a84a8860a9 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-ability.md @@ -0,0 +1,266 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.app.ability.dataUriUtils
Class name: dataUriUtils|@ohos.app.ability.dataUriUtils.d.ts| +|Added|NA|Module name: ohos.app.ability.dataUriUtils
Class name: dataUriUtils
Method or attribute name: function getId(uri: string): number|@ohos.app.ability.dataUriUtils.d.ts| +|Added|NA|Module name: ohos.app.ability.dataUriUtils
Class name: dataUriUtils
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
Class name: dataUriUtils
Method or attribute name: function deleteId(uri: string): string|@ohos.app.ability.dataUriUtils.d.ts| +|Added|NA|Module name: ohos.app.ability.dataUriUtils
Class name: dataUriUtils
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
Class name: EnvironmentCallback
Method or attribute name: onMemoryLevel(level: AbilityConstant.MemoryLevel): void;|@ohos.app.ability.EnvironmentCallback.d.ts| +|Deleted|Module name: ohos.app.ability.wantAgent
Class name: wantAgent
Method or attribute name: function trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback): void;|NA|@ohos.app.ability.wantAgent.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: OnReleaseCallBack|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: OnReleaseCallBack
Method or attribute name: (msg: string): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: CalleeCallBack|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: CalleeCallBack
Method or attribute name: (indata: rpc.MessageParcel): rpc.Sequenceable;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Caller|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Caller
Method or attribute name: call(method: string, data: rpc.Sequenceable): Promise;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Caller
Method or attribute name: callWithResult(method: string, data: rpc.Sequenceable): Promise;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Caller
Method or attribute name: release(): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Caller
Method or attribute name: onRelease(callback: OnReleaseCallBack): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Callee|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Callee
Method or attribute name: on(method: string, callback: CalleeCallBack): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Callee
Method or attribute name: off(method: string): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: context: AbilityContext;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: launchWant: Want;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: lastRequestWant: Want;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: callee: Callee;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onCreate(want: Want, param: AbilityConstant.LaunchParam): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onWindowStageCreate(windowStage: window.WindowStage): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onWindowStageDestroy(): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onWindowStageRestore(windowStage: window.WindowStage): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onDestroy(): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onForeground(): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onBackground(): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onContinue(wantParam : {[key: string]: any}): AbilityConstant.OnContinueResult;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onNewWant(want: Want, launchParams: AbilityConstant.LaunchParam): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: dump(params: Array): Array;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
Method or attribute name: onMemoryLevel(level: AbilityConstant.MemoryLevel): void;|NA|@ohos.application.Ability.d.ts| +|Deleted|Module name: ohos.application.Ability
Class name: Ability
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
Class name: AbilityConstant|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LaunchParam|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LaunchParam
Method or attribute name: launchReason: LaunchReason;|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LaunchParam
Method or attribute name: lastExitReason: LastExitReason;|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LaunchReason|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LaunchReason
Method or attribute name: UNKNOWN = 0|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LaunchReason
Method or attribute name: START_ABILITY = 1|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LaunchReason
Method or attribute name: CALL = 2|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LaunchReason
Method or attribute name: CONTINUATION = 3|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LaunchReason
Method or attribute name: APP_RECOVERY = 4|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LastExitReason|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LastExitReason
Method or attribute name: UNKNOWN = 0|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LastExitReason
Method or attribute name: ABILITY_NOT_RESPONDING = 1|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: LastExitReason
Method or attribute name: NORMAL = 2|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnContinueResult|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnContinueResult
Method or attribute name: AGREE = 0|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnContinueResult
Method or attribute name: REJECT = 1|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnContinueResult
Method or attribute name: MISMATCH = 2|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: MemoryLevel|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: MemoryLevel
Method or attribute name: MEMORY_LEVEL_MODERATE = 0|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: MemoryLevel
Method or attribute name: MEMORY_LEVEL_LOW = 1|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: MemoryLevel
Method or attribute name: MEMORY_LEVEL_CRITICAL = 2|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: WindowMode|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: WindowMode
Method or attribute name: WINDOW_MODE_UNDEFINED = 0|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: WindowMode
Method or attribute name: WINDOW_MODE_FULLSCREEN = 1|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: WindowMode
Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY = 100|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: WindowMode
Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY = 101|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: WindowMode
Method or attribute name: WINDOW_MODE_FLOATING = 102|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnSaveResult|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnSaveResult
Method or attribute name: ALL_AGREE = 0|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnSaveResult
Method or attribute name: CONTINUATION_REJECT = 1|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnSaveResult
Method or attribute name: CONTINUATION_MISMATCH = 2|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnSaveResult
Method or attribute name: RECOVERY_AGREE = 3|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnSaveResult
Method or attribute name: RECOVERY_REJECT = 4|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: OnSaveResult
Method or attribute name: ALL_REJECT|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: StateType|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: StateType
Method or attribute name: CONTINUATION = 0|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityConstant
Class name: StateType
Method or attribute name: APP_RECOVERY = 1|NA|@ohos.application.AbilityConstant.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback
Method or attribute name: onAbilityCreate(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback
Method or attribute name: onWindowStageCreate(ability: Ability, windowStage: window.WindowStage): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback
Method or attribute name: onWindowStageActive(ability: Ability, windowStage: window.WindowStage): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback
Method or attribute name: onWindowStageInactive(ability: Ability, windowStage: window.WindowStage): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback
Method or attribute name: onWindowStageDestroy(ability: Ability, windowStage: window.WindowStage): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback
Method or attribute name: onAbilityDestroy(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback
Method or attribute name: onAbilityForeground(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback
Method or attribute name: onAbilityBackground(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.AbilityLifecycleCallback
Class name: AbilityLifecycleCallback
Method or attribute name: onAbilityContinue(ability: Ability): void;|NA|@ohos.application.AbilityLifecycleCallback.d.ts| +|Deleted|Module name: ohos.application.abilityManager
Class name: abilityManager
Method or attribute name: function getExtensionRunningInfos(upperLimit: number): Promise>;|NA|@ohos.application.abilityManager.d.ts| +|Deleted|Module name: ohos.application.abilityManager
Class name: abilityManager
Method or attribute name: function getExtensionRunningInfos(upperLimit: number, callback: AsyncCallback>): void;|NA|@ohos.application.abilityManager.d.ts| +|Deleted|Module name: ohos.application.abilityManager
Class name: abilityManager
Method or attribute name: function getTopAbility(): Promise;|NA|@ohos.application.abilityManager.d.ts| +|Deleted|Module name: ohos.application.abilityManager
Class name: abilityManager
Method or attribute name: function getTopAbility(callback: AsyncCallback): void;|NA|@ohos.application.abilityManager.d.ts| +|Deleted|Module name: ohos.application.AbilityStage
Class name: AbilityStage|NA|@ohos.application.AbilityStage.d.ts| +|Deleted|Module name: ohos.application.AbilityStage
Class name: AbilityStage
Method or attribute name: context: AbilityStageContext;|NA|@ohos.application.AbilityStage.d.ts| +|Deleted|Module name: ohos.application.AbilityStage
Class name: AbilityStage
Method or attribute name: onCreate(): void;|NA|@ohos.application.AbilityStage.d.ts| +|Deleted|Module name: ohos.application.AbilityStage
Class name: AbilityStage
Method or attribute name: onAcceptWant(want: Want): string;|NA|@ohos.application.AbilityStage.d.ts| +|Deleted|Module name: ohos.application.AbilityStage
Class name: AbilityStage
Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.AbilityStage.d.ts| +|Deleted|Module name: ohos.application.AbilityStage
Class name: AbilityStage
Method or attribute name: onMemoryLevel(level: AbilityConstant.MemoryLevel): void;|NA|@ohos.application.AbilityStage.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ApplicationState|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ApplicationState
Method or attribute name: STATE_CREATE|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ApplicationState
Method or attribute name: STATE_FOREGROUND|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ApplicationState
Method or attribute name: STATE_ACTIVE|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ApplicationState
Method or attribute name: STATE_BACKGROUND|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ApplicationState
Method or attribute name: STATE_DESTROY|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ProcessState|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ProcessState
Method or attribute name: STATE_CREATE|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ProcessState
Method or attribute name: STATE_FOREGROUND|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ProcessState
Method or attribute name: STATE_ACTIVE|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ProcessState
Method or attribute name: STATE_BACKGROUND|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: ProcessState
Method or attribute name: STATE_DESTROY|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: appManager
Method or attribute name: function registerApplicationStateObserver(observer: ApplicationStateObserver, bundleNameList: Array): number;|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: appManager
Method or attribute name: function getProcessRunningInformation(): Promise>;|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.appManager
Class name: appManager
Method or attribute name: function getProcessRunningInformation(callback: AsyncCallback>): void;|NA|@ohos.application.appManager.d.ts| +|Deleted|Module name: ohos.application.Configuration
Class name: Configuration
Method or attribute name: direction?: ConfigurationConstant.Direction;|NA|@ohos.application.Configuration.d.ts| +|Deleted|Module name: ohos.application.Configuration
Class name: Configuration
Method or attribute name: screenDensity?: ConfigurationConstant.ScreenDensity;|NA|@ohos.application.Configuration.d.ts| +|Deleted|Module name: ohos.application.Configuration
Class name: Configuration
Method or attribute name: displayId?: number;|NA|@ohos.application.Configuration.d.ts| +|Deleted|Module name: ohos.application.Configuration
Class name: Configuration
Method or attribute name: hasPointerDevice?: boolean;|NA|@ohos.application.Configuration.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: Direction|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: Direction
Method or attribute name: DIRECTION_NOT_SET = -1|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: Direction
Method or attribute name: DIRECTION_VERTICAL = 0|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: Direction
Method or attribute name: DIRECTION_HORIZONTAL = 1|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: ScreenDensity|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: ScreenDensity
Method or attribute name: SCREEN_DENSITY_NOT_SET = 0|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: ScreenDensity
Method or attribute name: SCREEN_DENSITY_SDPI = 120|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: ScreenDensity
Method or attribute name: SCREEN_DENSITY_MDPI = 160|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: ScreenDensity
Method or attribute name: SCREEN_DENSITY_LDPI = 240|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: ScreenDensity
Method or attribute name: SCREEN_DENSITY_XLDPI = 320|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: ScreenDensity
Method or attribute name: SCREEN_DENSITY_XXLDPI = 480|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.ConfigurationConstant
Class name: ScreenDensity
Method or attribute name: SCREEN_DENSITY_XXXLDPI = 640|NA|@ohos.application.ConfigurationConstant.d.ts| +|Deleted|Module name: ohos.application.context
Class name: context|NA|@ohos.application.context.d.ts| +|Deleted|Module name: ohos.application.EnvironmentCallback
Class name: EnvironmentCallback|NA|@ohos.application.EnvironmentCallback.d.ts| +|Deleted|Module name: ohos.application.EnvironmentCallback
Class name: EnvironmentCallback
Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.EnvironmentCallback.d.ts| +|Deleted|Module name: ohos.application.errorManager
Class name: errorManager|NA|@ohos.application.errorManager.d.ts| +|Deleted|Module name: ohos.application.errorManager
Class name: errorManager
Method or attribute name: function registerErrorObserver(observer: ErrorObserver): number;|NA|@ohos.application.errorManager.d.ts| +|Deleted|Module name: ohos.application.errorManager
Class name: errorManager
Method or attribute name: function unregisterErrorObserver(observerId: number, callback: AsyncCallback): void;|NA|@ohos.application.errorManager.d.ts| +|Deleted|Module name: ohos.application.errorManager
Class name: errorManager
Method or attribute name: function unregisterErrorObserver(observerId: number): Promise;|NA|@ohos.application.errorManager.d.ts| +|Deleted|Module name: ohos.application.ExtensionAbility
Class name: ExtensionAbility|NA|@ohos.application.ExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ExtensionAbility
Class name: ExtensionAbility
Method or attribute name: onConfigurationUpdated(newConfig: Configuration): void;|NA|@ohos.application.ExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ExtensionAbility
Class name: ExtensionAbility
Method or attribute name: onMemoryLevel(level: AbilityConstant.MemoryLevel): void;|NA|@ohos.application.ExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: context: FormExtensionContext;|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: onCreate(want: Want): formBindingData.FormBindingData;|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: onCastToNormal(formId: string): void;|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: onUpdate(formId: string): void;|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: onVisibilityChange(newStatus: { [key: string]: number }): void;|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: onEvent(formId: string, message: string): void;|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: onDestroy(formId: string): void;|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: onAcquireFormState?(want: Want): formInfo.FormState;|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.FormExtension
Class name: FormExtension
Method or attribute name: onShare?(formId: string): {[key: string]: any};|NA|@ohos.application.FormExtension.d.ts| +|Deleted|Module name: ohos.application.formHost
Class name: formHost
Method or attribute name: function shareForm(formId: string, deviceId: string, callback: AsyncCallback): void;|NA|@ohos.application.formHost.d.ts| +|Deleted|Module name: ohos.application.formHost
Class name: formHost
Method or attribute name: function shareForm(formId: string, deviceId: string): Promise;|NA|@ohos.application.formHost.d.ts| +|Deleted|Module name: ohos.application.formHost
Class name: formHost
Method or attribute name: function notifyFormsPrivacyProtected(formIds: Array, isProtected: boolean, callback: AsyncCallback): void;|NA|@ohos.application.formHost.d.ts| +|Deleted|Module name: ohos.application.formHost
Class name: formHost
Method or attribute name: function notifyFormsPrivacyProtected(formIds: Array, isProtected: boolean): Promise;|NA|@ohos.application.formHost.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: FormType
Method or attribute name: eTS = 2|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: FormParam
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
Class name: FormParam
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
Class name: FormParam
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
Class name: FormInfoFilter|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: FormInfoFilter
Method or attribute name: moduleName?: string;|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: FormDimension|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: FormDimension
Method or attribute name: Dimension_1_2 = 1|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: FormDimension
Method or attribute name: Dimension_2_2|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: FormDimension
Method or attribute name: Dimension_2_4|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: FormDimension
Method or attribute name: Dimension_4_4|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: FormDimension
Method or attribute name: Dimension_2_1|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: VisibilityType|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: VisibilityType
Method or attribute name: FORM_VISIBLE = 1|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formInfo
Class name: VisibilityType
Method or attribute name: FORM_INVISIBLE|NA|@ohos.application.formInfo.d.ts| +|Deleted|Module name: ohos.application.formProvider
Class name: formProvider
Method or attribute name: function getFormsInfo(filter: formInfo.FormInfoFilter, callback: AsyncCallback>): void;|NA|@ohos.application.formProvider.d.ts| +|Deleted|Module name: ohos.application.formProvider
Class name: formProvider
Method or attribute name: function getFormsInfo(callback: AsyncCallback>): void;|NA|@ohos.application.formProvider.d.ts| +|Deleted|Module name: ohos.application.formProvider
Class name: formProvider
Method or attribute name: function getFormsInfo(filter?: formInfo.FormInfoFilter): Promise>;|NA|@ohos.application.formProvider.d.ts| +|Deleted|Module name: ohos.application.formProvider
Class name: formProvider
Method or attribute name: function requestPublishForm(want: Want, formBindingData: formBindingData.FormBindingData,

callback: AsyncCallback): void;|NA|@ohos.application.formProvider.d.ts| +|Deleted|Module name: ohos.application.formProvider
Class name: formProvider
Method or attribute name: function requestPublishForm(want: Want, callback: AsyncCallback): void;|NA|@ohos.application.formProvider.d.ts| +|Deleted|Module name: ohos.application.formProvider
Class name: formProvider
Method or attribute name: function requestPublishForm(want: Want, formBindingData?: formBindingData.FormBindingData): Promise;|NA|@ohos.application.formProvider.d.ts| +|Deleted|Module name: ohos.application.formProvider
Class name: formProvider
Method or attribute name: function isRequestPublishFormSupported(callback: AsyncCallback): void;|NA|@ohos.application.formProvider.d.ts| +|Deleted|Module name: ohos.application.formProvider
Class name: formProvider
Method or attribute name: function isRequestPublishFormSupported(): Promise;|NA|@ohos.application.formProvider.d.ts| +|Deleted|Module name: ohos.application.missionManager
Class name: missionManager
Method or attribute name: function getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback): void;|NA|@ohos.application.missionManager.d.ts| +|Deleted|Module name: ohos.application.missionManager
Class name: missionManager
Method or attribute name: function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise;|NA|@ohos.application.missionManager.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility
Method or attribute name: context: ServiceExtensionContext;|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility
Method or attribute name: onCreate(want: Want): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility
Method or attribute name: onDestroy(): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility
Method or attribute name: onRequest(want: Want, startId: number): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility
Method or attribute name: onConnect(want: Want): rpc.RemoteObject;|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility
Method or attribute name: onDisconnect(want: Want): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility
Method or attribute name: onReconnect(want: Want): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility
Method or attribute name: onConfigurationUpdated(config: Configuration): void;|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.ServiceExtensionAbility
Class name: ServiceExtensionAbility
Method or attribute name: dump(params: Array): Array;|NA|@ohos.application.ServiceExtensionAbility.d.ts| +|Deleted|Module name: ohos.application.StartOptions
Class name: StartOptions|NA|@ohos.application.StartOptions.d.ts| +|Deleted|Module name: ohos.application.StartOptions
Class name: StartOptions
Method or attribute name: windowMode?: number;|NA|@ohos.application.StartOptions.d.ts| +|Deleted|Module name: ohos.application.StartOptions
Class name: StartOptions
Method or attribute name: displayId?: number;|NA|@ohos.application.StartOptions.d.ts| +|Deleted|Module name: ohos.application.Want
Class name: Want
Method or attribute name: moduleName?: string;|NA|@ohos.application.Want.d.ts| +|Deleted|Module name: ohos.wantAgent
Class name: wantAgent
Method or attribute name: function trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback): void;|NA|@ohos.wantAgent.d.ts| +|Deleted|Module name: ohos.wantAgent
Class name: wantAgent
Method or attribute name: function getOperationType(agent: WantAgent, callback: AsyncCallback): void;|NA|@ohos.wantAgent.d.ts| +|Deleted|Module name: ohos.wantAgent
Class name: wantAgent
Method or attribute name: function getOperationType(agent: WantAgent): Promise;|NA|@ohos.wantAgent.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: abilityInfo: AbilityInfo;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: currentHapModuleInfo: HapModuleInfo;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: config: Configuration;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbility(want: Want, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityByCall(want: Want): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityForResult(want: Want, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityForResult(want: Want, options?: StartOptions): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startServiceExtensionAbility(want: Want): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: stopServiceExtensionAbility(want: Want, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: stopServiceExtensionAbility(want: Want): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: terminateSelf(callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: terminateSelf(): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: terminateSelfWithResult(parameter: AbilityResult): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: connectAbility(want: Want, options: ConnectOptions): number;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: connectAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: disconnectAbility(connection: number, callback:AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: disconnectAbility(connection: number): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: disconnectServiceExtensionAbility(connection: number): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: setMissionLabel(label: string, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: setMissionLabel(label: string): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: setMissionIcon(icon: image.PixelMap, callback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: setMissionIcon(icon: image.PixelMap): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: requestPermissionsFromUser(permissions: Array, requestCallback: AsyncCallback): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: requestPermissionsFromUser(permissions: Array): Promise;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: restoreWindowStage(localStorage: LocalStorage): void;|NA|AbilityContext.d.ts| +|Deleted|Module name: AbilityContext
Class name: AbilityContext
Method or attribute name: isTerminating(): boolean;|NA|AbilityContext.d.ts| +|Deleted|Module name: ApplicationContext
Class name: ApplicationContext
Method or attribute name: registerAbilityLifecycleCallback(callback: AbilityLifecycleCallback): number;|NA|ApplicationContext.d.ts| +|Deleted|Module name: ApplicationContext
Class name: ApplicationContext
Method or attribute name: unregisterAbilityLifecycleCallback(callbackId: number, callback: AsyncCallback): void;|NA|ApplicationContext.d.ts| +|Deleted|Module name: ApplicationContext
Class name: ApplicationContext
Method or attribute name: unregisterAbilityLifecycleCallback(callbackId: number): Promise;|NA|ApplicationContext.d.ts| +|Deleted|Module name: ApplicationContext
Class name: ApplicationContext
Method or attribute name: registerEnvironmentCallback(callback: EnvironmentCallback): number;|NA|ApplicationContext.d.ts| +|Deleted|Module name: ApplicationContext
Class name: ApplicationContext
Method or attribute name: unregisterEnvironmentCallback(callbackId: number, callback: AsyncCallback): void;|NA|ApplicationContext.d.ts| +|Deleted|Module name: ApplicationContext
Class name: ApplicationContext
Method or attribute name: unregisterEnvironmentCallback(callbackId: number): Promise;|NA|ApplicationContext.d.ts| +|Deleted|Module name: PermissionRequestResult
Class name: PermissionRequestResult|NA|PermissionRequestResult.d.ts| +|Deleted|Module name: PermissionRequestResult
Class name: PermissionRequestResult
Method or attribute name: permissions: Array;|NA|PermissionRequestResult.d.ts| +|Deleted|Module name: PermissionRequestResult
Class name: PermissionRequestResult
Method or attribute name: authResults: Array;|NA|PermissionRequestResult.d.ts| +|Deleted|Module name: ServiceExtensionContext
Class name: ServiceExtensionContext
Method or attribute name: connectAbility(want: Want, options: ConnectOptions): number;|NA|ServiceExtensionContext.d.ts| +|Deleted|Module name: ServiceExtensionContext
Class name: ServiceExtensionContext
Method or attribute name: connectAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;|NA|ServiceExtensionContext.d.ts| +|Deleted|Module name: ServiceExtensionContext
Class name: ServiceExtensionContext
Method or attribute name: disconnectAbility(connection: number, callback:AsyncCallback): void;|NA|ServiceExtensionContext.d.ts| +|Deleted|Module name: ServiceExtensionContext
Class name: ServiceExtensionContext
Method or attribute name: disconnectAbility(connection: number): Promise;|NA|ServiceExtensionContext.d.ts| +|Deleted|Module name: UIAbilityContext
Class name: UIAbilityContext
Method or attribute name: requestPermissionsFromUser(permissions: Array, requestCallback: AsyncCallback): void;|NA|UIAbilityContext.d.ts| +|Deleted|Module name: UIAbilityContext
Class name: UIAbilityContext
Method or attribute name: requestPermissionsFromUser(permissions: Array): Promise;|NA|UIAbilityContext.d.ts| +|Access level changed|Class name: FormParam
Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"
Access level: public API|Class name: FormParam
Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"
Access level: system API|@ohos.application.formInfo.d.ts| +|Deprecated version changed|Class name: dataUriUtils
Deprecated version: N/A|Class name: dataUriUtils
Deprecated version: 9
Substitute API: @ohos.app.ability.dataUriUtils.d.ts |@ohos.ability.dataUriUtils.d.ts| +|Deprecated version changed|Class name: Context
Method or attribute name: setShowOnLockScreen(show: boolean, callback: AsyncCallback): void
Deprecated version: N/A|Class name: Context
Method or attribute name: setShowOnLockScreen(show: boolean, callback: AsyncCallback): void
Deprecated version: 9
Substitute API: ohos.window|context.d.ts| +|Deprecated version changed|Class name: Context
Method or attribute name: setShowOnLockScreen(show: boolean): Promise;
Deprecated version: N/A|Class name: Context
Method or attribute name: setShowOnLockScreen(show: boolean): Promise;
Deprecated version: 9|context.d.ts| +|Initial version changed|Class name: FormParam
Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"
Initial version: 9|Class name: FormParam
Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"
Initial version: 8|@ohos.application.formInfo.d.ts| +|Permission added|Class name: ServiceExtensionContext
Method or attribute name: startAbilityByCall(want: Want): Promise;
Permission: N/A|Class name: ServiceExtensionContext
Method or attribute name: startAbilityByCall(want: Want): Promise;
Permission: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION|ServiceExtensionContext.d.ts| +|Permission added|Class name: UIAbilityContext
Method or attribute name: startAbilityByCall(want: Want): Promise;
Permission: N/A|Class name: UIAbilityContext
Method or attribute name: startAbilityByCall(want: Want): Promise;
Permission: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION|UIAbilityContext.d.ts| +|Access level changed|Class name: FormParam
Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"
Access level: public API|Class name: FormParam
Method or attribute name: IDENTITY_KEY = "ohos.extra.param.key.form_identity"
Access level: system API|@ohos.application.formInfo.d.ts| +|Function changed|Class name: ServiceExtensionAbility
Method or attribute name: onConnect(want: Want): rpc.RemoteObject;
|Class name: ServiceExtensionAbility
Method or attribute name: onConnect(want: Want): rpc.RemoteObject \| Promise;
|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Function changed|Class name: ServiceExtensionAbility
Method or attribute name: onDisconnect(want: Want): void;
|Class name: ServiceExtensionAbility
Method or attribute name: onDisconnect(want: Want): void \| Promise;
|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Function changed|Class name: UIAbility
Method or attribute name: onDestroy(): void;
|Class name: UIAbility
Method or attribute name: onDestroy(): void \| Promise;
|@ohos.app.ability.UIAbility.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-account.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-account.md new file mode 100644 index 0000000000000000000000000000000000000000..eacf5c6f0aae7f7679f84b6433f40a9033ddf579 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-account.md @@ -0,0 +1,16 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.account.osAccount
Class name: InputerManager|@ohos.account.osAccount.d.ts| +|Added|NA|Module name: ohos.account.osAccount
Class name: InputerManager
Method or attribute name: static registerInputer(authType: AuthType, inputer: IInputer): void;|@ohos.account.osAccount.d.ts| +|Added|NA|Module name: ohos.account.osAccount
Class name: InputerManager
Method or attribute name: static unregisterInputer(authType: AuthType): void;|@ohos.account.osAccount.d.ts| +|Added|NA|Module name: ohos.account.osAccount
Class name: DomainPlugin|@ohos.account.osAccount.d.ts| +|Added|NA|Module name: ohos.account.osAccount
Class name: DomainPlugin
Method or attribute name: auth(domainAccountInfo: DomainAccountInfo, credential: Uint8Array, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts| +|Added|NA|Module name: ohos.account.osAccount
Class name: DomainAccountManager|@ohos.account.osAccount.d.ts| +|Added|NA|Module name: ohos.account.osAccount
Class name: DomainAccountManager
Method or attribute name: static registerPlugin(plugin: DomainPlugin): void;|@ohos.account.osAccount.d.ts| +|Added|NA|Module name: ohos.account.osAccount
Class name: DomainAccountManager
Method or attribute name: static unregisterPlugin(): void;|@ohos.account.osAccount.d.ts| +|Added|NA|Module name: ohos.account.osAccount
Class name: AuthType
Method or attribute name: DOMAIN = 1024|@ohos.account.osAccount.d.ts| +|Added|NA|Module name: ohos.account.osAccount
Class name: AuthSubType
Method or attribute name: DOMAIN_MIXED = 10240001|@ohos.account.osAccount.d.ts| +|Permission deleted|Class name: AppAccountManager
Method or attribute name: getAllAccounts(callback: AsyncCallback>): void;
Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManager
Method or attribute name: getAllAccounts(callback: AsyncCallback>): void;
Permission: N/A|@ohos.account.appAccount.d.ts| +|Permission deleted|Class name: AppAccountManager
Method or attribute name: getAllAccounts(): Promise>;
Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManager
Method or attribute name: getAllAccounts(): Promise>;
Permission: N/A|@ohos.account.appAccount.d.ts| +|Permission deleted|Class name: AppAccountManager
Method or attribute name: getAccountsByOwner(owner: string, callback: AsyncCallback>): void;
Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManager
Method or attribute name: getAccountsByOwner(owner: string, callback: AsyncCallback>): void;
Permission: N/A|@ohos.account.appAccount.d.ts| +|Permission deleted|Class name: AppAccountManager
Method or attribute name: getAccountsByOwner(owner: string): Promise>;
Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManager
Method or attribute name: getAccountsByOwner(owner: string): Promise>;
Permission: N/A|@ohos.account.appAccount.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-application.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-application.md new file mode 100644 index 0000000000000000000000000000000000000000..93b0b017867608b642b5d1a337fdd03a2c09043e --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-application.md @@ -0,0 +1,17 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Model changed|Class name: settings
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback): void;
Model: N/A|Class name: settings
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback): void;
Model: @FAModelOnly|@ohos.settings.d.ts| +|Model changed|Class name: settings
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise;
Model: N/A|Class name: settings
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise;
Model: @FAModelOnly|@ohos.settings.d.ts| +|Model changed|Class name: settings
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback): void;
Model: N/A|Class name: settings
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback): void;
Model: @FAModelOnly|@ohos.settings.d.ts| +|Model changed|Class name: settings
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise;
Model: N/A|Class name: settings
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise;
Model: @FAModelOnly|@ohos.settings.d.ts| +|Model changed|Class name: settings
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
Model: N/A|Class name: settings
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
Model: @FAModelOnly|@ohos.settings.d.ts| +|Model changed|Class name: settings
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Model: N/A|Class name: settings
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Model: @FAModelOnly|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings
Method or attribute name: function getURI(name: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: settings
Method or attribute name: function getURI(name: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: N/A|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings
Method or attribute name: function getURI(name: string): Promise;
Deprecated version: N/A|Class name: settings
Method or attribute name: function getURI(name: string): Promise;
Deprecated version: 9|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: settings
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: N/A|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise;
Deprecated version: N/A|Class name: settings
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise;
Deprecated version: 9|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: settings
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: N/A|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise;
Deprecated version: N/A|Class name: settings
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise;
Deprecated version: 9|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
Deprecated version: N/A|Class name: settings
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
Deprecated version: 9
Substitute API: N/A|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Deprecated version: N/A|Class name: settings
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Deprecated version: 9
Substitute API: N/A|@ohos.settings.d.ts| +|Permission added|Class name: settings
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Permission: N/A|Class name: settings
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Permission: ohos.permission.MANAGE_SECURE_SETTINGS|@ohos.settings.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-arkui.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-arkui.md new file mode 100644 index 0000000000000000000000000000000000000000..f4bd46712d6b11f6600f76837bf771f79c790eb3 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-arkui.md @@ -0,0 +1,169 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.pluginComponent
Class name: PushParameterForStage|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: PushParameterForStage
Method or attribute name: owner: Want;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: PushParameterForStage
Method or attribute name: want: Want;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: PushParameterForStage
Method or attribute name: name: string;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: PushParameterForStage
Method or attribute name: data: KVObject;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: PushParameterForStage
Method or attribute name: extraData: KVObject;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: PushParameterForStage
Method or attribute name: jsonPath?: string;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: RequestParameterForStage|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: RequestParameterForStage
Method or attribute name: owner: Want;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: RequestParameterForStage
Method or attribute name: want: Want;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: RequestParameterForStage
Method or attribute name: name: string;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: RequestParameterForStage
Method or attribute name: data: KVObject;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: RequestParameterForStage
Method or attribute name: jsonPath?: string;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: pluginComponentManager
Method or attribute name: function push(param: PushParameterForStage, callback: AsyncCallback): void;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: ohos.pluginComponent
Class name: pluginComponentManager
Method or attribute name: function request(param: RequestParameterForStage, callback: AsyncCallback): void;|@ohos.pluginComponent.d.ts| +|Added|NA|Module name: common
Class name: SourceTool|common.d.ts| +|Added|NA|Module name: common
Class name: SourceTool
Method or attribute name: Unknown|common.d.ts| +|Added|NA|Module name: common
Class name: SourceTool
Method or attribute name: FINGER|common.d.ts| +|Added|NA|Module name: common
Class name: SourceTool
Method or attribute name: PEN|common.d.ts| +|Added|NA|Module name: common
Class name: BaseEvent
Method or attribute name: pressure: number;|common.d.ts| +|Added|NA|Module name: common
Class name: BaseEvent
Method or attribute name: tiltX: number;|common.d.ts| +|Added|NA|Module name: common
Class name: BaseEvent
Method or attribute name: tiltY: number;|common.d.ts| +|Added|NA|Module name: common
Class name: BaseEvent
Method or attribute name: sourceTool: SourceTool;|common.d.ts| +|Added|NA|Class name: Scroller
Method or attribute name: scrollPage(value: { next: boolean });|scroll.d.ts| +|Added|NA|Module name: swiper
Class name: SwiperAttribute
Method or attribute name: onAnimationStart(event: (index: number) => void): SwiperAttribute;|swiper.d.ts| +|Added|NA|Module name: swiper
Class name: SwiperAttribute
Method or attribute name: onAnimationEnd(event: (index: number) => void): SwiperAttribute;|swiper.d.ts| +|Added|NA|Module name: web
Class name: WebDarkMode|web.d.ts| +|Added|NA|Class name: WebDarkMode
Method or attribute name: |web.d.ts| +|Added|NA|Module name: web
Class name: WebDarkMode
Method or attribute name: Off|web.d.ts| +|Added|NA|Class name: WebDarkMode
Method or attribute name: Off|web.d.ts| +|Added|NA|Module name: web
Class name: WebDarkMode
Method or attribute name: On|web.d.ts| +|Added|NA|Class name: WebDarkMode
Method or attribute name: On|web.d.ts| +|Added|NA|Module name: web
Class name: WebDarkMode
Method or attribute name: Auto|web.d.ts| +|Added|NA|Class name: WebDarkMode
Method or attribute name: Auto|web.d.ts| +|Added|NA|Module name: web
Class name: DataResubmissionHandler|web.d.ts| +|Added|NA|Class name: DataResubmissionHandler
Method or attribute name: |web.d.ts| +|Added|NA|Module name: web
Class name: DataResubmissionHandler
Method or attribute name: resend(): void;|web.d.ts| +|Added|NA|Class name: DataResubmissionHandler
Method or attribute name: resend(): void;|web.d.ts| +|Added|NA|Module name: web
Class name: DataResubmissionHandler
Method or attribute name: cancel(): void;|web.d.ts| +|Added|NA|Class name: DataResubmissionHandler
Method or attribute name: cancel(): void;|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuSourceType|web.d.ts| +|Added|NA|Class name: ContextMenuSourceType
Method or attribute name: |web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuSourceType
Method or attribute name: None|web.d.ts| +|Added|NA|Class name: ContextMenuSourceType
Method or attribute name: None|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuSourceType
Method or attribute name: Mouse|web.d.ts| +|Added|NA|Class name: ContextMenuSourceType
Method or attribute name: Mouse|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuSourceType
Method or attribute name: LongPress|web.d.ts| +|Added|NA|Class name: ContextMenuSourceType
Method or attribute name: LongPress|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuMediaType|web.d.ts| +|Added|NA|Class name: ContextMenuMediaType
Method or attribute name: |web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuMediaType
Method or attribute name: None|web.d.ts| +|Added|NA|Class name: ContextMenuMediaType
Method or attribute name: None|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuMediaType
Method or attribute name: Image|web.d.ts| +|Added|NA|Class name: ContextMenuMediaType
Method or attribute name: Image|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuInputFieldType|web.d.ts| +|Added|NA|Class name: ContextMenuInputFieldType
Method or attribute name: |web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuInputFieldType
Method or attribute name: None|web.d.ts| +|Added|NA|Class name: ContextMenuInputFieldType
Method or attribute name: None|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuInputFieldType
Method or attribute name: PlainText|web.d.ts| +|Added|NA|Class name: ContextMenuInputFieldType
Method or attribute name: PlainText|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuInputFieldType
Method or attribute name: Password|web.d.ts| +|Added|NA|Class name: ContextMenuInputFieldType
Method or attribute name: Password|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuInputFieldType
Method or attribute name: Number|web.d.ts| +|Added|NA|Class name: ContextMenuInputFieldType
Method or attribute name: Number|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuInputFieldType
Method or attribute name: Telephone|web.d.ts| +|Added|NA|Class name: ContextMenuInputFieldType
Method or attribute name: Telephone|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuInputFieldType
Method or attribute name: Other|web.d.ts| +|Added|NA|Class name: ContextMenuInputFieldType
Method or attribute name: Other|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuEditStateFlags|web.d.ts| +|Added|NA|Class name: ContextMenuEditStateFlags
Method or attribute name: |web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuEditStateFlags
Method or attribute name: NONE = 0|web.d.ts| +|Added|NA|Class name: ContextMenuEditStateFlags
Method or attribute name: NONE = 0|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuEditStateFlags
Method or attribute name: CAN_CUT = 1 << 0|web.d.ts| +|Added|NA|Class name: ContextMenuEditStateFlags
Method or attribute name: CAN_CUT = 1 << 0|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuEditStateFlags
Method or attribute name: CAN_COPY = 1 << 1|web.d.ts| +|Added|NA|Class name: ContextMenuEditStateFlags
Method or attribute name: CAN_COPY = 1 << 1|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuEditStateFlags
Method or attribute name: CAN_PASTE = 1 << 2|web.d.ts| +|Added|NA|Class name: ContextMenuEditStateFlags
Method or attribute name: CAN_PASTE = 1 << 2|web.d.ts| +|Added|NA|Module name: web
Class name: ContextMenuEditStateFlags
Method or attribute name: CAN_SELECT_ALL = 1 << 3|web.d.ts| +|Added|NA|Class name: ContextMenuEditStateFlags
Method or attribute name: CAN_SELECT_ALL = 1 << 3|web.d.ts| +|Added|NA|Class name: WebContextMenuParam
Method or attribute name: getUnfilteredLinkUrl(): string;|web.d.ts| +|Added|NA|Class name: WebContextMenuParam
Method or attribute name: getMediaType(): ContextMenuMediaType;|web.d.ts| +|Added|NA|Class name: WebContextMenuParam
Method or attribute name: getSelectionText(): string;|web.d.ts| +|Added|NA|Class name: WebContextMenuParam
Method or attribute name: getSourceType(): ContextMenuSourceType;|web.d.ts| +|Added|NA|Class name: WebContextMenuParam
Method or attribute name: getInputFieldType(): ContextMenuInputFieldType;|web.d.ts| +|Added|NA|Class name: WebContextMenuParam
Method or attribute name: isEditable(): boolean;|web.d.ts| +|Added|NA|Class name: WebContextMenuParam
Method or attribute name: getEditStateFlags(): number;|web.d.ts| +|Added|NA|Module name: web
Class name: WebContextMenuResult
Method or attribute name: copy(): void;|web.d.ts| +|Added|NA|Class name: WebContextMenuResult
Method or attribute name: copy(): void;|web.d.ts| +|Added|NA|Module name: web
Class name: WebContextMenuResult
Method or attribute name: paste(): void;|web.d.ts| +|Added|NA|Class name: WebContextMenuResult
Method or attribute name: paste(): void;|web.d.ts| +|Added|NA|Module name: web
Class name: WebContextMenuResult
Method or attribute name: cut(): void;|web.d.ts| +|Added|NA|Class name: WebContextMenuResult
Method or attribute name: cut(): void;|web.d.ts| +|Added|NA|Module name: web
Class name: WebContextMenuResult
Method or attribute name: selectAll(): void;|web.d.ts| +|Added|NA|Class name: WebContextMenuResult
Method or attribute name: selectAll(): void;|web.d.ts| +|Added|NA|Module name: web
Class name: WebResourceRequest
Method or attribute name: getRequestMethod(): string;|web.d.ts| +|Added|NA|Class name: WebResourceRequest
Method or attribute name: getRequestMethod(): string;|web.d.ts| +|Added|NA|Class name: WebResourceResponse
Method or attribute name: setResponseIsReady(IsReady: boolean);|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: darkMode(mode: WebDarkMode): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: darkMode(mode: WebDarkMode): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: forceDarkAccess(access: boolean): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: forceDarkAccess(access: boolean): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: onInterceptKeyEvent(callback: (event: KeyEvent) => boolean): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: onInterceptKeyEvent(callback: (event: KeyEvent) => boolean): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: webStandardFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: webStandardFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: webSerifFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: webSerifFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: webSansSerifFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: webSansSerifFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: webFixedFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: webFixedFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: webFantasyFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: webFantasyFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: webCursiveFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: webCursiveFont(family: string): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: defaultFixedFontSize(size: number): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: defaultFixedFontSize(size: number): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: defaultFontSize(size: number): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: defaultFontSize(size: number): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: minFontSize(size: number): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: minFontSize(size: number): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: minLogicalFontSize(size: number): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: minLogicalFontSize(size: number): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: blockNetwork(block: boolean): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: blockNetwork(block: boolean): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: horizontalScrollBarAccess(horizontalScrollBar: boolean): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: horizontalScrollBarAccess(horizontalScrollBar: boolean): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: verticalScrollBarAccess(verticalScrollBar: boolean): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: verticalScrollBarAccess(verticalScrollBar: boolean): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: onTouchIconUrlReceived(callback: (event: {url: string,
precomposed: boolean}) => void): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: onTouchIconUrlReceived(callback: (event: {url: string,
precomposed: boolean}) => void): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: onFaviconReceived(callback: (event: {favicon: PixelMap}) => void): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: onFaviconReceived(callback: (event: {favicon: PixelMap}) => void): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: onPageVisible(callback: (event: {url: string}) => void): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: onPageVisible(callback: (event: {url: string}) => void): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: onDataResubmitted(callback: (event: {handler: DataResubmissionHandler}) => void): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: onDataResubmitted(callback: (event: {handler: DataResubmissionHandler}) => void): WebAttribute;|web.d.ts| +|Added|NA|Module name: web
Class name: WebAttribute
Method or attribute name: pinchSmooth(isEnabled: boolean): WebAttribute;|web.d.ts| +|Added|NA|Class name: WebAttribute
Method or attribute name: pinchSmooth(isEnabled: boolean): WebAttribute;|web.d.ts| +|Deleted|Module name: web
Class name: WebContextMenuParam
Method or attribute name: getUnfilterendLinkUrl(): string;|NA|web.d.ts| +|Access level changed|Class name: SubscribedAbstractProperty
Access level: system API|Class name: SubscribedAbstractProperty
Access level: public API|common_ts_ets_api.d.ts| +|Access level changed|Class name: SubscribedAbstractProperty
Method or attribute name: abstract get(): T;
Access level: system API|Class name: SubscribedAbstractProperty
Method or attribute name: abstract get(): T;
Access level: public API|common_ts_ets_api.d.ts| +|Access level changed|Class name: SubscribedAbstractProperty
Method or attribute name: abstract set(newValue: T): void;
Access level: system API|Class name: SubscribedAbstractProperty
Method or attribute name: abstract set(newValue: T): void;
Access level: public API|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: Edge
Method or attribute name: Center
Deprecated version: N/A|Class name: Edge
Method or attribute name: Center
Deprecated version: 9
Substitute API: N/A|enums.d.ts| +|Deprecated version changed|Class name: Edge
Method or attribute name: Baseline
Deprecated version: N/A|Class name: Edge
Method or attribute name: Baseline
Deprecated version: 9
Substitute API: N/A|enums.d.ts| +|Deprecated version changed|Class name: Edge
Method or attribute name: Middle
Deprecated version: N/A|Class name: Edge
Method or attribute name: Middle
Deprecated version: 9
Substitute API: N/A|enums.d.ts| +|Deprecated version changed|Class name: ImageAnimatorAttribute
Method or attribute name: preDecode(value: number): ImageAnimatorAttribute;
Deprecated version: N/A|Class name: ImageAnimatorAttribute
Method or attribute name: preDecode(value: number): ImageAnimatorAttribute;
Deprecated version: 9
Substitute API: N/A|image_animator.d.ts| +|Deprecated version changed|Class name: ListAttribute
Method or attribute name: editMode(value: boolean): ListAttribute;
Deprecated version: N/A|Class name: ListAttribute
Method or attribute name: editMode(value: boolean): ListAttribute;
Deprecated version: 9
Substitute API: N/A|list.d.ts| +|Deprecated version changed|Class name: ListAttribute
Method or attribute name: onItemDelete(event: (index: number) => boolean): ListAttribute;
Deprecated version: N/A|Class name: ListAttribute
Method or attribute name: onItemDelete(event: (index: number) => boolean): ListAttribute;
Deprecated version: 9
Substitute API: N/A|list.d.ts| +|Deprecated version changed|Class name: EditMode
Deprecated version: N/A|Class name: EditMode
Deprecated version: 9
Substitute API: N/A|list_item.d.ts| +|Deprecated version changed|Class name: ListItemAttribute
Method or attribute name: editable(value: boolean \| EditMode): ListItemAttribute;
Deprecated version: N/A|Class name: ListItemAttribute
Method or attribute name: editable(value: boolean \| EditMode): ListItemAttribute;
Deprecated version: 9
Substitute API: N/A|list_item.d.ts| +|Deprecated version changed|Class name: ScrollDirection
Method or attribute name: Free
Deprecated version: N/A|Class name: ScrollDirection
Method or attribute name: Free
Deprecated version: 9
Substitute API: N/A|scroll.d.ts| +|Deprecated version changed|Class name: Scroller
Method or attribute name: scrollPage(value: { next: boolean; direction?: Axis });
Deprecated version: N/A|Class name: Scroller
Method or attribute name: scrollPage(value: { next: boolean; direction?: Axis });
Deprecated version: 9
Substitute API: N/A|scroll.d.ts| +|Deprecated version changed|Class name: SliderAttribute
Method or attribute name: minLabel(value: string): SliderAttribute;
Deprecated version: N/A|Class name: SliderAttribute
Method or attribute name: minLabel(value: string): SliderAttribute;
Deprecated version: 9
Substitute API: min |slider.d.ts| +|Deprecated version changed|Class name: SliderAttribute
Method or attribute name: maxLabel(value: string): SliderAttribute;
Deprecated version: N/A|Class name: SliderAttribute
Method or attribute name: maxLabel(value: string): SliderAttribute;
Deprecated version: 9
Substitute API: max |slider.d.ts| +|Initial version changed|Class name: SubscribedAbstractProperty
Initial version: 7|Class name: SubscribedAbstractProperty
Initial version: 9|common_ts_ets_api.d.ts| +|Initial version changed|Class name: SubscribedAbstractProperty
Method or attribute name: abstract get(): T;
Initial version: 7|Class name: SubscribedAbstractProperty
Method or attribute name: abstract get(): T;
Initial version: 9|common_ts_ets_api.d.ts| +|Initial version changed|Class name: SubscribedAbstractProperty
Method or attribute name: abstract set(newValue: T): void;
Initial version: 7|Class name: SubscribedAbstractProperty
Method or attribute name: abstract set(newValue: T): void;
Initial version: 9|common_ts_ets_api.d.ts| +|Initial version changed|Class name: NavigationAttribute
Method or attribute name: title(value: string \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle): NavigationAttribute;
Initial version: 8|Class name: NavigationAttribute
Method or attribute name: title(value: string \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle): NavigationAttribute;
Initial version: 9|navigation.d.ts| +|Access level changed|Class name: SubscribedAbstractProperty
Access level: system API|Class name: SubscribedAbstractProperty
Access level: public API|common_ts_ets_api.d.ts| +|Access level changed|Class name: SubscribedAbstractProperty
Method or attribute name: abstract get(): T;
Access level: system API|Class name: SubscribedAbstractProperty
Method or attribute name: abstract get(): T;
Access level: public API|common_ts_ets_api.d.ts| +|Access level changed|Class name: SubscribedAbstractProperty
Method or attribute name: abstract set(newValue: T): void;
Access level: system API|Class name: SubscribedAbstractProperty
Method or attribute name: abstract set(newValue: T): void;
Access level: public API|common_ts_ets_api.d.ts| +|Function changed|Class name: AbilityComponentInterface
Method or attribute name: (value: {want: import('../api/@ohos.application.Want').default}): AbilityComponentAttribute;
|Class name: AbilityComponentInterface
Method or attribute name: (value: {want: import('../api/@ohos.app.ability.Want').default}): AbilityComponentAttribute;
|ability_component.d.ts| +|Function changed|Class name: FormComponentInterface
Method or attribute name: (value: {
id: number;
name: string;
bundle: string;
ability: string;
module: string;
dimension?: FormDimension;
temporary?: boolean;
want?: import('../api/@ohos.application.Want').default;
}): FormComponentAttribute;
|Class name: FormComponentInterface
Method or attribute name: (value: {
id: number;
name: string;
bundle: string;
ability: string;
module: string;
dimension?: FormDimension;
temporary?: boolean;
want?: import('../api/@ohos.app.ability.Want').default;
}): FormComponentAttribute;
|form_component.d.ts| +|Function changed|Class name: ControllerHandler
Method or attribute name: setWebController(controller: WebController): void;
|Class name: ControllerHandler
Method or attribute name: setWebController(controller: WebviewController): void;
|web.d.ts| +|Function changed|Class name: WebResourceResponse
Method or attribute name: setResponseData(data: string);
|Class name: WebResourceResponse
Method or attribute name: setResponseData(data: string \| number);
|web.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-battery.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-battery.md new file mode 100644 index 0000000000000000000000000000000000000000..a4a8826ff3e9c8d97a9f4c54a5c06fb210c6c1a7 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-battery.md @@ -0,0 +1,3 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Permission deleted|Class name: power
Method or attribute name: function getPowerMode(): DevicePowerMode;
Permission: ohos.permission.POWER_OPTIMIZATION|Class name: power
Method or attribute name: function getPowerMode(): DevicePowerMode;
Permission: N/A|@ohos.power.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-bundle.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-bundle.md new file mode 100644 index 0000000000000000000000000000000000000000..602350fcc5f0c55762d29668d8d13696add6b9e2 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-bundle.md @@ -0,0 +1,24 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.bundle.distributedBundleManager
Class name: distributedBundleManager|@ohos.bundle.distributedBundleManager.d.ts| +|Added|NA|Module name: ohos.bundle.distributedBundleManager
Class name: distributedBundleManager
Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, callback: AsyncCallback): void;|@ohos.bundle.distributedBundleManager.d.ts| +|Added|NA|Module name: ohos.bundle.distributedBundleManager
Class name: distributedBundleManager
Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName): Promise;|@ohos.bundle.distributedBundleManager.d.ts| +|Added|NA|Module name: ohos.bundle.distributedBundleManager
Class name: distributedBundleManager
Method or attribute name: function getRemoteAbilityInfo(elementNames: Array, callback: AsyncCallback>): void;|@ohos.bundle.distributedBundleManager.d.ts| +|Added|NA|Module name: ohos.bundle.distributedBundleManager
Class name: distributedBundleManager
Method or attribute name: function getRemoteAbilityInfo(elementNames: Array): Promise>;|@ohos.bundle.distributedBundleManager.d.ts| +|Added|NA|Module name: ohos.bundle.distributedBundleManager
Class name: distributedBundleManager
Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, locale: string, callback: AsyncCallback): void;|@ohos.bundle.distributedBundleManager.d.ts| +|Added|NA|Module name: ohos.bundle.distributedBundleManager
Class name: distributedBundleManager
Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, locale: string): Promise;|@ohos.bundle.distributedBundleManager.d.ts| +|Added|NA|Module name: ohos.bundle.distributedBundleManager
Class name: distributedBundleManager
Method or attribute name: function getRemoteAbilityInfo(elementNames: Array, locale: string, callback: AsyncCallback>): void;|@ohos.bundle.distributedBundleManager.d.ts| +|Added|NA|Module name: ohos.bundle.distributedBundleManager
Class name: distributedBundleManager
Method or attribute name: function getRemoteAbilityInfo(elementNames: Array, locale: string): Promise>;|@ohos.bundle.distributedBundleManager.d.ts| +|Added|NA|Class name: BundleInstaller
Method or attribute name: install(hapFilePaths: Array, installParam?: InstallParam) : Promise;|@ohos.bundle.installer.d.ts| +|Added|NA|Class name: BundleInstaller
Method or attribute name: uninstall(bundleName: string, installParam?: InstallParam) : Promise;|@ohos.bundle.installer.d.ts| +|Added|NA|Class name: BundleInstaller
Method or attribute name: recover(bundleName: string, installParam?: InstallParam) : Promise;|@ohos.bundle.installer.d.ts| +|Deleted|Module name: ohos.bundle.distributedBundle
Class name: distributedBundle|NA|@ohos.bundle.distributedBundle.d.ts| +|Deleted|Module name: ohos.bundle.distributedBundle
Class name: distributedBundle
Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, callback: AsyncCallback): void;|NA|@ohos.bundle.distributedBundle.d.ts| +|Deleted|Module name: ohos.bundle.distributedBundle
Class name: distributedBundle
Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName): Promise;|NA|@ohos.bundle.distributedBundle.d.ts| +|Deleted|Module name: ohos.bundle.distributedBundle
Class name: distributedBundle
Method or attribute name: function getRemoteAbilityInfo(elementNames: Array, callback: AsyncCallback>): void;|NA|@ohos.bundle.distributedBundle.d.ts| +|Deleted|Module name: ohos.bundle.distributedBundle
Class name: distributedBundle
Method or attribute name: function getRemoteAbilityInfo(elementNames: Array): Promise>;|NA|@ohos.bundle.distributedBundle.d.ts| +|Deleted|Module name: ohos.bundle.distributedBundle
Class name: distributedBundle
Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, locale: string, callback: AsyncCallback): void;|NA|@ohos.bundle.distributedBundle.d.ts| +|Deleted|Module name: ohos.bundle.distributedBundle
Class name: distributedBundle
Method or attribute name: function getRemoteAbilityInfo(elementName: ElementName, locale: string): Promise;|NA|@ohos.bundle.distributedBundle.d.ts| +|Deleted|Module name: ohos.bundle.distributedBundle
Class name: distributedBundle
Method or attribute name: function getRemoteAbilityInfo(elementNames: Array, locale: string, callback: AsyncCallback>): void;|NA|@ohos.bundle.distributedBundle.d.ts| +|Deleted|Module name: ohos.bundle.distributedBundle
Class name: distributedBundle
Method or attribute name: function getRemoteAbilityInfo(elementNames: Array, locale: string): Promise>;|NA|@ohos.bundle.distributedBundle.d.ts| +|Deleted|Module name: hapModuleInfo
Class name: HapModuleInfo
Method or attribute name: readonly moduleSourceDir: string;|NA|hapModuleInfo.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-communication.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-communication.md new file mode 100644 index 0000000000000000000000000000000000000000..3863f9e4fa73496442ab492d4e044245f2346560 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-communication.md @@ -0,0 +1,131 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: connectedTag
Method or attribute name: function initialize(): void;|@ohos.connectedTag.d.ts| +|Added|NA|Class name: connectedTag
Method or attribute name: function uninitialize(): void;|@ohos.connectedTag.d.ts| +|Added|NA|Class name: connectedTag
Method or attribute name: function read(): Promise;|@ohos.connectedTag.d.ts| +|Added|NA|Class name: connectedTag
Method or attribute name: function read(callback: AsyncCallback): void;|@ohos.connectedTag.d.ts| +|Added|NA|Class name: connectedTag
Method or attribute name: function write(data: number[]): Promise;|@ohos.connectedTag.d.ts| +|Added|NA|Class name: connectedTag
Method or attribute name: function write(data: number[], callback: AsyncCallback): void;|@ohos.connectedTag.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function isSharingSupported(callback: AsyncCallback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function isSharingSupported(): Promise;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function isSharing(callback: AsyncCallback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function isSharing(): Promise;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function startSharing(type: SharingIfaceType, callback: AsyncCallback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function startSharing(type: SharingIfaceType): Promise;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function stopSharing(type: SharingIfaceType, callback: AsyncCallback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getStatsRxBytes(callback: AsyncCallback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getStatsRxBytes(): Promise;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getStatsTxBytes(callback: AsyncCallback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getStatsTxBytes(): Promise;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getStatsTotalBytes(callback: AsyncCallback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getStatsTotalBytes(): Promise;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback>): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise>;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getSharingState(type: SharingIfaceType, callback: AsyncCallback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback>): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise>;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function on(type: 'sharingStateChange', callback: Callback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function off(type: 'sharingStateChange', callback?: Callback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
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
Class name: sharing
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
Class name: sharing
Method or attribute name: function on(type: 'sharingUpstreamChange', callback: Callback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: sharing
Method or attribute name: function off(type: 'sharingUpstreamChange', callback?: Callback): void;|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: SharingIfaceState|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: SharingIfaceState
Method or attribute name: SHARING_NIC_SERVING = 1|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: SharingIfaceState
Method or attribute name: SHARING_NIC_CAN_SERVER = 2|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: SharingIfaceState
Method or attribute name: SHARING_NIC_ERROR = 3|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: SharingIfaceType|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: SharingIfaceType
Method or attribute name: SHARING_WIFI = 0|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: SharingIfaceType
Method or attribute name: SHARING_USB = 1|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.net.sharing
Class name: SharingIfaceType
Method or attribute name: SHARING_BLUETOOTH = 2|@ohos.net.sharing.d.ts| +|Added|NA|Module name: ohos.nfc.cardEmulation
Class name: CardType|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: CardType
Method or attribute name: |@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Module name: ohos.nfc.cardEmulation
Class name: CardType
Method or attribute name: PAYMENT = "payment"|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: CardType
Method or attribute name: PAYMENT = "payment"|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Module name: ohos.nfc.cardEmulation
Class name: CardType
Method or attribute name: OTHER = "other"|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: CardType
Method or attribute name: OTHER = "other"|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: cardEmulation
Method or attribute name: function hasHceCapability(): boolean;|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: cardEmulation
Method or attribute name: function isDefaultService(elementName: ElementName, type: CardType): boolean;|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: HceService
Method or attribute name: start(elementName: ElementName, aidList: string[]): void|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: HceService
Method or attribute name: stop(elementName: ElementName): void|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: HceService
Method or attribute name: transmit(response: number[]): Promise;|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: HceService
Method or attribute name: transmit(response: number[], callback: AsyncCallback): void;|@ohos.nfc.cardEmulation.d.ts| +|Added|NA|Class name: nfcController
Method or attribute name: function enableNfc(): void|@ohos.nfc.controller.d.ts| +|Added|NA|Class name: nfcController
Method or attribute name: function disableNfc(): void|@ohos.nfc.controller.d.ts| +|Added|NA|Class name: tag
Method or attribute name: function getNfcA(tagInfo: TagInfo): NfcATag|@ohos.nfc.tag.d.ts| +|Added|NA|Class name: tag
Method or attribute name: function getNfcB(tagInfo: TagInfo): NfcBTag|@ohos.nfc.tag.d.ts| +|Added|NA|Class name: tag
Method or attribute name: function getNfcF(tagInfo: TagInfo): NfcFTag|@ohos.nfc.tag.d.ts| +|Added|NA|Class name: tag
Method or attribute name: function getNfcV(tagInfo: TagInfo): NfcVTag|@ohos.nfc.tag.d.ts| +|Added|NA|Class name: wifiManager
Method or attribute name: function p2pCancelConnect(): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: TagSession
Method or attribute name: connect(): void;|tagSession.d.ts| +|Added|NA|Class name: TagSession
Method or attribute name: resetConnection(): void;|tagSession.d.ts| +|Added|NA|Class name: TagSession
Method or attribute name: isConnected(): boolean;|tagSession.d.ts| +|Added|NA|Class name: TagSession
Method or attribute name: setTimeout(timeout: number): void;|tagSession.d.ts| +|Added|NA|Class name: TagSession
Method or attribute name: getTimeout(): number;|tagSession.d.ts| +|Added|NA|Class name: TagSession
Method or attribute name: transmit(data: number[]): Promise;|tagSession.d.ts| +|Added|NA|Class name: TagSession
Method or attribute name: transmit(data: number[], callback: AsyncCallback): void;|tagSession.d.ts| +|Added|NA|Class name: TagSession
Method or attribute name: getMaxTransmitSize(): number;|tagSession.d.ts| +|Deleted|Module name: ohos.wifiManager
Class name: wifiManager
Method or attribute name: function p2pDisconnect(): void;|NA|@ohos.wifiManager.d.ts| +|Deprecated version changed|Class name: connectedTag
Method or attribute name: function init(): boolean;
Deprecated version: N/A|Class name: connectedTag
Method or attribute name: function init(): boolean;
Deprecated version: 9
Substitute API: ohos.connectedTag/connectedTag|@ohos.connectedTag.d.ts| +|Deprecated version changed|Class name: connectedTag
Method or attribute name: function uninit(): boolean;
Deprecated version: N/A|Class name: connectedTag
Method or attribute name: function uninit(): boolean;
Deprecated version: 9
Substitute API: ohos.connectedTag/connectedTag|@ohos.connectedTag.d.ts| +|Deprecated version changed|Class name: connectedTag
Method or attribute name: function readNdefTag(): Promise;
Deprecated version: N/A|Class name: connectedTag
Method or attribute name: function readNdefTag(): Promise;
Deprecated version: 9
Substitute API: ohos.connectedTag/connectedTag|@ohos.connectedTag.d.ts| +|Deprecated version changed|Class name: connectedTag
Method or attribute name: function readNdefTag(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: connectedTag
Method or attribute name: function readNdefTag(callback: AsyncCallback): void;
Deprecated version: 9|@ohos.connectedTag.d.ts| +|Deprecated version changed|Class name: connectedTag
Method or attribute name: function writeNdefTag(data: string): Promise;
Deprecated version: N/A|Class name: connectedTag
Method or attribute name: function writeNdefTag(data: string): Promise;
Deprecated version: 9
Substitute API: ohos.connectedTag/connectedTag|@ohos.connectedTag.d.ts| +|Deprecated version changed|Class name: connectedTag
Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: connectedTag
Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.connectedTag.d.ts| +|Deprecated version changed|Class name: FeatureType
Deprecated version: N/A|Class name: FeatureType
Deprecated version: 9
Substitute API: ohos.nfc.cardEmulation/cardEmulation|@ohos.nfc.cardEmulation.d.ts| +|Deprecated version changed|Class name: cardEmulation
Method or attribute name: function isSupported(feature: number): boolean;
Deprecated version: N/A|Class name: cardEmulation
Method or attribute name: function isSupported(feature: number): boolean;
Deprecated version: 9
Substitute API: ohos.nfc.cardEmulation/cardEmulation|@ohos.nfc.cardEmulation.d.ts| +|Deprecated version changed|Class name: HceService
Method or attribute name: startHCE(aidList: string[]): boolean;
Deprecated version: N/A|Class name: HceService
Method or attribute name: startHCE(aidList: string[]): boolean;
Deprecated version: 9
Substitute API: ohos.nfc.cardEmulation/cardEmulation.HceService|@ohos.nfc.cardEmulation.d.ts| +|Deprecated version changed|Class name: HceService
Method or attribute name: stopHCE(): boolean;
Deprecated version: N/A|Class name: HceService
Method or attribute name: stopHCE(): boolean;
Deprecated version: 9
Substitute API: ohos.nfc.cardEmulation/cardEmulation.HceService|@ohos.nfc.cardEmulation.d.ts| +|Deprecated version changed|Class name: HceService
Method or attribute name: sendResponse(responseApdu: number[]): void;
Deprecated version: N/A|Class name: HceService
Method or attribute name: sendResponse(responseApdu: number[]): void;
Deprecated version: 9
Substitute API: ohos.nfc.cardEmulation/cardEmulation.HceService|@ohos.nfc.cardEmulation.d.ts| +|Deprecated version changed|Class name: nfcController
Method or attribute name: function isNfcAvailable(): boolean
Deprecated version: N/A|Class name: nfcController
Method or attribute name: function isNfcAvailable(): boolean
Deprecated version: 9
Substitute API: global|@ohos.nfc.controller.d.ts| +|Deprecated version changed|Class name: nfcController
Method or attribute name: function openNfc(): boolean
Deprecated version: N/A|Class name: nfcController
Method or attribute name: function openNfc(): boolean
Deprecated version: 9
Substitute API: @ohos.nfc.controller.nfcController|@ohos.nfc.controller.d.ts| +|Deprecated version changed|Class name: nfcController
Method or attribute name: function closeNfc(): boolean
Deprecated version: N/A|Class name: nfcController
Method or attribute name: function closeNfc(): boolean
Deprecated version: 9
Substitute API: @ohos.nfc.controller.nfcController|@ohos.nfc.controller.d.ts| +|Deprecated version changed|Class name: tag
Method or attribute name: function getNfcATag(tagInfo: TagInfo): NfcATag
Deprecated version: N/A|Class name: tag
Method or attribute name: function getNfcATag(tagInfo: TagInfo): NfcATag
Deprecated version: 9
Substitute API: ohos.nfc.tag/tag|@ohos.nfc.tag.d.ts| +|Deprecated version changed|Class name: tag
Method or attribute name: function getNfcBTag(tagInfo: TagInfo): NfcBTag
Deprecated version: N/A|Class name: tag
Method or attribute name: function getNfcBTag(tagInfo: TagInfo): NfcBTag
Deprecated version: 9
Substitute API: ohos.nfc.tag/tag|@ohos.nfc.tag.d.ts| +|Deprecated version changed|Class name: tag
Method or attribute name: function getNfcFTag(tagInfo: TagInfo): NfcFTag
Deprecated version: N/A|Class name: tag
Method or attribute name: function getNfcFTag(tagInfo: TagInfo): NfcFTag
Deprecated version: 9
Substitute API: ohos.nfc.tag/tag|@ohos.nfc.tag.d.ts| +|Deprecated version changed|Class name: tag
Method or attribute name: function getNfcVTag(tagInfo: TagInfo): NfcVTag
Deprecated version: N/A|Class name: tag
Method or attribute name: function getNfcVTag(tagInfo: TagInfo): NfcVTag
Deprecated version: 9
Substitute API: ohos.nfc.tag/tag|@ohos.nfc.tag.d.ts| +|Deprecated version changed|Class name: TagSession
Method or attribute name: getTagInfo(): tag.TagInfo;
Deprecated version: N/A|Class name: TagSession
Method or attribute name: getTagInfo(): tag.TagInfo;
Deprecated version: 9
Substitute API: ohos.nfc.tag/tag|tagSession.d.ts| +|Deprecated version changed|Class name: TagSession
Method or attribute name: connectTag(): boolean;
Deprecated version: N/A|Class name: TagSession
Method or attribute name: connectTag(): boolean;
Deprecated version: 9
Substitute API: tagSession.TagSession|tagSession.d.ts| +|Deprecated version changed|Class name: TagSession
Method or attribute name: reset(): void;
Deprecated version: N/A|Class name: TagSession
Method or attribute name: reset(): void;
Deprecated version: 9
Substitute API: tagSession.TagSession|tagSession.d.ts| +|Deprecated version changed|Class name: TagSession
Method or attribute name: isTagConnected(): boolean;
Deprecated version: N/A|Class name: TagSession
Method or attribute name: isTagConnected(): boolean;
Deprecated version: 9
Substitute API: tagSession.TagSession|tagSession.d.ts| +|Deprecated version changed|Class name: TagSession
Method or attribute name: setSendDataTimeout(timeout: number): boolean;
Deprecated version: N/A|Class name: TagSession
Method or attribute name: setSendDataTimeout(timeout: number): boolean;
Deprecated version: 9
Substitute API: tagSession.TagSession|tagSession.d.ts| +|Deprecated version changed|Class name: TagSession
Method or attribute name: getSendDataTimeout(): number;
Deprecated version: N/A|Class name: TagSession
Method or attribute name: getSendDataTimeout(): number;
Deprecated version: 9
Substitute API: tagSession.TagSession|tagSession.d.ts| +|Deprecated version changed|Class name: TagSession
Method or attribute name: sendData(data: number[]): Promise;
Deprecated version: N/A|Class name: TagSession
Method or attribute name: sendData(data: number[]): Promise;
Deprecated version: 9
Substitute API: tagSession.TagSession|tagSession.d.ts| +|Deprecated version changed|Class name: TagSession
Method or attribute name: sendData(data: number[], callback: AsyncCallback): void;
Deprecated version: N/A|Class name: TagSession
Method or attribute name: sendData(data: number[], callback: AsyncCallback): void;
Deprecated version: 9|tagSession.d.ts| +|Deprecated version changed|Class name: TagSession
Method or attribute name: getMaxSendLength(): number;
Deprecated version: N/A|Class name: TagSession
Method or attribute name: getMaxSendLength(): number;
Deprecated version: 9
Substitute API: tagSession.TagSession|tagSession.d.ts| +|Initial version changed|Class name: FeatureType
Initial version: N/A|Class name: FeatureType
Initial version: 6|@ohos.nfc.cardEmulation.d.ts| +|Permission changed|Class name: A2dpSourceProfile
Method or attribute name: connect(device: string): boolean;
Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: A2dpSourceProfile
Method or attribute name: connect(device: string): boolean;
Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts| +|Permission changed|Class name: A2dpSourceProfile
Method or attribute name: disconnect(device: string): boolean;
Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: A2dpSourceProfile
Method or attribute name: disconnect(device: string): boolean;
Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts| +|Permission changed|Class name: HandsFreeAudioGatewayProfile
Method or attribute name: connect(device: string): boolean;
Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: HandsFreeAudioGatewayProfile
Method or attribute name: connect(device: string): boolean;
Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts| +|Permission changed|Class name: HandsFreeAudioGatewayProfile
Method or attribute name: disconnect(device: string): boolean;
Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: HandsFreeAudioGatewayProfile
Method or attribute name: disconnect(device: string): boolean;
Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts| +|Permission changed|Class name: HidHostProfile
Method or attribute name: connect(device: string): boolean;
Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: HidHostProfile
Method or attribute name: connect(device: string): boolean;
Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts| +|Permission changed|Class name: HidHostProfile
Method or attribute name: disconnect(device: string): boolean;
Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: HidHostProfile
Method or attribute name: disconnect(device: string): boolean;
Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts| +|Permission changed|Class name: PanProfile
Method or attribute name: disconnect(device: string): boolean;
Permission: permission ohos.permission.USE_BLUETOOTH|Class name: PanProfile
Method or attribute name: disconnect(device: string): boolean;
Permission: ohos.permission.USE_BLUETOOTH|@ohos.bluetooth.d.ts| +|Permission changed|Class name: PanProfile
Method or attribute name: setTethering(enable: boolean): void;
Permission: permission ohos.permission.DISCOVER_BLUETOOTH|Class name: PanProfile
Method or attribute name: setTethering(enable: boolean): void;
Permission: ohos.permission.DISCOVER_BLUETOOTH|@ohos.bluetooth.d.ts| +|Permission changed|Class name: connectedTag
Method or attribute name: function init(): boolean;
Permission: s ohos.permission.NFC_TAG|Class name: connectedTag
Method or attribute name: function init(): boolean;
Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts| +|Permission changed|Class name: connectedTag
Method or attribute name: function uninit(): boolean;
Permission: s ohos.permission.NFC_TAG|Class name: connectedTag
Method or attribute name: function uninit(): boolean;
Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts| +|Permission changed|Class name: connectedTag
Method or attribute name: function readNdefTag(): Promise;
Permission: s ohos.permission.NFC_TAG|Class name: connectedTag
Method or attribute name: function readNdefTag(): Promise;
Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts| +|Permission changed|Class name: connectedTag
Method or attribute name: function readNdefTag(callback: AsyncCallback): void;
Permission: s ohos.permission.NFC_TAG|Class name: connectedTag
Method or attribute name: function readNdefTag(callback: AsyncCallback): void;
Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts| +|Permission changed|Class name: connectedTag
Method or attribute name: function writeNdefTag(data: string): Promise;
Permission: s ohos.permission.NFC_TAG|Class name: connectedTag
Method or attribute name: function writeNdefTag(data: string): Promise;
Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts| +|Permission changed|Class name: connectedTag
Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback): void;
Permission: s ohos.permission.NFC_TAG|Class name: connectedTag
Method or attribute name: function writeNdefTag(data: string, callback: AsyncCallback): void;
Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts| +|Permission changed|Class name: connectedTag
Method or attribute name: function on(type: "notify", callback: Callback): void;
Permission: s ohos.permission.NFC_TAG|Class name: connectedTag
Method or attribute name: function on(type: "notify", callback: Callback): void;
Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts| +|Permission changed|Class name: connectedTag
Method or attribute name: function off(type: "notify", callback?:Callback): void;
Permission: s ohos.permission.NFC_TAG|Class name: connectedTag
Method or attribute name: function off(type: "notify", callback?:Callback): void;
Permission: ohos.permission.NFC_TAG|@ohos.connectedTag.d.ts| +|Permission deleted|Class name: tag
Method or attribute name: function getNfcATag(tagInfo: TagInfo): NfcATag
Permission: ohos.permission.NFC_TAG|Class name: tag
Method or attribute name: function getNfcATag(tagInfo: TagInfo): NfcATag
Permission: N/A|@ohos.nfc.tag.d.ts| +|Permission deleted|Class name: tag
Method or attribute name: function getNfcBTag(tagInfo: TagInfo): NfcBTag
Permission: ohos.permission.NFC_TAG|Class name: tag
Method or attribute name: function getNfcBTag(tagInfo: TagInfo): NfcBTag
Permission: N/A|@ohos.nfc.tag.d.ts| +|Permission deleted|Class name: tag
Method or attribute name: function getNfcFTag(tagInfo: TagInfo): NfcFTag
Permission: ohos.permission.NFC_TAG|Class name: tag
Method or attribute name: function getNfcFTag(tagInfo: TagInfo): NfcFTag
Permission: N/A|@ohos.nfc.tag.d.ts| +|Permission deleted|Class name: tag
Method or attribute name: function getNfcVTag(tagInfo: TagInfo): NfcVTag
Permission: ohos.permission.NFC_TAG|Class name: tag
Method or attribute name: function getNfcVTag(tagInfo: TagInfo): NfcVTag
Permission: N/A|@ohos.nfc.tag.d.ts| +|Permission deleted|Class name: NfcATag
Method or attribute name: getSak(): number;
Permission: ohos.permission.NFC_TAG|Class name: NfcATag
Method or attribute name: getSak(): number;
Permission: N/A|nfctech.d.ts| +|Permission deleted|Class name: NfcATag
Method or attribute name: getAtqa(): number[];
Permission: ohos.permission.NFC_TAG|Class name: NfcATag
Method or attribute name: getAtqa(): number[];
Permission: N/A|nfctech.d.ts| +|Permission deleted|Class name: NfcBTag
Method or attribute name: getRespAppData(): number[];
Permission: ohos.permission.NFC_TAG|Class name: NfcBTag
Method or attribute name: getRespAppData(): number[];
Permission: N/A|nfctech.d.ts| +|Permission deleted|Class name: NfcBTag
Method or attribute name: getRespProtocol(): number[];
Permission: ohos.permission.NFC_TAG|Class name: NfcBTag
Method or attribute name: getRespProtocol(): number[];
Permission: N/A|nfctech.d.ts| +|Permission deleted|Class name: NfcFTag
Method or attribute name: getSystemCode(): number[];
Permission: ohos.permission.NFC_TAG|Class name: NfcFTag
Method or attribute name: getSystemCode(): number[];
Permission: N/A|nfctech.d.ts| +|Permission deleted|Class name: NfcFTag
Method or attribute name: getPmm(): number[];
Permission: ohos.permission.NFC_TAG|Class name: NfcFTag
Method or attribute name: getPmm(): number[];
Permission: N/A|nfctech.d.ts| +|Permission deleted|Class name: NfcVTag
Method or attribute name: getResponseFlags(): number;
Permission: ohos.permission.NFC_TAG|Class name: NfcVTag
Method or attribute name: getResponseFlags(): number;
Permission: N/A|nfctech.d.ts| +|Permission deleted|Class name: NfcVTag
Method or attribute name: getDsfId(): number;
Permission: ohos.permission.NFC_TAG|Class name: NfcVTag
Method or attribute name: getDsfId(): number;
Permission: N/A|nfctech.d.ts| +|Permission deleted|Class name: TagSession
Method or attribute name: isTagConnected(): boolean;
Permission: ohos.permission.NFC_TAG|Class name: TagSession
Method or attribute name: isTagConnected(): boolean;
Permission: N/A|tagSession.d.ts| +|Permission added|Class name: connection
Method or attribute name: function hasDefaultNet(callback: AsyncCallback): void;
Permission: N/A|Class name: connection
Method or attribute name: function hasDefaultNet(callback: AsyncCallback): void;
Permission: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|Permission added|Class name: connection
Method or attribute name: function hasDefaultNet(): Promise;
Permission: N/A|Class name: connection
Method or attribute name: function hasDefaultNet(): Promise;
Permission: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|Function changed|Class name: wifiManager
Method or attribute name: function disconnect(): boolean;
|Class name: wifiManager
Method or attribute name: function disconnect(): void;
|@ohos.wifiManager.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-compiler-and-runtime.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-compiler-and-runtime.md new file mode 100644 index 0000000000000000000000000000000000000000..7e16ba13415a7d704fa888368748c91a6b455d48 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-compiler-and-runtime.md @@ -0,0 +1,25 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.taskpool
Class name: taskpool|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: Priority|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: Priority
Method or attribute name: HIGH|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: Priority
Method or attribute name: MEDIUM|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: Priority
Method or attribute name: LOW|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: Task|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: Task
Method or attribute name: constructor(func: Function, ...args: unknown[]);|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: Task
Method or attribute name: function: Function;|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: Task
Method or attribute name: arguments?: unknown[];|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: taskpool
Method or attribute name: function execute(func: Function, ...args: unknown[]): Promise;|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: taskpool
Method or attribute name: function execute(task: Task, priority?: Priority): Promise;|@ohos.taskpool.d.ts| +|Added|NA|Module name: ohos.taskpool
Class name: taskpool
Method or attribute name: function cancel(task: Task): void;|@ohos.taskpool.d.ts| +|Added|NA|Class name: URLParams
Method or attribute name: constructor(init?: string[][] \| Record \| string \| URLParams);|@ohos.url.d.ts| +|Added|NA|Class name: URL
Method or attribute name: readonly params: URLParams;|@ohos.url.d.ts| +|Deprecated version changed|Class name: URL
Method or attribute name: readonly searchParams: URLSearchParams;
Deprecated version: N/A|Class name: URL
Method or attribute name: readonly searchParams: URLSearchParams;
Deprecated version: 9
Substitute API: ohos.url.URL.params |@ohos.url.d.ts| +|Deprecated version changed|Class name: worker
Method or attribute name: const parentPort: DedicatedWorkerGlobalScope;
Deprecated version: N/A|Class name: worker
Method or attribute name: const parentPort: DedicatedWorkerGlobalScope;
Deprecated version: 9
Substitute API: ohos.worker.workerPort |@ohos.worker.d.ts| +|Initial version changed|Class name: URL
Method or attribute name: static parseURL(url: string, base?: string \| URL): URL;
Initial version: N/A|Class name: URL
Method or attribute name: static parseURL(url: string, base?: string \| URL): URL;
Initial version: 9|@ohos.url.d.ts| +|Initial version changed|Class name: worker
Method or attribute name: const parentPort: DedicatedWorkerGlobalScope;
Initial version: N/A|Class name: worker
Method or attribute name: const parentPort: DedicatedWorkerGlobalScope;
Initial version: 7|@ohos.worker.d.ts| +|Initial version changed|Class name: worker
Method or attribute name: const workerPort: ThreadWorkerGlobalScope;
Initial version: N/A|Class name: worker
Method or attribute name: const workerPort: ThreadWorkerGlobalScope;
Initial version: 9|@ohos.worker.d.ts| +|Function changed|Class name: DedicatedWorkerGlobalScope
Method or attribute name: onmessage?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;
|Class name: DedicatedWorkerGlobalScope
Method or attribute name: onmessage?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;
|@ohos.worker.d.ts| +|Function changed|Class name: DedicatedWorkerGlobalScope
Method or attribute name: onmessageerror?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;
|Class name: DedicatedWorkerGlobalScope
Method or attribute name: onmessageerror?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;
|@ohos.worker.d.ts| +|Function changed|Class name: Worker
Method or attribute name: onmessage?: (event: MessageEvent) => void;
|Class name: Worker
Method or attribute name: onmessage?: (event: MessageEvent) => void;
|@ohos.worker.d.ts| +|Function changed|Class name: Worker
Method or attribute name: onmessageerror?: (event: MessageEvent) => void;
|Class name: Worker
Method or attribute name: onmessageerror?: (event: MessageEvent) => void;
|@ohos.worker.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-distributed-data.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-distributed-data.md new file mode 100644 index 0000000000000000000000000000000000000000..7cd57e2b19218831d46f924b88c96246d1483fd9 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-distributed-data.md @@ -0,0 +1,309 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: distributedKVStore
Method or attribute name: function createKVManager(config: KVManagerConfig): KVManager;|@ohos.data.distributedKVStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: relationalStore|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: relationalStore
Method or attribute name: type ValuesBucket = { [key:string]: ValueType \| Uint8Array \| null;}|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: relationalStore
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: relationalStore
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: relationalStore
Method or attribute name: function deleteRdbStore(context: Context, name: string, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: relationalStore
Method or attribute name: function deleteRdbStore(context: Context, name: string): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SyncMode|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SyncMode
Method or attribute name: SYNC_MODE_PUSH = 0|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SyncMode
Method or attribute name: SYNC_MODE_PULL = 1|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SubscribeType|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SubscribeType
Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 0|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SecurityLevel|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SecurityLevel
Method or attribute name: S1 = 1|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SecurityLevel
Method or attribute name: S2 = 2|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SecurityLevel
Method or attribute name: S3 = 3|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: SecurityLevel
Method or attribute name: S4 = 4|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: insert(table: string, values: ValuesBucket): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: batchInsert(table: string, values: Array, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: batchInsert(table: string, values: Array): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: delete(predicates: RdbPredicates, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: delete(predicates: RdbPredicates): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: query(predicates: RdbPredicates, columns: Array, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: query(predicates: RdbPredicates, columns ?: Array): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns: Array, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: Array, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: Array): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: querySql(sql: string, bindArgs: Array, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: querySql(sql: string, bindArgs ?: Array): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: executeSql(sql: string, bindArgs: Array, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: executeSql(sql: string, bindArgs ?: Array): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: beginTransaction(): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: commit(): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: rollBack(): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: backup(destName: string, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: backup(destName: string): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: restore(srcName: string, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: restore(srcName: string): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: setDistributedTables(tables: Array, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: setDistributedTables(tables: Array): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback>): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates): Promise>;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback>): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbStore
Method or attribute name: off(event: 'dataChange', type: SubscribeType, observer: Callback>): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: StoreConfig|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: StoreConfig
Method or attribute name: name: string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: StoreConfig
Method or attribute name: securityLevel: SecurityLevel;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: StoreConfig
Method or attribute name: encrypt ?: boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: constructor(name: string)|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: inDevices(devices: Array): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: inAllDevices(): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: equalTo(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: notEqualTo(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: beginWrap(): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: endWrap(): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: or(): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: and(): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: contains(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: beginsWith(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: endsWith(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: isNull(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: isNotNull(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: like(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: glob(field: string, value: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: between(field: string, low: ValueType, high: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: greaterThan(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: lessThan(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: orderByAsc(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: orderByDesc(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: distinct(): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: limitAs(value: number): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: offsetAs(rowOffset: number): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: groupBy(fields: Array): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: indexedBy(field: string): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: in(field: string, value: Array): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: RdbPredicates
Method or attribute name: notIn(field: string, value: Array): RdbPredicates;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: columnNames: Array;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: columnCount: number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: rowCount: number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: rowIndex: number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: isAtFirstRow: boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: isAtLastRow: boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: isEnded: boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: isStarted: boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: isClosed: boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: getColumnIndex(columnName: string): number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: getColumnName(columnIndex: number): string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: goTo(offset: number): boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: goToRow(position: number): boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: goToFirstRow(): boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: goToLastRow(): boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: goToNextRow(): boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: goToPreviousRow(): boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: getBlob(columnIndex: number): Uint8Array;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: getString(columnIndex: number): string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: getLong(columnIndex: number): number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: getDouble(columnIndex: number): number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: isColumnNull(columnIndex: number): boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Module name: ohos.data.relationalStore
Class name: ResultSet
Method or attribute name: close(): void;|@ohos.data.relationalStore.d.ts| +|Model changed|Class name: dataSharePredicates
Model: N/A|Class name: dataSharePredicates
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Model: N/A|Class name: DataSharePredicates
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: notEqualTo(field: string, value: ValueType): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: notEqualTo(field: string, value: ValueType): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: beginWrap(): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: beginWrap(): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: endWrap(): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: endWrap(): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: or(): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: or(): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: and(): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: and(): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: contains(field: string, value: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: contains(field: string, value: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: beginsWith(field: string, value: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: beginsWith(field: string, value: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: endsWith(field: string, value: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: endsWith(field: string, value: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: isNull(field: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: isNull(field: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: isNotNull(field: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: isNotNull(field: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: like(field: string, value: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: like(field: string, value: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: unlike(field: string, value: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: unlike(field: string, value: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: glob(field: string, value: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: glob(field: string, value: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: between(field: string, low: ValueType, high: ValueType): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: between(field: string, low: ValueType, high: ValueType): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: greaterThan(field: string, value: ValueType): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: greaterThan(field: string, value: ValueType): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: lessThan(field: string, value: ValueType): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: lessThan(field: string, value: ValueType): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: orderByAsc(field: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: orderByAsc(field: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: orderByDesc(field: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: orderByDesc(field: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: distinct(): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: distinct(): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: limit(total: number, offset: number): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: limit(total: number, offset: number): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: groupBy(fields: Array): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: groupBy(fields: Array): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: indexedBy(field: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: indexedBy(field: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: in(field: string, value: Array): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: in(field: string, value: Array): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: notIn(field: string, value: Array): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: notIn(field: string, value: Array): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: prefixKey(prefix: string): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: prefixKey(prefix: string): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataSharePredicates
Method or attribute name: inKeys(keys: Array): DataSharePredicates;
Model: N/A|Class name: DataSharePredicates
Method or attribute name: inKeys(keys: Array): DataSharePredicates;
Model: @StageModelOnly|@ohos.data.dataSharePredicates.d.ts| +|Model changed|Class name: DataType
Model: N/A|Class name: DataType
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataType
Method or attribute name: TYPE_NULL = 0
Model: N/A|Class name: DataType
Method or attribute name: TYPE_NULL = 0
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataType
Method or attribute name: TYPE_LONG = 1
Model: N/A|Class name: DataType
Method or attribute name: TYPE_LONG = 1
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataType
Method or attribute name: TYPE_DOUBLE = 2
Model: N/A|Class name: DataType
Method or attribute name: TYPE_DOUBLE = 2
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataType
Method or attribute name: TYPE_STRING = 3
Model: N/A|Class name: DataType
Method or attribute name: TYPE_STRING = 3
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataType
Method or attribute name: TYPE_BLOB = 4
Model: N/A|Class name: DataType
Method or attribute name: TYPE_BLOB = 4
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Model: N/A|Class name: DataShareResultSet
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: columnNames: Array;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: columnNames: Array;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: columnCount: number;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: columnCount: number;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: rowCount: number;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: rowCount: number;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: isClosed: boolean;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: isClosed: boolean;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: goToFirstRow(): boolean;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: goToFirstRow(): boolean;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: goToLastRow(): boolean;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: goToLastRow(): boolean;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: goToNextRow(): boolean;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: goToNextRow(): boolean;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: goToPreviousRow(): boolean;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: goToPreviousRow(): boolean;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: goTo(offset: number): boolean;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: goTo(offset: number): boolean;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: goToRow(position: number): boolean;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: goToRow(position: number): boolean;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: getBlob(columnIndex: number): Uint8Array;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: getBlob(columnIndex: number): Uint8Array;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: getString(columnIndex: number): string;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: getString(columnIndex: number): string;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: getLong(columnIndex: number): number;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: getLong(columnIndex: number): number;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: getDouble(columnIndex: number): number;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: getDouble(columnIndex: number): number;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: close(): void;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: close(): void;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: getColumnIndex(columnName: string): number;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: getColumnIndex(columnName: string): number;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: getColumnName(columnIndex: number): string;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: getColumnName(columnIndex: number): string;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: DataShareResultSet
Method or attribute name: getDataType(columnIndex: number): DataType;
Model: N/A|Class name: DataShareResultSet
Method or attribute name: getDataType(columnIndex: number): DataType;
Model: @StageModelOnly|@ohos.data.DataShareResultSet.d.ts| +|Model changed|Class name: SingleKVStore
Method or attribute name: putBatch(value: Array, callback: AsyncCallback): void;
Model: N/A|Class name: SingleKVStore
Method or attribute name: putBatch(value: Array, callback: AsyncCallback): void;
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Model changed|Class name: SingleKVStore
Method or attribute name: putBatch(value: Array): Promise;
Model: N/A|Class name: SingleKVStore
Method or attribute name: putBatch(value: Array): Promise;
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Model changed|Class name: SingleKVStore
Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback);
Model: N/A|Class name: SingleKVStore
Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback);
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Model changed|Class name: SingleKVStore
Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates): Promise;
Model: N/A|Class name: SingleKVStore
Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates): Promise;
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Model changed|Class name: SingleKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Model: N/A|Class name: SingleKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Model changed|Class name: SingleKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise;
Model: N/A|Class name: SingleKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise;
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Model changed|Class name: DeviceKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Model: N/A|Class name: DeviceKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Model changed|Class name: DeviceKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise;
Model: N/A|Class name: DeviceKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise;
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Model changed|Class name: DeviceKVStore
Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Model: N/A|Class name: DeviceKVStore
Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Model changed|Class name: DeviceKVStore
Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise;
Model: N/A|Class name: DeviceKVStore
Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise;
Model: @StageModelOnly|@ohos.data.distributedKVStore.d.ts| +|Access level changed|Class name: dataSharePredicates
Access level: public API|Class name: dataSharePredicates
Access level: system API|@ohos.data.dataSharePredicates.d.ts| +|Deprecated version changed|Class name: rdb
Method or attribute name: type ValuesBucket = { [key:string]: ValueType \| Uint8Array \| null;
}
Deprecated version: N/A|Class name: rdb
Method or attribute name: type ValuesBucket = { [key:string]: ValueType \| Uint8Array \| null;
}
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ValuesBucket |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: rdb
Method or attribute name: function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: rdb
Method or attribute name: function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.getRdbStore |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: rdb
Method or attribute name: function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number): Promise;
Deprecated version: N/A|Class name: rdb
Method or attribute name: function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number): Promise;
Deprecated version: 9
Substitute API: N/A|@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: rdb
Method or attribute name: function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: rdb
Method or attribute name: function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.getRdbStore |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: rdb
Method or attribute name: function deleteRdbStoreV9(context: Context, name: string): Promise;
Deprecated version: N/A|Class name: rdb
Method or attribute name: function deleteRdbStoreV9(context: Context, name: string): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.getRdbStore |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SyncMode
Deprecated version: N/A|Class name: SyncMode
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SyncMode |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SyncMode
Method or attribute name: SYNC_MODE_PUSH = 0
Deprecated version: N/A|Class name: SyncMode
Method or attribute name: SYNC_MODE_PUSH = 0
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SyncMode.SYNC_MODE_PUSH |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SyncMode
Method or attribute name: SYNC_MODE_PULL = 1
Deprecated version: N/A|Class name: SyncMode
Method or attribute name: SYNC_MODE_PULL = 1
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SyncMode.SYNC_MODE_PULL |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SubscribeType
Deprecated version: N/A|Class name: SubscribeType
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SubscribeType |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SubscribeType
Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 0
Deprecated version: N/A|Class name: SubscribeType
Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 0
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SubscribeType.SUBSCRIBE_TYPE_REMOTE |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SecurityLevel
Deprecated version: N/A|Class name: SecurityLevel
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SecurityLevel |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SecurityLevel
Method or attribute name: S1 = 1
Deprecated version: N/A|Class name: SecurityLevel
Method or attribute name: S1 = 1
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SubscribeType.SecurityLevel.S1 |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SecurityLevel
Method or attribute name: S2 = 2
Deprecated version: N/A|Class name: SecurityLevel
Method or attribute name: S2 = 2
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SubscribeType.SecurityLevel.S2 |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SecurityLevel
Method or attribute name: S3 = 3
Deprecated version: N/A|Class name: SecurityLevel
Method or attribute name: S3 = 3
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SubscribeType.SecurityLevel.S3 |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: SecurityLevel
Method or attribute name: S4 = 4
Deprecated version: N/A|Class name: SecurityLevel
Method or attribute name: S4 = 4
Deprecated version: 9
Substitute API: ohos.data.relationalStore.SubscribeType.SecurityLevel.S4 |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Deprecated version: N/A|Class name: RdbStoreV9
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.insert |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: insert(table: string, values: ValuesBucket): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: insert(table: string, values: ValuesBucket): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.insert |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: batchInsert(table: string, values: Array, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: batchInsert(table: string, values: Array, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.batchInsert |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: batchInsert(table: string, values: Array): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: batchInsert(table: string, values: Array): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.batchInsert |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.update |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.update |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.update |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.update |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: delete(predicates: RdbPredicatesV9, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: delete(predicates: RdbPredicatesV9, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.delete |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: delete(predicates: RdbPredicatesV9): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: delete(predicates: RdbPredicatesV9): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.delete |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.delete |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.delete |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: query(predicates: RdbPredicatesV9, columns: Array, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: query(predicates: RdbPredicatesV9, columns: Array, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.query |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: query(predicates: RdbPredicatesV9, columns ?: Array): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: query(predicates: RdbPredicatesV9, columns ?: Array): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.query |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns: Array, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns: Array, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.query |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.query |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicatesV9, columns: Array, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicatesV9, columns: Array, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.remoteQuery |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicatesV9, columns: Array): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicatesV9, columns: Array): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.remoteQuery |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: querySql(sql: string, bindArgs: Array, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: querySql(sql: string, bindArgs: Array, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.querySql |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: querySql(sql: string, bindArgs ?: Array): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: querySql(sql: string, bindArgs ?: Array): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.querySql |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: executeSql(sql: string, bindArgs: Array, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: executeSql(sql: string, bindArgs: Array, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.executeSql |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: executeSql(sql: string, bindArgs ?: Array): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: executeSql(sql: string, bindArgs ?: Array): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.executeSql |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: beginTransaction(): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: beginTransaction(): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.beginTransaction |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: commit(): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: commit(): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.commit |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: rollBack(): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: rollBack(): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.rollBack |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: backup(destName: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: backup(destName: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.backup |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: backup(destName: string): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: backup(destName: string): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.backup |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: restore(srcName: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: restore(srcName: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.restore |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: restore(srcName: string): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: restore(srcName: string): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.restore |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: setDistributedTables(tables: Array, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: setDistributedTables(tables: Array, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.setDistributedTables |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: setDistributedTables(tables: Array): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: setDistributedTables(tables: Array): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.setDistributedTables |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.obtainDistributedTableName |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.obtainDistributedTableName |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicatesV9, callback: AsyncCallback>): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicatesV9, callback: AsyncCallback>): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.sync |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicatesV9): Promise>;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicatesV9): Promise>;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.sync |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback>): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback>): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.on |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbStoreV9
Method or attribute name: off(event: 'dataChange', type: SubscribeType, observer: Callback>): void;
Deprecated version: N/A|Class name: RdbStoreV9
Method or attribute name: off(event: 'dataChange', type: SubscribeType, observer: Callback>): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbStore.off |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: StoreConfigV9
Deprecated version: N/A|Class name: StoreConfigV9
Deprecated version: 9
Substitute API: ohos.data.relationalStore.StoreConfig |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: StoreConfigV9
Method or attribute name: name: string;
Deprecated version: N/A|Class name: StoreConfigV9
Method or attribute name: name: string;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.StoreConfig.name |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: StoreConfigV9
Method or attribute name: securityLevel: SecurityLevel;
Deprecated version: N/A|Class name: StoreConfigV9
Method or attribute name: securityLevel: SecurityLevel;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.StoreConfig.securityLevel |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: StoreConfigV9
Method or attribute name: encrypt ?: boolean;
Deprecated version: N/A|Class name: StoreConfigV9
Method or attribute name: encrypt ?: boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.StoreConfig.encrypt |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Deprecated version: N/A|Class name: RdbPredicatesV9
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: constructor(name: string)
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: constructor(name: string)
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.constructor |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: inDevices(devices: Array): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: inDevices(devices: Array): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.inDevices |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: inAllDevices(): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: inAllDevices(): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.inAllDevices |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: equalTo(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: equalTo(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.equalTo |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: notEqualTo(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: notEqualTo(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.notEqualTo |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: beginWrap(): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: beginWrap(): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.beginWrap |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: endWrap(): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: endWrap(): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.endWrap |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: or(): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: or(): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.or |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: and(): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: and(): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.and |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: contains(field: string, value: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: contains(field: string, value: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.contains |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: beginsWith(field: string, value: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: beginsWith(field: string, value: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.beginsWith |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: endsWith(field: string, value: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: endsWith(field: string, value: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.endsWith |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: isNull(field: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: isNull(field: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.isNull |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: isNotNull(field: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: isNotNull(field: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.isNotNull |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: like(field: string, value: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: like(field: string, value: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.like |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: glob(field: string, value: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: glob(field: string, value: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.glob |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: between(field: string, low: ValueType, high: ValueType): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: between(field: string, low: ValueType, high: ValueType): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.between |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.notBetween |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: greaterThan(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: greaterThan(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.greaterThan |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: lessThan(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: lessThan(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.lessThan |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.greaterThanOrEqualTo |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.lessThanOrEqualTo |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: orderByAsc(field: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: orderByAsc(field: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.orderByAsc |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: orderByDesc(field: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: orderByDesc(field: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.orderByDesc |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: distinct(): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: distinct(): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.distinct |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: limitAs(value: number): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: limitAs(value: number): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.limitAs |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: offsetAs(rowOffset: number): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: offsetAs(rowOffset: number): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.offsetAs |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: groupBy(fields: Array): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: groupBy(fields: Array): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.groupBy |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: indexedBy(field: string): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: indexedBy(field: string): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.indexedBy |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: in(field: string, value: Array): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: in(field: string, value: Array): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.in |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: RdbPredicatesV9
Method or attribute name: notIn(field: string, value: Array): RdbPredicatesV9;
Deprecated version: N/A|Class name: RdbPredicatesV9
Method or attribute name: notIn(field: string, value: Array): RdbPredicatesV9;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.notIn |@ohos.data.rdb.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Deprecated version: N/A|Class name: ResultSetV9
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: columnNames: Array;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: columnNames: Array;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.columnNames |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: columnCount: number;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: columnCount: number;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.columnCount |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: rowCount: number;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: rowCount: number;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.rowCount |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: rowIndex: number;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: rowIndex: number;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.rowIndex |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: isAtFirstRow: boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: isAtFirstRow: boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isAtFirstRow |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: isAtLastRow: boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: isAtLastRow: boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isAtLastRow |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: isEnded: boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: isEnded: boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isEnded |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: isStarted: boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: isStarted: boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isStarted |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: isClosed: boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: isClosed: boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isClosed |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: getColumnIndex(columnName: string): number;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: getColumnIndex(columnName: string): number;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getColumnIndex |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: getColumnName(columnIndex: number): string;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: getColumnName(columnIndex: number): string;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getColumnName |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: goTo(offset: number): boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: goTo(offset: number): boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goTo |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: goToRow(position: number): boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: goToRow(position: number): boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToRow |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: goToFirstRow(): boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: goToFirstRow(): boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToFirstRow |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: goToLastRow(): boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: goToLastRow(): boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToLastRow |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: goToNextRow(): boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: goToNextRow(): boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToNextRow |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: goToPreviousRow(): boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: goToPreviousRow(): boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToPreviousRow |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: getBlob(columnIndex: number): Uint8Array;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: getBlob(columnIndex: number): Uint8Array;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getBlob |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: getString(columnIndex: number): string;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: getString(columnIndex: number): string;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getString |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: getLong(columnIndex: number): number;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: getLong(columnIndex: number): number;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getLong |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: getDouble(columnIndex: number): number;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: getDouble(columnIndex: number): number;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getDouble |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: isColumnNull(columnIndex: number): boolean;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: isColumnNull(columnIndex: number): boolean;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isColumnNull |resultSet.d.ts| +|Deprecated version changed|Class name: ResultSetV9
Method or attribute name: close(): void;
Deprecated version: N/A|Class name: ResultSetV9
Method or attribute name: close(): void;
Deprecated version: 9
Substitute API: ohos.data.relationalStore.ResultSet.close |resultSet.d.ts| +|Initial version changed|Class name: dataSharePredicates
Initial version: N/A|Class name: dataSharePredicates
Initial version: 9|@ohos.data.dataSharePredicates.d.ts| +|Permission deleted|Class name: SubscribeType
Permission: ohos.permission.DISTRIBUTED_DATASYNC|Class name: SubscribeType
Permission: N/A|@ohos.data.rdb.d.ts| +|Access level changed|Class name: dataSharePredicates
Access level: public API|Class name: dataSharePredicates
Access level: system API|@ohos.data.dataSharePredicates.d.ts| +|Function changed|Class name: DeviceKVStore
Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise;
|Class name: DeviceKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise;
|@ohos.data.distributedKVStore.d.ts| +|Function changed|Class name: DeviceKVStore
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise;
|Class name: DeviceKVStore
Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise;
|@ohos.data.distributedKVStore.d.ts| +|Function changed|Class name: RdbStoreV9
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise;
|Class name: RdbStoreV9
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9): Promise;
|@ohos.data.rdb.d.ts| +|Function changed|Class name: RdbStoreV9
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicatesV9): Promise;
|Class name: RdbStoreV9
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise;
|@ohos.data.rdb.d.ts| +|Function changed|Class name: RdbStoreV9
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise;
|Class name: RdbStoreV9
Method or attribute name: delete(predicates: RdbPredicatesV9): Promise;
|@ohos.data.rdb.d.ts| +|Function changed|Class name: RdbStoreV9
Method or attribute name: delete(predicates: RdbPredicatesV9): Promise;
|Class name: RdbStoreV9
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise;
|@ohos.data.rdb.d.ts| +|Function changed|Class name: RdbStoreV9
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array): Promise;
|Class name: RdbStoreV9
Method or attribute name: query(predicates: RdbPredicatesV9, columns ?: Array): Promise;
|@ohos.data.rdb.d.ts| +|Function changed|Class name: RdbStoreV9
Method or attribute name: query(predicates: RdbPredicatesV9, columns ?: Array): Promise;
|Class name: RdbStoreV9
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array): Promise;
|@ohos.data.rdb.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-file-management.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-file-management.md new file mode 100644 index 0000000000000000000000000000000000000000..47ba2652d265c1129aecd471f74b6c1fb41405fe --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-file-management.md @@ -0,0 +1,323 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.file.environment
Class name: Environment|@ohos.file.environment.d.ts| +|Added|NA|Module name: ohos.file.environment
Class name: Environment
Method or attribute name: function getStorageDataDir(): Promise;|@ohos.file.environment.d.ts| +|Added|NA|Module name: ohos.file.environment
Class name: Environment
Method or attribute name: function getStorageDataDir(callback: AsyncCallback): void;|@ohos.file.environment.d.ts| +|Added|NA|Module name: ohos.file.environment
Class name: Environment
Method or attribute name: function getUserDataDir(): Promise;|@ohos.file.environment.d.ts| +|Added|NA|Module name: ohos.file.environment
Class name: Environment
Method or attribute name: function getUserDataDir(callback: AsyncCallback): void;|@ohos.file.environment.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: fileAccess|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: fileAccess
Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback>): void;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: fileAccess
Method or attribute name: function getFileAccessAbilityInfo(): Promise>;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: fileAccess
Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: fileAccess
Method or attribute name: function createFileAccessHelper(context: Context, wants: Array): FileAccessHelper;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileInfo|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileInfo
Method or attribute name: uri: string;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileInfo
Method or attribute name: fileName: string;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileInfo
Method or attribute name: mode: number;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileInfo
Method or attribute name: size: number;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileInfo
Method or attribute name: mtime: number;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileInfo
Method or attribute name: mimeType: string;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileInfo
Method or attribute name: listFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileInfo
Method or attribute name: scanFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileIterator|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileIterator
Method or attribute name: next(): {value: FileInfo, done: boolean}|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: RootInfo|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: RootInfo
Method or attribute name: deviceType: number;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: RootInfo
Method or attribute name: uri: string;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: RootInfo
Method or attribute name: displayName: string;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: RootInfo
Method or attribute name: deviceFlags: number;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: RootInfo
Method or attribute name: listFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: RootInfo
Method or attribute name: scanFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: RootIterator|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: RootIterator
Method or attribute name: next(): {value: RootInfo, done: boolean}|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: OPENFLAGS|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: OPENFLAGS
Method or attribute name: READ = 0o0|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: OPENFLAGS
Method or attribute name: WRITE = 0o1|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: OPENFLAGS
Method or attribute name: WRITE_READ = 0o2|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback) : void;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: createFile(uri: string, displayName: string) : Promise;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback) : void;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback) : void;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: delete(uri: string) : Promise;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: delete(uri: string, callback: AsyncCallback) : void;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: move(sourceFile: string, destFile: string) : Promise;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback) : void;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: rename(uri: string, displayName: string) : Promise;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback) : void;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: access(sourceFileUri: string) : Promise;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback) : void;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: getRoots(): Promise;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: getRoots(callback:AsyncCallback) : void;|@ohos.file.fileAccess.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: fileExtensionInfo|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceType|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_LOCAL_DISK = 1|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_SHARED_DISK|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_SHARED_TERMINAL|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_EXTERNAL_MTP|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_EXTERNAL_USB|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_EXTERNAL_CLOUD|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceFlag|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceFlag
Method or attribute name: const SUPPORTS_READ = 0b1;|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DeviceFlag
Method or attribute name: const SUPPORTS_WRITE = 0b10;|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DocumentFlag|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const REPRESENTS_FILE = 0b1;|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const REPRESENTS_DIR = 0b10;|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const SUPPORTS_READ = 0b100;|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const SUPPORTS_WRITE = 0b1000;|@ohos.file.fileExtensionInfo.d.ts| +|Added|NA|Module name: ohos.file.fileuri
Class name: fileUri|@ohos.file.fileuri.d.ts| +|Added|NA|Module name: ohos.file.fileuri
Class name: fileUri
Method or attribute name: function getUriFromPath(path: string): string;|@ohos.file.fileuri.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function access(path: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function access(path: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function accessSync(path: string): boolean;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function close(file: number \| File): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function close(file: number \| File, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function closeSync(fd: number \| File): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
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
Method or attribute name: function createStream(path: string, mode: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function createStreamSync(path: string, mode: string): Stream;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function fdatasync(fd: number): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function fdatasyncSync(fd: number): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function fdopenStream(fd: number, mode: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function fsync(fd: number): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function fsync(fd: number, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function fsyncSync(fd: number): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function lstat(path: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function lstat(path: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function lstatSync(path: string): Stat;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function mkdir(path: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function mkdir(path: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function mkdirSync(path: string): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function mkdtemp(prefix: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function mkdtempSync(prefix: string): string;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function readText(filePath: string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function readText(filePath: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function readText(filePath: string, options: {
offset?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function readTextSync(filePath: string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): string;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function rename(oldPath: string, newPath: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function renameSync(oldPath: string, newPath: string): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function rmdir(path: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function rmdir(path: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function rmdirSync(path: string): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function symlink(target: string, srcPath: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function symlinkSync(target: string, srcPath: string): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function unlink(path: string): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function unlink(path: string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: fileIo
Method or attribute name: function unlinkSync(path: string): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stat
Method or attribute name: readonly ino: bigint;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: |@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: close(): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: close(): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: close(callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: close(callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: closeSync(): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: closeSync(): void;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: flush(): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: flush(): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: flush(callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: flush(callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: flushSync(): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: flushSync(): void;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: write(buffer: ArrayBuffer \| string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: write(buffer: ArrayBuffer \| string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: write(buffer: ArrayBuffer \| string, options: {
offset?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: write(buffer: ArrayBuffer \| string, options: {
offset?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: writeSync(buffer: ArrayBuffer \| string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): number;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: writeSync(buffer: ArrayBuffer \| string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): number;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
}): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
}): Promise;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, options: {
offset?: number;
length?: number;
}, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, options: {
offset?: number;
length?: number;
}, callback: AsyncCallback): void;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.fs
Class name: Stream
Method or attribute name: readSync(buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
}): number;|@ohos.file.fs.d.ts| +|Added|NA|Class name: Stream
Method or attribute name: readSync(buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
}): number;|@ohos.file.fs.d.ts| +|Added|NA|Module name: ohos.file.hash
Class name: Hash|@ohos.file.hash.d.ts| +|Added|NA|Module name: ohos.file.hash
Class name: Hash
Method or attribute name: function hash(path: string, algorithm: string): Promise;|@ohos.file.hash.d.ts| +|Added|NA|Module name: ohos.file.hash
Class name: Hash
Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback): void;|@ohos.file.hash.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: securityLabel|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: securityLabel
Method or attribute name: function setSecurityLabel(path: string, type: dataLevel): Promise;|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: securityLabel
Method or attribute name: function setSecurityLabel(path: string, type: dataLevel, callback: AsyncCallback): void;|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: securityLabel
Method or attribute name: function setSecurityLabelSync(path: string, type: dataLevel): void;|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: securityLabel
Method or attribute name: function getSecurityLabel(path: string): Promise;|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: securityLabel
Method or attribute name: function getSecurityLabel(path: string, callback: AsyncCallback): void;|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.securityLabel
Class name: securityLabel
Method or attribute name: function getSecurityLabelSync(path: string): string;|@ohos.file.securityLabel.d.ts| +|Added|NA|Module name: ohos.file.statvfs
Class name: Statfs|@ohos.file.statvfs.d.ts| +|Added|NA|Module name: ohos.file.statvfs
Class name: Statfs
Method or attribute name: function getFreeSize(path: string): Promise;|@ohos.file.statvfs.d.ts| +|Added|NA|Module name: ohos.file.statvfs
Class name: Statfs
Method or attribute name: function getFreeSize(path: string, callback: AsyncCallback): void;|@ohos.file.statvfs.d.ts| +|Added|NA|Module name: ohos.file.statvfs
Class name: Statfs
Method or attribute name: function getTotalSize(path: string): Promise;|@ohos.file.statvfs.d.ts| +|Added|NA|Module name: ohos.file.statvfs
Class name: Statfs
Method or attribute name: function getTotalSize(path: string, callback: AsyncCallback): void;|@ohos.file.statvfs.d.ts| +|Added|NA|Module name: ohos.fileshare
Class name: fileShare|@ohos.fileshare.d.ts| +|Added|NA|Module name: ohos.fileshare
Class name: fileShare
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags, callback: AsyncCallback): void;|@ohos.fileshare.d.ts| +|Added|NA|Module name: ohos.fileshare
Class name: fileShare
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise;|@ohos.fileshare.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: fileAccess|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: fileAccess
Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback>): void;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: fileAccess
Method or attribute name: function getFileAccessAbilityInfo(): Promise>;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: fileAccess
Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: fileAccess
Method or attribute name: function createFileAccessHelper(context: Context, wants: Array): FileAccessHelper;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileInfo|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: uri: string;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: fileName: string;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: mode: number;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: size: number;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: mtime: number;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: mimeType: string;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: listFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: scanFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileIterator|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileIterator
Method or attribute name: next(): {value: FileInfo, done: boolean}|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: RootInfo|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: deviceType: number;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: uri: string;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: displayName: string;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: deviceFlags: number;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: listFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: scanFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: RootIterator|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: RootIterator
Method or attribute name: next(): {value: RootInfo, done: boolean}|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: OPENFLAGS|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: OPENFLAGS
Method or attribute name: READ = 0o0|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: OPENFLAGS
Method or attribute name: WRITE = 0o1|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: OPENFLAGS
Method or attribute name: WRITE_READ = 0o2|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback) : void;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: createFile(uri: string, displayName: string) : Promise;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback) : void;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback) : void;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: delete(uri: string) : Promise;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: delete(uri: string, callback: AsyncCallback) : void;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: move(sourceFile: string, destFile: string) : Promise;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback) : void;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: rename(uri: string, displayName: string) : Promise;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback) : void;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: access(sourceFileUri: string) : Promise;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback) : void;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: getRoots(): Promise;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: getRoots(callback:AsyncCallback) : void;|NA|@ohos.data.fileAccess.d.ts| +|Deleted|Module name: ohos.environment
Class name: Environment|NA|@ohos.environment.d.ts| +|Deleted|Module name: ohos.environment
Class name: Environment
Method or attribute name: function getStorageDataDir(callback: AsyncCallback): void;|NA|@ohos.environment.d.ts| +|Deleted|Module name: ohos.environment
Class name: Environment
Method or attribute name: function getStorageDataDir(): Promise;|NA|@ohos.environment.d.ts| +|Deleted|Module name: ohos.environment
Class name: Environment
Method or attribute name: function getUserDataDir(callback: AsyncCallback): void;|NA|@ohos.environment.d.ts| +|Deleted|Module name: ohos.environment
Class name: Environment
Method or attribute name: function getUserDataDir(): Promise;|NA|@ohos.environment.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: fileExtensionInfo|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceType|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_LOCAL_DISK = 1|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_SHARED_DISK|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_SHARED_TERMINAL|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_EXTERNAL_MTP|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_EXTERNAL_USB|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_EXTERNAL_CLOUD|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceFlag|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceFlag
Method or attribute name: const SUPPORTS_READ = 0b1;|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DeviceFlag
Method or attribute name: const SUPPORTS_WRITE = 0b10;|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DocumentFlag|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const REPRESENTS_FILE = 0b1;|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const REPRESENTS_DIR = 0b10;|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const SUPPORTS_READ = 0b100;|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const SUPPORTS_WRITE = 0b1000;|NA|@ohos.fileExtensionInfo.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: securityLabel|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function setSecurityLabel(path:string, type:dataLevel, callback: AsyncCallback): void;|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function setSecurityLabel(path:string, type:dataLevel): Promise;|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function setSecurityLabelSync(path:string, type:dataLevel): void;|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function getSecurityLabel(path:string, callback: AsyncCallback): void;|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function getSecurityLabel(path:string): Promise;|NA|@ohos.securityLabel.d.ts| +|Deleted|Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function getSecurityLabelSync(path:string): string;|NA|@ohos.securityLabel.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function access(path: string, mode?: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function access(path: string, mode?: number): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.access |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function access(path: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function access(path: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function accessSync(path: string, mode?: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function accessSync(path: string, mode?: number): void;
Deprecated version: 9
Substitute API: ohos.file.fs.accessSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function close(fd: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function close(fd: number): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.close |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function close(fd: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function close(fd: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function closeSync(fd: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function closeSync(fd: number): void;
Deprecated version: 9
Substitute API: ohos.file.fs.closeSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.copyFile |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;
Deprecated version: 9
Substitute API: ohos.file.fs.copyFileSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function createStream(path: string, mode: string): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function createStream(path: string, mode: string): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.createStream |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function createStreamSync(path: string, mode: string): Stream;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function createStreamSync(path: string, mode: string): Stream;
Deprecated version: 9
Substitute API: ohos.file.fs.createStreamSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function chown(path: string, uid: number, gid: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function chown(path: string, uid: number, gid: number): Promise;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function chown(path: string, uid: number, gid: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function chown(path: string, uid: number, gid: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function chownSync(path: string, uid: number, gid: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function chownSync(path: string, uid: number, gid: number): void;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function chmod(path: string, mode: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function chmod(path: string, mode: number): Promise;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function chmod(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function chmod(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function chmodSync(path: string, mode: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function chmodSync(path: string, mode: number): void;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fsync(fd: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fsync(fd: number): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.fsync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fsync(fd: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fsync(fd: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fsyncSync(fd: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fsyncSync(fd: number): void;
Deprecated version: 9
Substitute API: ohos.file.fs.fsyncSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fdatasync(fd: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fdatasync(fd: number): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.fdatasync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fdatasyncSync(fd: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fdatasyncSync(fd: number): void;
Deprecated version: 9
Substitute API: ohos.file.fs.fdatasyncSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fchown(fd: number, uid: number, gid: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fchown(fd: number, uid: number, gid: number): Promise;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fchownSync(fd: number, uid: number, gid: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fchownSync(fd: number, uid: number, gid: number): void;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fchmod(fd: number, mode: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fchmod(fd: number, mode: number): Promise;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fchmod(fd: number, mode: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fchmod(fd: number, mode: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fchmodSync(fd: number, mode: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fchmodSync(fd: number, mode: number): void;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fdopenStream(fd: number, mode: string): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fdopenStream(fd: number, mode: string): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.fdopenStream |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;
Deprecated version: 9
Substitute API: ohos.file.fs.fdopenStreamSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function hash(path: string, algorithm: string): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function hash(path: string, algorithm: string): Promise;
Deprecated version: 9
Substitute API: ohos.file.hash.hash |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function lchown(path: string, uid: number, gid: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function lchown(path: string, uid: number, gid: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function lchownSync(path: string, uid: number, gid: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function lchownSync(path: string, uid: number, gid: number): void;
Deprecated version: 9
Substitute API: N/A|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function lstat(path: string): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function lstat(path: string): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.lstat |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function lstat(path: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function lstat(path: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function lstatSync(path: string): Stat;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function lstatSync(path: string): Stat;
Deprecated version: 9
Substitute API: ohos.file.fs.lstatSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function mkdir(path: string, mode?: number): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function mkdir(path: string, mode?: number): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.mkdir |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function mkdir(path: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function mkdir(path: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function mkdirSync(path: string, mode?: number): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function mkdirSync(path: string, mode?: number): void;
Deprecated version: 9
Substitute API: ohos.file.fs.mkdirSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function mkdtemp(prefix: string): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function mkdtemp(prefix: string): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.mkdtemp |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function mkdtempSync(prefix: string): string;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function mkdtempSync(prefix: string): string;
Deprecated version: 9
Substitute API: ohos.file.fs.mkdtempSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function readText(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function readText(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.readText |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function readText(filePath: string, options: {
position?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function readText(filePath: string, options: {
position?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function readTextSync(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): string;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function readTextSync(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): string;
Deprecated version: 9
Substitute API: ohos.file.fs.readTextSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function rename(oldPath: string, newPath: string): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function rename(oldPath: string, newPath: string): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.rename |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function renameSync(oldPath: string, newPath: string): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function renameSync(oldPath: string, newPath: string): void;
Deprecated version: 9
Substitute API: ohos.file.fs.renameSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function rmdir(path: string): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function rmdir(path: string): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.rmdir |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function rmdir(path: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function rmdir(path: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function rmdirSync(path: string): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function rmdirSync(path: string): void;
Deprecated version: 9
Substitute API: ohos.file.fs.rmdirSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function symlink(target: string, srcPath: string): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function symlink(target: string, srcPath: string): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.symlink |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function symlinkSync(target: string, srcPath: string): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function symlinkSync(target: string, srcPath: string): void;
Deprecated version: 9
Substitute API: ohos.file.fs.symlinkSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function unlink(path: string): Promise;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function unlink(path: string): Promise;
Deprecated version: 9
Substitute API: ohos.file.fs.unlink |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function unlink(path: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function unlink(path: string, callback: AsyncCallback): void;
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: fileIO
Method or attribute name: function unlinkSync(path: string): void;
Deprecated version: N/A|Class name: fileIO
Method or attribute name: function unlinkSync(path: string): void;
Deprecated version: 9
Substitute API: ohos.file.fs.unlinkSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Stream
Deprecated version: N/A|Class name: Stream
Deprecated version: 9
Substitute API: ohos.file.fs.Stream |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Statfs
Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: Statfs
Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.file.statvfs.getFreeSize |@ohos.statfs.d.ts| +|Deprecated version changed|Class name: Statfs
Method or attribute name: function getFreeBytes(path: string): Promise;
Deprecated version: N/A|Class name: Statfs
Method or attribute name: function getFreeBytes(path: string): Promise;
Deprecated version: 9|@ohos.statfs.d.ts| +|Deprecated version changed|Class name: Statfs
Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: Statfs
Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.file.statvfs.getTotalSize |@ohos.statfs.d.ts| +|Deprecated version changed|Class name: Statfs
Method or attribute name: function getTotalBytes(path: string): Promise;
Deprecated version: N/A|Class name: Statfs
Method or attribute name: function getTotalBytes(path: string): Promise;
Deprecated version: 9|@ohos.statfs.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-geolocation.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-geolocation.md new file mode 100644 index 0000000000000000000000000000000000000000..50bd238bbe205fde2b696e8615328b91d89cde4a --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-geolocation.md @@ -0,0 +1,185 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'locationChange', callback?: Callback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'locationEnabledChange', callback: Callback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'locationEnabledChange', callback?: Callback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'cachedGnssLocationsChange', request: CachedGnssLocationsRequest, callback: Callback>): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'cachedGnssLocationsChange', callback?: Callback>): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'satelliteStatusChange', callback: Callback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'satelliteStatusChange', callback?: Callback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'nmeaMessage', callback: Callback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'nmeaMessage', callback?: Callback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function off(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCurrentLocation(callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getLastLocation(): Location;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function isLocationEnabled(): boolean;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function disableLocation(): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback>): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise>;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback>): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise>;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function isGeocoderAvailable(): boolean;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function getCachedGnssLocationsSize(): Promise;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function flushCachedGnssLocations(): Promise;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function sendCommand(command: LocationCommand): Promise;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function enableLocationMock(): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function disableLocationMock(): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function setMockedLocations(config: LocationMockConfig): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function enableReverseGeocodingMock(): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function disableReverseGeocodingMock(): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function setReverseGeocodingMockInfo(mockInfos: Array): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager
Method or attribute name: function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void;|@ohos.geoLocationManager.d.ts| +|Deleted|Module name: ohos.geolocation
Class name: geolocation
Method or attribute name: function enableLocation(callback: AsyncCallback): void;|NA|@ohos.geolocation.d.ts| +|Deleted|Module name: ohos.geolocation
Class name: geolocation
Method or attribute name: function enableLocation(): Promise;|NA|@ohos.geolocation.d.ts| +|Deleted|Module name: ohos.geolocation
Class name: geolocation
Method or attribute name: function disableLocation(callback: AsyncCallback): void;|NA|@ohos.geolocation.d.ts| +|Deleted|Module name: ohos.geolocation
Class name: geolocation
Method or attribute name: function disableLocation(): Promise;|NA|@ohos.geolocation.d.ts| +|Deleted|Module name: ohos.geoLocationManager
Class name: GeofenceRequest
Method or attribute name: priority: LocationRequestPriority;|NA|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Access level: public API|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Access level: public API|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Access level: public API|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Access level: public API|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: GeoAddress
Method or attribute name: isFromMock?: Boolean;
Access level: public API|Class name: GeoAddress
Method or attribute name: isFromMock?: Boolean;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: Location
Method or attribute name: isFromMock?: Boolean;
Access level: public API|Class name: Location
Method or attribute name: isFromMock?: Boolean;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationPrivacyType
Access level: public API|Class name: LocationPrivacyType
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Access level: system API|@ohos.geoLocationManager.d.ts| +|Deprecated version changed|Class name: geolocation
Deprecated version: N/A|Class name: geolocation
Deprecated version: 9
Substitute API: N/A|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'locationChange', request: LocationRequest, callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'locationChange', callback?: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'locationChange', callback?: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'locationServiceState', callback: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'locationServiceState', callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'locationServiceState', callback?: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'locationServiceState', callback?: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback>): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback>): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'cachedGnssLocationsReporting', callback?: Callback>): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'cachedGnssLocationsReporting', callback?: Callback>): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'gnssStatusChange', callback: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'gnssStatusChange', callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'gnssStatusChange', callback?: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'gnssStatusChange', callback?: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'nmeaMessageChange', callback: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'nmeaMessageChange', callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'nmeaMessageChange', callback?: Callback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'nmeaMessageChange', callback?: Callback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getCurrentLocation |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCurrentLocation(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCurrentLocation(callback: AsyncCallback): void;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCurrentLocation(request?: CurrentLocationRequest): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getLastLocation(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getLastLocation(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getLastLocation |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getLastLocation(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getLastLocation(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function isLocationEnabled(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function isLocationEnabled(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.isLocationEnabled |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function isLocationEnabled(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function isLocationEnabled(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function requestEnableLocation(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function requestEnableLocation(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: N/A|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function requestEnableLocation(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function requestEnableLocation(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback>): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback>): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocation |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise>;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise>;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback>): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback>): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getAddressesFromLocationName |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise>;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getAddressesFromLocationName(request: GeoCodeRequest): Promise>;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function isGeoServiceAvailable(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function isGeoServiceAvailable(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.isGeocoderAvailable |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function isGeoServiceAvailable(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function isGeoServiceAvailable(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCachedGnssLocationsSize(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getCachedGnssLocationsSize |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function getCachedGnssLocationsSize(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function getCachedGnssLocationsSize(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function flushCachedGnssLocations(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.flushCachedGnssLocations |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function flushCachedGnssLocations(): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function flushCachedGnssLocations(): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function sendCommand(command: LocationCommand, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.sendCommand |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: geolocation
Method or attribute name: function sendCommand(command: LocationCommand): Promise;
Deprecated version: N/A|Class name: geolocation
Method or attribute name: function sendCommand(command: LocationCommand): Promise;
Deprecated version: 9|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: SatelliteStatusInfo
Deprecated version: N/A|Class name: SatelliteStatusInfo
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.SatelliteStatusInfo |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: CachedGnssLocationsRequest
Deprecated version: N/A|Class name: CachedGnssLocationsRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CachedGnssLocationsRequest |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: GeofenceRequest
Deprecated version: N/A|Class name: GeofenceRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeofenceRequest |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: Geofence
Deprecated version: N/A|Class name: Geofence
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Geofence |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: ReverseGeoCodeRequest
Deprecated version: N/A|Class name: ReverseGeoCodeRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.ReverseGeoCodeRequest |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: GeoCodeRequest
Deprecated version: N/A|Class name: GeoCodeRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoCodeRequest |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: GeoAddress
Deprecated version: N/A|Class name: GeoAddress
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.GeoAddress |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: LocationRequest
Deprecated version: N/A|Class name: LocationRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: CurrentLocationRequest
Deprecated version: N/A|Class name: CurrentLocationRequest
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: Location
Deprecated version: N/A|Class name: Location
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: LocationRequestPriority
Deprecated version: N/A|Class name: LocationRequestPriority
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestPriority |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: LocationRequestScenario
Deprecated version: N/A|Class name: LocationRequestScenario
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequestScenario |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: GeoLocationErrorCode
Deprecated version: N/A|Class name: GeoLocationErrorCode
Deprecated version: 9
Substitute API: N/A|@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: LocationPrivacyType
Deprecated version: N/A|Class name: LocationPrivacyType
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationPrivacyType |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: LocationCommand
Deprecated version: N/A|Class name: LocationCommand
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationCommand |@ohos.geolocation.d.ts| +|Deprecated version changed|Class name: GeolocationResponse
Deprecated version: N/A|Class name: GeolocationResponse
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.Location |@system.geolocation.d.ts| +|Deprecated version changed|Class name: GetLocationOption
Deprecated version: N/A|Class name: GetLocationOption
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest |@system.geolocation.d.ts| +|Deprecated version changed|Class name: GetLocationTypeResponse
Deprecated version: N/A|Class name: GetLocationTypeResponse
Deprecated version: 9
Substitute API: N/A|@system.geolocation.d.ts| +|Deprecated version changed|Class name: GetLocationTypeOption
Deprecated version: N/A|Class name: GetLocationTypeOption
Deprecated version: 9
Substitute API: N/A|@system.geolocation.d.ts| +|Deprecated version changed|Class name: SubscribeLocationOption
Deprecated version: N/A|Class name: SubscribeLocationOption
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.LocationRequest |@system.geolocation.d.ts| +|Deprecated version changed|Class name: Geolocation
Deprecated version: N/A|Class name: Geolocation
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager |@system.geolocation.d.ts| +|Deprecated version changed|Class name: Geolocation
Method or attribute name: static getLocation(options?: GetLocationOption): void;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static getLocation(options?: GetLocationOption): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.getCurrentLocation |@system.geolocation.d.ts| +|Deprecated version changed|Class name: Geolocation
Method or attribute name: static getLocationType(options?: GetLocationTypeOption): void;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static getLocationType(options?: GetLocationTypeOption): void;
Deprecated version: 9
Substitute API: N/A|@system.geolocation.d.ts| +|Deprecated version changed|Class name: Geolocation
Method or attribute name: static subscribe(options: SubscribeLocationOption): void;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static subscribe(options: SubscribeLocationOption): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.on|@system.geolocation.d.ts| +|Deprecated version changed|Class name: Geolocation
Method or attribute name: static unsubscribe(): void;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static unsubscribe(): void;
Deprecated version: 9
Substitute API: ohos.geoLocationManager/geoLocationManager.off|@system.geolocation.d.ts| +|Deprecated version changed|Class name: Geolocation
Method or attribute name: static getSupportedCoordTypes(): Array;
Deprecated version: N/A|Class name: Geolocation
Method or attribute name: static getSupportedCoordTypes(): Array;
Deprecated version: 9
Substitute API: N/A|@system.geolocation.d.ts| +|Initial version changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Initial version: N/A|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Initial version: N/A|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Initial version: N/A|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Initial version: N/A|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: satellitesNumber: number;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: satellitesNumber: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: satelliteIds: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: satelliteIds: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: carrierToNoiseDensitys: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: carrierToNoiseDensitys: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: altitudes: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: altitudes: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: azimuths: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: azimuths: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: SatelliteStatusInfo
Method or attribute name: carrierFrequencies: Array;
Initial version: N/A|Class name: SatelliteStatusInfo
Method or attribute name: carrierFrequencies: Array;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CachedGnssLocationsRequest
Method or attribute name: reportingPeriodSec: number;
Initial version: N/A|Class name: CachedGnssLocationsRequest
Method or attribute name: reportingPeriodSec: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CachedGnssLocationsRequest
Method or attribute name: wakeUpCacheQueueFull: boolean;
Initial version: N/A|Class name: CachedGnssLocationsRequest
Method or attribute name: wakeUpCacheQueueFull: boolean;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: GeofenceRequest
Method or attribute name: scenario: LocationRequestScenario;
Initial version: N/A|Class name: GeofenceRequest
Method or attribute name: scenario: LocationRequestScenario;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: GeofenceRequest
Method or attribute name: geofence: Geofence;
Initial version: N/A|Class name: GeofenceRequest
Method or attribute name: geofence: Geofence;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: Geofence
Method or attribute name: latitude: number;
Initial version: N/A|Class name: Geofence
Method or attribute name: latitude: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: Geofence
Method or attribute name: longitude: number;
Initial version: N/A|Class name: Geofence
Method or attribute name: longitude: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: Geofence
Method or attribute name: radius: number;
Initial version: N/A|Class name: Geofence
Method or attribute name: radius: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: Geofence
Method or attribute name: expiration: number;
Initial version: N/A|Class name: Geofence
Method or attribute name: expiration: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: ReverseGeoCodeRequest
Method or attribute name: locale?: string;
Initial version: N/A|Class name: ReverseGeoCodeRequest
Method or attribute name: locale?: string;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: ReverseGeoCodeRequest
Method or attribute name: latitude: number;
Initial version: N/A|Class name: ReverseGeoCodeRequest
Method or attribute name: latitude: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: ReverseGeoCodeRequest
Method or attribute name: longitude: number;
Initial version: N/A|Class name: ReverseGeoCodeRequest
Method or attribute name: longitude: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: ReverseGeoCodeRequest
Method or attribute name: maxItems?: number;
Initial version: N/A|Class name: ReverseGeoCodeRequest
Method or attribute name: maxItems?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: locale?: string;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: locale?: string;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: description: string;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: description: string;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: maxItems?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: maxItems?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: minLatitude?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: minLatitude?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: minLongitude?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: minLongitude?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: maxLatitude?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: maxLatitude?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: GeoCodeRequest
Method or attribute name: maxLongitude?: number;
Initial version: N/A|Class name: GeoCodeRequest
Method or attribute name: maxLongitude?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequest
Method or attribute name: priority?: LocationRequestPriority;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: priority?: LocationRequestPriority;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequest
Method or attribute name: scenario?: LocationRequestScenario;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: scenario?: LocationRequestScenario;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequest
Method or attribute name: timeInterval?: number;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: timeInterval?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequest
Method or attribute name: distanceInterval?: number;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: distanceInterval?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequest
Method or attribute name: maxAccuracy?: number;
Initial version: N/A|Class name: LocationRequest
Method or attribute name: maxAccuracy?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CurrentLocationRequest
Method or attribute name: priority?: LocationRequestPriority;
Initial version: N/A|Class name: CurrentLocationRequest
Method or attribute name: priority?: LocationRequestPriority;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CurrentLocationRequest
Method or attribute name: scenario?: LocationRequestScenario;
Initial version: N/A|Class name: CurrentLocationRequest
Method or attribute name: scenario?: LocationRequestScenario;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CurrentLocationRequest
Method or attribute name: maxAccuracy?: number;
Initial version: N/A|Class name: CurrentLocationRequest
Method or attribute name: maxAccuracy?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CurrentLocationRequest
Method or attribute name: timeoutMs?: number;
Initial version: N/A|Class name: CurrentLocationRequest
Method or attribute name: timeoutMs?: number;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestPriority
Method or attribute name: UNSET = 0x200
Initial version: N/A|Class name: LocationRequestPriority
Method or attribute name: UNSET = 0x200
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestPriority
Method or attribute name: ACCURACY
Initial version: N/A|Class name: LocationRequestPriority
Method or attribute name: ACCURACY
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestPriority
Method or attribute name: LOW_POWER
Initial version: N/A|Class name: LocationRequestPriority
Method or attribute name: LOW_POWER
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestPriority
Method or attribute name: FIRST_FIX
Initial version: N/A|Class name: LocationRequestPriority
Method or attribute name: FIRST_FIX
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: UNSET = 0x300
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: UNSET = 0x300
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: NAVIGATION
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: NAVIGATION
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: TRAJECTORY_TRACKING
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: TRAJECTORY_TRACKING
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: CAR_HAILING
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: CAR_HAILING
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: DAILY_LIFE_SERVICE
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: DAILY_LIFE_SERVICE
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationRequestScenario
Method or attribute name: NO_POWER
Initial version: N/A|Class name: LocationRequestScenario
Method or attribute name: NO_POWER
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Initial version: N/A|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Initial version: N/A|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Initial version: N/A|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationCommand
Method or attribute name: scenario: LocationRequestScenario;
Initial version: N/A|Class name: LocationCommand
Method or attribute name: scenario: LocationRequestScenario;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: LocationCommand
Method or attribute name: command: string;
Initial version: N/A|Class name: LocationCommand
Method or attribute name: command: string;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CountryCode
Method or attribute name: country: string;
Initial version: N/A|Class name: CountryCode
Method or attribute name: country: string;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CountryCode
Method or attribute name: type: CountryCodeType;
Initial version: N/A|Class name: CountryCode
Method or attribute name: type: CountryCodeType;
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_LOCALE = 1
Initial version: N/A|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_LOCALE = 1
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_SIM
Initial version: N/A|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_SIM
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_LOCATION
Initial version: N/A|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_LOCATION
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Initial version changed|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_NETWORK
Initial version: N/A|Class name: CountryCodeType
Method or attribute name: COUNTRY_CODE_FROM_NETWORK
Initial version: 9|@ohos.geoLocationManager.d.ts| +|Error code added|NA|Class name: geoLocationManager
Method or attribute name: function enableLocation(): Promise;
Error code: 201,202,801,3301000|@ohos.geoLocationManager.d.ts| +|Error code added|NA|Class name: geoLocationManager
Method or attribute name: function getCountryCode(): Promise;
Error code: 801,3301000,3301500|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Access level: public API|Class name: ReverseGeocodingMockInfo
Method or attribute name: location: ReverseGeoCodeRequest;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Access level: public API|Class name: ReverseGeocodingMockInfo
Method or attribute name: geoAddress: GeoAddress;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Access level: public API|Class name: LocationMockConfig
Method or attribute name: timeInterval: number;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Access level: public API|Class name: LocationMockConfig
Method or attribute name: locations: Array;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: GeoAddress
Method or attribute name: isFromMock?: Boolean;
Access level: public API|Class name: GeoAddress
Method or attribute name: isFromMock?: Boolean;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: Location
Method or attribute name: isFromMock?: Boolean;
Access level: public API|Class name: Location
Method or attribute name: isFromMock?: Boolean;
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationPrivacyType
Access level: public API|Class name: LocationPrivacyType
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: OTHERS = 0
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: STARTUP
Access level: system API|@ohos.geoLocationManager.d.ts| +|Access level changed|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Access level: public API|Class name: LocationPrivacyType
Method or attribute name: CORE_LOCATION
Access level: system API|@ohos.geoLocationManager.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-global.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-global.md new file mode 100644 index 0000000000000000000000000000000000000000..83202e125ed29d9617b9c0c6110d35683e176891 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-global.md @@ -0,0 +1,36 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.resourceManager
Class name: AsyncCallback|@ohos.resourceManager.d.ts| +|Added|NA|Class name: AsyncCallback
Method or attribute name: |@ohos.resourceManager.d.ts| +|Added|NA|Module name: ohos.resourceManager
Class name: AsyncCallback
Method or attribute name: (err: Error, data: T): void;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: AsyncCallback
Method or attribute name: (err: Error, data: T): void;|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringValue(resource: Resource, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getStringValue(resource: Resource, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringValue(resId: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getStringValue(resource: Resource, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringArrayValue(resource: Resource, callback: AsyncCallback>): void;
|Class name: ResourceManager
Method or attribute name: getStringArrayValue(resource: Resource, callback: _AsyncCallback>): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringArrayValue(resId: number, callback: AsyncCallback>): void;
|Class name: ResourceManager
Method or attribute name: getStringArrayValue(resource: Resource, callback: _AsyncCallback>): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaContent(resource: Resource, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaContent(resource: Resource, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaContent(resId: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaContent(resource: Resource, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaContentBase64(resource: Resource, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaContentBase64(resource: Resource, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaContentBase64(resId: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaContentBase64(resource: Resource, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getDeviceCapability(callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getDeviceCapability(callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getConfiguration(callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getConfiguration(callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getPluralStringValue(resource: Resource, num: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getPluralStringValue(resource: Resource, num: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getPluralStringValue(resId: number, num: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getPluralStringValue(resource: Resource, num: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringByName(resName: string, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getStringByName(resName: string, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringArrayByName(resName: string, callback: AsyncCallback>): void;
|Class name: ResourceManager
Method or attribute name: getStringArrayByName(resName: string, callback: _AsyncCallback>): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaByName(resName: string, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaByName(resName: string, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaBase64ByName(resName: string, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaBase64ByName(resName: string, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getPluralStringByName(resName: string, num: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getPluralStringByName(resName: string, num: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringValue(resource: Resource, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getStringValue(resId: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringValue(resId: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getStringValue(resId: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringArrayValue(resource: Resource, callback: AsyncCallback>): void;
|Class name: ResourceManager
Method or attribute name: getStringArrayValue(resId: number, callback: _AsyncCallback>): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getStringArrayValue(resId: number, callback: AsyncCallback>): void;
|Class name: ResourceManager
Method or attribute name: getStringArrayValue(resId: number, callback: _AsyncCallback>): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getPluralStringValue(resource: Resource, num: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getPluralStringValue(resId: number, num: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getPluralStringValue(resId: number, num: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getPluralStringValue(resId: number, num: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaContent(resource: Resource, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaContent(resId: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaContent(resId: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaContent(resId: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaContentBase64(resource: Resource, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaContentBase64(resId: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getMediaContentBase64(resId: number, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getMediaContentBase64(resId: number, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getRawFileContent(path: string, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getRawFileContent(path: string, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: getRawFd(path: string, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: getRawFd(path: string, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| +|Function changed|Class name: ResourceManager
Method or attribute name: closeRawFd(path: string, callback: AsyncCallback): void;
|Class name: ResourceManager
Method or attribute name: closeRawFd(path: string, callback: _AsyncCallback): void;
|@ohos.resourceManager.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-misc.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-misc.md new file mode 100644 index 0000000000000000000000000000000000000000..38efc9449b101e3928f0654adfa119d8cb9969cc --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-misc.md @@ -0,0 +1,458 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: const MAX_TYPE_NUM: number|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function getInputMethodSetting(): InputMethodSetting;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function getInputMethodController(): InputMethodController;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function getSetting(): InputMethodSetting;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function getController(): InputMethodController;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function switchInputMethod(target: InputMethodProperty, callback: AsyncCallback): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function switchInputMethod(target: InputMethodProperty): Promise;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function getCurrentInputMethod(): InputMethodProperty;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallback): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function getCurrentInputMethodSubtype(): InputMethodSubtype;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype, callback: AsyncCallback): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: inputMethod
Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype): Promise;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: on(type: 'imeChange', callback: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: off(type: 'imeChange', callback?: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty, callback: AsyncCallback>): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise>;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: listCurrentInputMethodSubtype(callback: AsyncCallback>): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: listCurrentInputMethodSubtype(): Promise>;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: getInputMethods(enable: boolean, callback: AsyncCallback>): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: getInputMethods(enable: boolean): Promise>;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: listInputMethod(callback: AsyncCallback>): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: listInputMethod(): Promise>;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: showOptionalInputMethods(callback: AsyncCallback): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: showOptionalInputMethods(): Promise;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: displayOptionalInputMethod(callback: AsyncCallback): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodSetting
Method or attribute name: displayOptionalInputMethod(): Promise;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodController|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodController
Method or attribute name: stopInputSession(callback: AsyncCallback): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodController
Method or attribute name: stopInputSession(): Promise;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodController
Method or attribute name: stopInput(callback: AsyncCallback): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodController
Method or attribute name: stopInput(): Promise;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodController
Method or attribute name: showSoftKeyboard(callback: AsyncCallback): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodController
Method or attribute name: showSoftKeyboard():Promise;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodController
Method or attribute name: hideSoftKeyboard(callback: AsyncCallback): void;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodController
Method or attribute name: hideSoftKeyboard():Promise;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodProperty|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodProperty
Method or attribute name: readonly packageName: string;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodProperty
Method or attribute name: readonly methodId: string;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodProperty
Method or attribute name: readonly name: string;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodProperty
Method or attribute name: readonly id: string;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodProperty
Method or attribute name: readonly label?: string;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodProperty
Method or attribute name: readonly icon?: string;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodProperty
Method or attribute name: readonly iconId?: number;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethod
Class name: InputMethodProperty
Method or attribute name: extra: object;|@ohos.inputMethod.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_UNSPECIFIED: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_GO: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_SEARCH: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_SEND: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_NEXT: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_DONE: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_PREVIOUS: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_NULL: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_TEXT: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_NUMBER: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_PHONE: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_DATETIME: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_EMAIL: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_URI: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_PASSWORD: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const FLAG_SELECTING: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const FLAG_SINGLE_LINE: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const DISPLAY_MODE_PART: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const DISPLAY_MODE_FULL: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const OPTION_ASCII: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const OPTION_NONE: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const OPTION_AUTO_CAP_CHARACTERS: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const OPTION_AUTO_CAP_SENTENCES: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const OPTION_AUTO_WORDS: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const OPTION_MULTI_LINE: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const OPTION_NO_FULLSCREEN: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const CURSOR_UP: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const CURSOR_DOWN: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const CURSOR_LEFT: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const CURSOR_RIGHT: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: const WINDOW_TYPE_INPUT_METHOD_FLOAT: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: function getInputMethodAbility(): InputMethodAbility;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: function getInputMethodEngine(): InputMethodEngine;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: function getKeyboardDelegate(): KeyboardDelegate;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: inputMethodEngine
Method or attribute name: function createKeyboardDelegate(): KeyboardDelegate;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardController|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardController
Method or attribute name: hide(callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardController
Method or attribute name: hide(): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardController
Method or attribute name: hideKeyboard(callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardController
Method or attribute name: hideKeyboard(): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodEngine|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodEngine
Method or attribute name: on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodEngine
Method or attribute name: off(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodEngine
Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodEngine
Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodEngine
Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodEngine
Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: on(type: 'inputStart', callback: (kbController: KeyboardController, inputClient: InputClient) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: off(type: 'inputStart', callback?: (kbController: KeyboardController, inputClient: InputClient) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: on(type: 'inputStop', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: off(type: 'inputStop', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: on(type: 'setCallingWindow', callback: (wid:number) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: off(type: 'setCallingWindow', callback: (wid:number) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: on(type: 'setSubtype', callback: (inputMethodSubtype: InputMethodSubtype) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputMethodAbility
Method or attribute name: off(type: 'setSubtype', callback?: (inputMethodSubtype: InputMethodSubtype) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: sendKeyFunction(action: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: deleteForward(length: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: deleteForward(length: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: deleteBackward(length: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: deleteBackward(length: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: insertText(text: string, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: insertText(text: string): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: getForward(length: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: getForward(length: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: getBackward(length: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: getBackward(length: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: getEditorAttribute(callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: TextInputClient
Method or attribute name: getEditorAttribute(): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: sendKeyFunction(action: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: deleteForward(length: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: deleteForward(length: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: deleteBackward(length: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: deleteBackward(length: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: insertText(text: string, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: insertText(text: string): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: getForward(length: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: getForward(length: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: getBackward(length: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: getBackward(length: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: getEditorAttribute(callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: getEditorAttribute(): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: moveCursor(direction: number, callback: AsyncCallback): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: InputClient
Method or attribute name: moveCursor(direction: number): Promise;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardDelegate|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardDelegate
Method or attribute name: on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardDelegate
Method or attribute name: on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardDelegate
Method or attribute name: off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardDelegate
Method or attribute name: off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardDelegate
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
Class name: KeyboardDelegate
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
Class name: KeyboardDelegate
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
Class name: KeyboardDelegate
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
Class name: KeyboardDelegate
Method or attribute name: on(type: 'textChange', callback: (text: string) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyboardDelegate
Method or attribute name: off(type: 'textChange', callback?: (text: string) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: EditorAttribute|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: EditorAttribute
Method or attribute name: readonly inputPattern: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: EditorAttribute
Method or attribute name: readonly enterKeyType: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyEvent|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyEvent
Method or attribute name: readonly keyCode: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.inputMethodEngine
Class name: KeyEvent
Method or attribute name: readonly keyAction: number;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Module name: ohos.InputMethodExtensionAbility
Class name: InputMethodExtensionAbility|@ohos.InputMethodExtensionAbility.d.ts| +|Added|NA|Module name: ohos.InputMethodExtensionAbility
Class name: InputMethodExtensionAbility
Method or attribute name: context: InputMethodExtensionContext;|@ohos.InputMethodExtensionAbility.d.ts| +|Added|NA|Module name: ohos.InputMethodExtensionAbility
Class name: InputMethodExtensionAbility
Method or attribute name: onCreate(want: Want): void;|@ohos.InputMethodExtensionAbility.d.ts| +|Added|NA|Module name: ohos.InputMethodExtensionAbility
Class name: InputMethodExtensionAbility
Method or attribute name: onDestroy(): void;|@ohos.InputMethodExtensionAbility.d.ts| +|Added|NA|Module name: ohos.InputMethodExtensionContext
Class name: InputMethodExtensionContext|@ohos.InputMethodExtensionContext.d.ts| +|Added|NA|Module name: ohos.InputMethodExtensionContext
Class name: InputMethodExtensionContext
Method or attribute name: destroy(callback: AsyncCallback): void;|@ohos.InputMethodExtensionContext.d.ts| +|Added|NA|Module name: ohos.InputMethodExtensionContext
Class name: InputMethodExtensionContext
Method or attribute name: destroy(): Promise;|@ohos.InputMethodExtensionContext.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly label?: string;|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly name: string;|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly id: string;|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly mode?: 'upper'\|'lower';|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly locale: string;|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly language: string;|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly icon?: string;|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly iconId?: number;|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.InputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: extra: object;|@ohos.InputMethodSubtype.d.ts| +|Added|NA|Module name: ohos.request
Class name: request
Method or attribute name: const PAUSED_BY_USER: number;|@ohos.request.d.ts| +|Added|NA|Class name: request
Method or attribute name: const PAUSED_BY_USER: number;|@ohos.request.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function setTime(time : number, callback : AsyncCallback) : void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function setTime(time : number) : Promise;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getCurrentTime(isNano: boolean, callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getCurrentTime(callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getRealActiveTime(isNano: boolean, callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getRealActiveTime(callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getRealTime(isNano: boolean, callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getRealTime(callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getRealTime(isNano?: boolean): Promise;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function setDate(date: Date, callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function setDate(date: Date): Promise;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getDate(callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getDate(): Promise;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function setTimezone(timezone: string): Promise;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getTimezone(callback: AsyncCallback): void;|@ohos.systemDateTime.d.ts| +|Added|NA|Module name: ohos.systemDateTime
Class name: systemDateTime
Method or attribute name: function getTimezone(): Promise;|@ohos.systemDateTime.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: const MAX_TYPE_NUM: number|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function getInputMethodSetting(): InputMethodSetting;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function getInputMethodController(): InputMethodController;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function getSetting(): InputMethodSetting;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function getController(): InputMethodController;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function switchInputMethod(target: InputMethodProperty, callback: AsyncCallback): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function switchInputMethod(target: InputMethodProperty): Promise;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function getCurrentInputMethod(): InputMethodProperty;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallback): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function getCurrentInputMethodSubtype(): InputMethodSubtype;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype, callback: AsyncCallback): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype): Promise;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: on(type: 'imeChange', callback: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: off(type: 'imeChange', callback?: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty, callback: AsyncCallback>): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise>;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: listCurrentInputMethodSubtype(callback: AsyncCallback>): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: listCurrentInputMethodSubtype(): Promise>;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: getInputMethods(enable: boolean, callback: AsyncCallback>): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: getInputMethods(enable: boolean): Promise>;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: listInputMethod(callback: AsyncCallback>): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: listInputMethod(): Promise>;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: showOptionalInputMethods(callback: AsyncCallback): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: showOptionalInputMethods(): Promise;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: displayOptionalInputMethod(callback: AsyncCallback): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodSetting
Method or attribute name: displayOptionalInputMethod(): Promise;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodController|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodController
Method or attribute name: stopInputSession(callback: AsyncCallback): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodController
Method or attribute name: stopInputSession(): Promise;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodController
Method or attribute name: stopInput(callback: AsyncCallback): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodController
Method or attribute name: stopInput(): Promise;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodController
Method or attribute name: showSoftKeyboard(callback: AsyncCallback): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodController
Method or attribute name: showSoftKeyboard():Promise;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodController
Method or attribute name: hideSoftKeyboard(callback: AsyncCallback): void;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodController
Method or attribute name: hideSoftKeyboard():Promise;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodProperty|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodProperty
Method or attribute name: readonly packageName: string;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodProperty
Method or attribute name: readonly methodId: string;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodProperty
Method or attribute name: readonly name: string;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodProperty
Method or attribute name: readonly id: string;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodProperty
Method or attribute name: readonly label?: string;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodProperty
Method or attribute name: readonly icon?: string;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodProperty
Method or attribute name: readonly iconId?: number;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: InputMethodProperty
Method or attribute name: extra: object;|NA|@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_UNSPECIFIED: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_GO: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_SEARCH: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_SEND: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_NEXT: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_DONE: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const ENTER_KEY_TYPE_PREVIOUS: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_NULL: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_TEXT: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_NUMBER: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_PHONE: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_DATETIME: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_EMAIL: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_URI: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const PATTERN_PASSWORD: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const FLAG_SELECTING: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const FLAG_SINGLE_LINE: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const DISPLAY_MODE_PART: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const DISPLAY_MODE_FULL: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const OPTION_ASCII: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const OPTION_NONE: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const OPTION_AUTO_CAP_CHARACTERS: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const OPTION_AUTO_CAP_SENTENCES: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const OPTION_AUTO_WORDS: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const OPTION_MULTI_LINE: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const OPTION_NO_FULLSCREEN: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const CURSOR_UP: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const CURSOR_DOWN: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const CURSOR_LEFT: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const CURSOR_RIGHT: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: const WINDOW_TYPE_INPUT_METHOD_FLOAT: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: function getInputMethodAbility(): InputMethodAbility;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: function getInputMethodEngine(): InputMethodEngine;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: function getKeyboardDelegate(): KeyboardDelegate;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: inputMethodEngine
Method or attribute name: function createKeyboardDelegate(): KeyboardDelegate;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardController|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardController
Method or attribute name: hide(callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardController
Method or attribute name: hide(): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardController
Method or attribute name: hideKeyboard(callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardController
Method or attribute name: hideKeyboard(): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodEngine|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodEngine
Method or attribute name: on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodEngine
Method or attribute name: off(type: 'inputStart', callback?: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodEngine
Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodEngine
Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodEngine
Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodEngine
Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: on(type: 'inputStart', callback: (kbController: KeyboardController, inputClient: InputClient) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: off(type: 'inputStart', callback?: (kbController: KeyboardController, inputClient: InputClient) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: on(type: 'inputStop', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: off(type: 'inputStop', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: on(type: 'setCallingWindow', callback: (wid:number) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: off(type: 'setCallingWindow', callback: (wid:number) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: on(type: 'keyboardShow'\|'keyboardHide', callback: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: off(type: 'keyboardShow'\|'keyboardHide', callback?: () => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: on(type: 'setSubtype', callback: (inputMethodSubtype: InputMethodSubtype) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: off(type: 'setSubtype', callback?: (inputMethodSubtype: InputMethodSubtype) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: sendKeyFunction(action: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: deleteForward(length: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: deleteForward(length: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: deleteBackward(length: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: deleteBackward(length: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: insertText(text: string, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: insertText(text: string): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: getForward(length: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: getForward(length: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: getBackward(length: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: getBackward(length: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: getEditorAttribute(callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: TextInputClient
Method or attribute name: getEditorAttribute(): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: sendKeyFunction(action: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: deleteForward(length: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: deleteForward(length: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: deleteBackward(length: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: deleteBackward(length: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: insertText(text: string, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: insertText(text: string): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: getForward(length: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: getForward(length: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: getBackward(length: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: getBackward(length: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: getEditorAttribute(callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: getEditorAttribute(): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: moveCursor(direction: number, callback: AsyncCallback): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputClient
Method or attribute name: moveCursor(direction: number): Promise;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardDelegate|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardDelegate
Method or attribute name: on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardDelegate
Method or attribute name: on(type: 'keyDown'\|'keyUp', callback: (event: KeyEvent) => boolean): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardDelegate
Method or attribute name: off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardDelegate
Method or attribute name: off(type: 'keyDown'\|'keyUp', callback?: (event: KeyEvent) => boolean): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardDelegate
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
Class name: KeyboardDelegate
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
Class name: KeyboardDelegate
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
Class name: KeyboardDelegate
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
Class name: KeyboardDelegate
Method or attribute name: on(type: 'textChange', callback: (text: string) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyboardDelegate
Method or attribute name: off(type: 'textChange', callback?: (text: string) => void): void;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: EditorAttribute|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: EditorAttribute
Method or attribute name: readonly inputPattern: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: EditorAttribute
Method or attribute name: readonly enterKeyType: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyEvent|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyEvent
Method or attribute name: readonly keyCode: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: KeyEvent
Method or attribute name: readonly keyAction: number;|NA|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethodextensionability
Class name: InputMethodExtensionAbility|NA|@ohos.inputmethodextensionability.d.ts| +|Deleted|Module name: ohos.inputmethodextensionability
Class name: InputMethodExtensionAbility
Method or attribute name: context: InputMethodExtensionContext;|NA|@ohos.inputmethodextensionability.d.ts| +|Deleted|Module name: ohos.inputmethodextensionability
Class name: InputMethodExtensionAbility
Method or attribute name: onCreate(want: Want): void;|NA|@ohos.inputmethodextensionability.d.ts| +|Deleted|Module name: ohos.inputmethodextensionability
Class name: InputMethodExtensionAbility
Method or attribute name: onDestroy(): void;|NA|@ohos.inputmethodextensionability.d.ts| +|Deleted|Module name: ohos.inputmethodextensioncontext
Class name: InputMethodExtensionContext|NA|@ohos.inputmethodextensioncontext.d.ts| +|Deleted|Module name: ohos.inputmethodextensioncontext
Class name: InputMethodExtensionContext
Method or attribute name: destroy(callback: AsyncCallback): void;|NA|@ohos.inputmethodextensioncontext.d.ts| +|Deleted|Module name: ohos.inputmethodextensioncontext
Class name: InputMethodExtensionContext
Method or attribute name: destroy(): Promise;|NA|@ohos.inputmethodextensioncontext.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype|NA|@ohos.inputMethodSubtype.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly label?: string;|NA|@ohos.inputMethodSubtype.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly name: string;|NA|@ohos.inputMethodSubtype.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly id: string;|NA|@ohos.inputMethodSubtype.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly mode?: 'upper'\|'lower';|NA|@ohos.inputMethodSubtype.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly locale: string;|NA|@ohos.inputMethodSubtype.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly language: string;|NA|@ohos.inputMethodSubtype.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly icon?: string;|NA|@ohos.inputMethodSubtype.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: readonly iconId?: number;|NA|@ohos.inputMethodSubtype.d.ts| +|Deleted|Module name: ohos.inputMethodSubtype
Class name: InputMethodSubtype
Method or attribute name: extra: object;|NA|@ohos.inputMethodSubtype.d.ts| +|Access level changed|Class name: SystemEvent
Access level: public API|Class name: SystemEvent
Access level: system API|@ohos.screenLock.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_REALTIME: number;
Access level: public API|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_REALTIME: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_WAKEUP: number;
Access level: public API|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_WAKEUP: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_EXACT: number;
Access level: public API|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_EXACT: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_IDLE: number;
Access level: public API|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_IDLE: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback): void;
Access level: public API|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback): void;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions): Promise;
Access level: public API|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions): Promise;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback): void;
Access level: public API|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback): void;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise;
Access level: public API|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback): void;
Access level: public API|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback): void;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number): Promise;
Access level: public API|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number): Promise;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback): void;
Access level: public API|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback): void;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number): Promise;
Access level: public API|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number): Promise;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Access level: public API|Class name: TimerOptions
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: type: number;
Access level: public API|Class name: TimerOptions
Method or attribute name: type: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: repeat: boolean;
Access level: public API|Class name: TimerOptions
Method or attribute name: repeat: boolean;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: interval?: number;
Access level: public API|Class name: TimerOptions
Method or attribute name: interval?: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: wantAgent?: WantAgent;
Access level: public API|Class name: TimerOptions
Method or attribute name: wantAgent?: WantAgent;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: callback?: () => void;
Access level: public API|Class name: TimerOptions
Method or attribute name: callback?: () => void;
Access level: system API|@ohos.systemTimer.d.ts| +|Deprecated version changed|Class name: systemTime
Deprecated version: N/A|Class name: systemTime
Deprecated version: 9
Substitute API: ohos.systemDateTime |@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function setTime(time : number, callback : AsyncCallback) : void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function setTime(time : number, callback : AsyncCallback) : void;
Deprecated version: 9
Substitute API: N/A|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function setTime(time : number) : Promise;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function setTime(time : number) : Promise;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getCurrentTime(isNano: boolean, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getCurrentTime(isNano: boolean, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getCurrentTime |@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getCurrentTime(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getCurrentTime(callback: AsyncCallback): void;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getRealActiveTime(isNano: boolean, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getRealActiveTime(isNano: boolean, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getRealActiveTime |@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getRealActiveTime(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getRealActiveTime(callback: AsyncCallback): void;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getRealTime(isNano: boolean, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getRealTime(isNano: boolean, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getRealTime |@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getRealTime(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getRealTime(callback: AsyncCallback): void;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getRealTime(isNano?: boolean): Promise;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getRealTime(isNano?: boolean): Promise;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function setDate(date: Date, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function setDate(date: Date, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: N/A|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function setDate(date: Date): Promise;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function setDate(date: Date): Promise;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getDate(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getDate(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getDate |@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getDate(): Promise;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getDate(): Promise;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: N/A|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function setTimezone(timezone: string): Promise;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function setTimezone(timezone: string): Promise;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getTimezone(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getTimezone(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getTimezone |@ohos.systemTime.d.ts| +|Deprecated version changed|Class name: systemTime
Method or attribute name: function getTimezone(): Promise;
Deprecated version: N/A|Class name: systemTime
Method or attribute name: function getTimezone(): Promise;
Deprecated version: 9|@ohos.systemTime.d.ts| +|Initial version changed|Class name: DownloadTask
Initial version: N/A|Class name: DownloadTask
Initial version: 6|@ohos.request.d.ts| +|Initial version changed|Class name: UploadTask
Initial version: N/A|Class name: UploadTask
Initial version: 6|@ohos.request.d.ts| +|Initial version changed|Class name: SystemEvent
Initial version: N/A|Class name: SystemEvent
Initial version: 9|@ohos.screenLock.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_REALTIME: number;
Initial version: N/A|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_REALTIME: number;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_WAKEUP: number;
Initial version: N/A|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_WAKEUP: number;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_EXACT: number;
Initial version: N/A|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_EXACT: number;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_IDLE: number;
Initial version: N/A|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_IDLE: number;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback): void;
Initial version: N/A|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback): void;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions): Promise;
Initial version: N/A|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions): Promise;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback): void;
Initial version: N/A|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback): void;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise;
Initial version: N/A|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback): void;
Initial version: N/A|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback): void;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number): Promise;
Initial version: N/A|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number): Promise;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback): void;
Initial version: N/A|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback): void;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number): Promise;
Initial version: N/A|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number): Promise;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: TimerOptions
Initial version: N/A|Class name: TimerOptions
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: TimerOptions
Method or attribute name: type: number;
Initial version: N/A|Class name: TimerOptions
Method or attribute name: type: number;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: TimerOptions
Method or attribute name: repeat: boolean;
Initial version: N/A|Class name: TimerOptions
Method or attribute name: repeat: boolean;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: TimerOptions
Method or attribute name: interval?: number;
Initial version: N/A|Class name: TimerOptions
Method or attribute name: interval?: number;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: TimerOptions
Method or attribute name: wantAgent?: WantAgent;
Initial version: N/A|Class name: TimerOptions
Method or attribute name: wantAgent?: WantAgent;
Initial version: 7|@ohos.systemTimer.d.ts| +|Initial version changed|Class name: TimerOptions
Method or attribute name: callback?: () => void;
Initial version: N/A|Class name: TimerOptions
Method or attribute name: callback?: () => void;
Initial version: 7|@ohos.systemTimer.d.ts| +|Error code added|NA|Class name: DownloadTask
Method or attribute name: delete(): Promise;
Error code: N/A|@ohos.request.d.ts| +|Error code added|NA|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions): Promise;
Error code: 202,401|@ohos.systemTimer.d.ts| +|Error code added|NA|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise;
Error code: 202,401|@ohos.systemTimer.d.ts| +|Error code added|NA|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number): Promise;
Error code: 202,401|@ohos.systemTimer.d.ts| +|Error code added|NA|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number): Promise;
Error code: 202,401|@ohos.systemTimer.d.ts| +|Permission added|Class name: DownloadTask
Permission: N/A|Class name: DownloadTask
Permission: ohos.permission.INTERNET|@ohos.request.d.ts| +|Permission added|Class name: UploadTask
Permission: N/A|Class name: UploadTask
Permission: ohos.permission.INTERNET|@ohos.request.d.ts| +|Access level changed|Class name: SystemEvent
Access level: public API|Class name: SystemEvent
Access level: system API|@ohos.screenLock.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_REALTIME: number;
Access level: public API|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_REALTIME: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_WAKEUP: number;
Access level: public API|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_WAKEUP: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_EXACT: number;
Access level: public API|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_EXACT: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_IDLE: number;
Access level: public API|Class name: systemTimer
Method or attribute name: const TIMER_TYPE_IDLE: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback): void;
Access level: public API|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback): void;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions): Promise;
Access level: public API|Class name: systemTimer
Method or attribute name: function createTimer(options: TimerOptions): Promise;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback): void;
Access level: public API|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback): void;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise;
Access level: public API|Class name: systemTimer
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback): void;
Access level: public API|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback): void;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number): Promise;
Access level: public API|Class name: systemTimer
Method or attribute name: function stopTimer(timer: number): Promise;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback): void;
Access level: public API|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback): void;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number): Promise;
Access level: public API|Class name: systemTimer
Method or attribute name: function destroyTimer(timer: number): Promise;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Access level: public API|Class name: TimerOptions
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: type: number;
Access level: public API|Class name: TimerOptions
Method or attribute name: type: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: repeat: boolean;
Access level: public API|Class name: TimerOptions
Method or attribute name: repeat: boolean;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: interval?: number;
Access level: public API|Class name: TimerOptions
Method or attribute name: interval?: number;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: wantAgent?: WantAgent;
Access level: public API|Class name: TimerOptions
Method or attribute name: wantAgent?: WantAgent;
Access level: system API|@ohos.systemTimer.d.ts| +|Access level changed|Class name: TimerOptions
Method or attribute name: callback?: () => void;
Access level: public API|Class name: TimerOptions
Method or attribute name: callback?: () => void;
Access level: system API|@ohos.systemTimer.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-multimedia.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-multimedia.md new file mode 100644 index 0000000000000000000000000000000000000000..501855f19540b7aa9e91b9e345df0b1419f753fa --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-multimedia.md @@ -0,0 +1,666 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: camera
Method or attribute name: function getCameraManager(context: Context): CameraManager;|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: |@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: INVALID_ARGUMENT = 7400101|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: INVALID_ARGUMENT = 7400101|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: OPERATION_NOT_ALLOWED = 7400102|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: OPERATION_NOT_ALLOWED = 7400102|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: SESSION_NOT_CONFIG = 7400103|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: SESSION_NOT_CONFIG = 7400103|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: SESSION_NOT_RUNNING = 7400104|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: SESSION_NOT_RUNNING = 7400104|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: SESSION_CONFIG_LOCKED = 7400105|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: SESSION_CONFIG_LOCKED = 7400105|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: DEVICE_SETTING_LOCKED = 7400106|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: DEVICE_SETTING_LOCKED = 7400106|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: CONFILICT_CAMERA = 7400107|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: CONFILICT_CAMERA = 7400107|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: DEVICE_DISABLED = 7400108|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: DEVICE_DISABLED = 7400108|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: SERVICE_FATAL_ERROR = 7400201|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraErrorCode
Method or attribute name: SERVICE_FATAL_ERROR = 7400201|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager
Method or attribute name: getSupportedCameras(): Array;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager
Method or attribute name: getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager
Method or attribute name: createCameraInput(camera: CameraDevice): CameraInput;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager
Method or attribute name: createCameraInput(position: CameraPosition, type: CameraType): CameraInput;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager
Method or attribute name: createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager
Method or attribute name: createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager
Method or attribute name: createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager
Method or attribute name: createMetadataOutput(metadataObjectTypes: Array): MetadataOutput;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager
Method or attribute name: createCaptureSession(): CaptureSession;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraType
Method or attribute name: CAMERA_TYPE_DEFAULT = 0|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: beginConfig(): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: addInput(cameraInput: CameraInput): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: removeInput(cameraInput: CameraInput): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: addOutput(cameraOutput: CameraOutput): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: removeOutput(cameraOutput: CameraOutput): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: hasFlash(): boolean;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: isFlashModeSupported(flashMode: FlashMode): boolean;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getFlashMode(): FlashMode;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: setFlashMode(flashMode: FlashMode): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: isExposureModeSupported(aeMode: ExposureMode): boolean;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getExposureMode(): ExposureMode;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: setExposureMode(aeMode: ExposureMode): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getMeteringPoint(): Point;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: setMeteringPoint(point: Point): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getExposureBiasRange(): Array;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: setExposureBias(exposureBias: number): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getExposureValue(): number;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: isFocusModeSupported(afMode: FocusMode): boolean;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getFocusMode(): FocusMode;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: setFocusMode(afMode: FocusMode): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: setFocusPoint(point: Point): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getFocusPoint(): Point;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getFocalLength(): number;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getZoomRatioRange(): Array;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getZoomRatio(): number;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: setZoomRatio(zoomRatio: number): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: getActiveVideoStabilizationMode(): VideoStabilizationMode;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CaptureSession
Method or attribute name: setVideoStabilizationMode(mode: VideoStabilizationMode): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: PhotoOutput
Method or attribute name: isMirrorSupported(): boolean;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: MetadataObject
Method or attribute name: readonly type: MetadataObjectType;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: MetadataObject
Method or attribute name: readonly timestamp: number;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: MetadataObject
Method or attribute name: readonly boundingBox: Rect;|@ohos.multimedia.camera.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayerState
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
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
Class name: AVPlayerState
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
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
Class name: AVPlayerState
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
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
Class name: AVPlayerState
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
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
Class name: AVPlayerState
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
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
Class name: AVPlayerState
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
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
Class name: AVPlayerState
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
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
Class name: AVPlayerState
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
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
Class name: AVPlayerState
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
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
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderState
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
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderState
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
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderState
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
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderState
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
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderState
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
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderState
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
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderState
Method or attribute name: type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error';|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: media
Method or attribute name: function createAVPlayer(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: media
Method or attribute name: function createAVPlayer() : Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: media
Method or attribute name: function createAVRecorder(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: media
Method or attribute name: function createAVRecorder() : Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: StateChangeReason|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: StateChangeReason
Method or attribute name: |@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: StateChangeReason
Method or attribute name: USER = 1|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: StateChangeReason
Method or attribute name: USER = 1|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: StateChangeReason
Method or attribute name: BACKGROUND = 2|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: StateChangeReason
Method or attribute name: BACKGROUND = 2|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: |@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_OK = 0|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_OK = 0|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_NO_PERMISSION = 201|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_NO_PERMISSION = 201|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_INVALID_PARAMETER = 401|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_INVALID_PARAMETER = 401|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_UNSUPPORT_CAPABILITY = 801|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_UNSUPPORT_CAPABILITY = 801|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_NO_MEMORY = 5400101|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_NO_MEMORY = 5400101|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_OPERATE_NOT_PERMIT = 5400102|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_OPERATE_NOT_PERMIT = 5400102|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_IO = 5400103|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_IO = 5400103|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_TIMEOUT = 5400104|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_TIMEOUT = 5400104|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_SERVICE_DIED = 5400105|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_SERVICE_DIED = 5400105|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_UNSUPPORT_FORMAT = 5400106|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVErrorCode
Method or attribute name: AVERR_UNSUPPORT_FORMAT = 5400106|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: |@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: prepare(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: prepare(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: prepare(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: prepare(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: play(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: play(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: play(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: play(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: pause(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: pause(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: pause(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: pause(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: stop(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: stop(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: stop(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: stop(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: reset(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: reset(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: reset(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: reset(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: release(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: release(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: release(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: release(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: seek(timeMs: number, mode?:SeekMode): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: seek(timeMs: number, mode?:SeekMode): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: setVolume(volume: number): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: setVolume(volume: number): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: getTrackDescription() : Promise>;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: getTrackDescription() : Promise>;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: url ?: string;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: url ?: string;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: fdSrc ?: AVFileDescriptor;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: fdSrc ?: AVFileDescriptor;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: loop: boolean;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: loop: boolean;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly currentTime: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: readonly currentTime: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly duration: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: readonly duration: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly state: AVPlayerState;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: readonly state: AVPlayerState;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: surfaceId ?: string;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: surfaceId ?: string;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly width: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: readonly width: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly height: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: readonly height: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: videoScaleType ?: VideoScaleType;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: videoScaleType ?: VideoScaleType;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: setSpeed(speed: PlaybackSpeed): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: setSpeed(speed: PlaybackSpeed): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: setBitrate(bitrate: number): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: setBitrate(bitrate: number): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
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
Class name: AVPlayer
Method or attribute name: off(type: 'stateChange'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'stateChange'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'volumeChange', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'volumeChange', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'volumeChange'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'volumeChange'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'endOfStream', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'endOfStream', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'endOfStream'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'endOfStream'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'seekDone', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'seekDone', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'seekDone'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'seekDone'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'speedDone', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'speedDone', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'speedDone'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'speedDone'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'bitrateDone', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'bitrateDone', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'bitrateDone'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'bitrateDone'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'timeUpdate', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'timeUpdate', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'timeUpdate'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'timeUpdate'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'durationUpdate', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'durationUpdate', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'durationUpdate'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'durationUpdate'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
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
Class name: AVPlayer
Method or attribute name: off(type: 'bufferingUpdate'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'bufferingUpdate'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'startRenderFrame', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'startRenderFrame', callback: Callback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'startRenderFrame'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'startRenderFrame'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
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
Class name: AVPlayer
Method or attribute name: off(type: 'videoSizeChange'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'videoSizeChange'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
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
Class name: AVPlayer
Method or attribute name: off(type: 'audioInterrupt'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'audioInterrupt'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'availableBitrates', callback: (bitrates: Array) => void): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'availableBitrates', callback: (bitrates: Array) => void): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'availableBitrates'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'availableBitrates'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: 'error'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVPlayer
Method or attribute name: off(type: 'error'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: |@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: prepare(config: AVRecorderConfig, callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: prepare(config: AVRecorderConfig, callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: prepare(config: AVRecorderConfig): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: prepare(config: AVRecorderConfig): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: getInputSurface(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: getInputSurface(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: getInputSurface(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: getInputSurface(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: start(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: start(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: start(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: start(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: pause(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: pause(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: pause(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: pause(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: resume(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: resume(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: resume(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: resume(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: stop(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: stop(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: stop(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: stop(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: reset(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: reset(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: reset(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: reset(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: release(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: release(callback: AsyncCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: release(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: release(): Promise;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: readonly state: AVRecorderState;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: readonly state: AVRecorderState;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: on(type: 'stateChange', callback: (state: AVRecorderState, reason: StateChangeReason) => void): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
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
Class name: AVRecorder
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: off(type: 'stateChange'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: off(type: 'stateChange'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: off(type: 'error'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorder
Method or attribute name: off(type: 'error'): void;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: |@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: audioBitrate?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: audioBitrate?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: audioChannels?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: audioChannels?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: audioCodec?: CodecMimeType;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: audioCodec?: CodecMimeType;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: audioSampleRate?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: audioSampleRate?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: fileFormat: ContainerFormatType;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: fileFormat: ContainerFormatType;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoBitrate?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: videoBitrate?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoCodec?: CodecMimeType;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: videoCodec?: CodecMimeType;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoFrameWidth?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: videoFrameWidth?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoFrameHeight?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: videoFrameHeight?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoFrameRate?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderProfile
Method or attribute name: videoFrameRate?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderConfig|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderConfig
Method or attribute name: |@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: audioSourceType?: AudioSourceType;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderConfig
Method or attribute name: audioSourceType?: AudioSourceType;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: videoSourceType?: VideoSourceType;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderConfig
Method or attribute name: videoSourceType?: VideoSourceType;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: profile: AVRecorderProfile;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderConfig
Method or attribute name: profile: AVRecorderProfile;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: url: string;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderConfig
Method or attribute name: url: string;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: rotation?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderConfig
Method or attribute name: rotation?: number;|@ohos.multimedia.media.d.ts| +|Added|NA|Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: location?: Location;|@ohos.multimedia.media.d.ts| +|Added|NA|Class name: AVRecorderConfig
Method or attribute name: location?: Location;|@ohos.multimedia.media.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraType
Method or attribute name: CAMERA_TYPE_UNSPECIFIED = 0|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: release(callback: AsyncCallback): void;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: release(): Promise;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_NO_PERMISSION = 0|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_PREEMPTED = 1|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_DISCONNECTED = 2|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_IN_USE = 3|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR = 4|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInputError|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInputError
Method or attribute name: code: CameraInputErrorCode;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES = 0|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_TIMEOUT = 1|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CaptureSessionError|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CaptureSessionError
Method or attribute name: code: CaptureSessionErrorCode;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PreviewOutputErrorCode|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PreviewOutputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PreviewOutputError|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PreviewOutputError
Method or attribute name: code: PreviewOutputErrorCode;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR = 0|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES = 1|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_TIMEOUT = 2|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PhotoOutputError|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PhotoOutputError
Method or attribute name: code: PhotoOutputErrorCode;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: VideoOutputErrorCode|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: VideoOutputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: VideoOutputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR = 0|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: VideoOutputError|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: VideoOutputError
Method or attribute name: code: VideoOutputErrorCode;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getType(callback: AsyncCallback): void;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getType(): Promise;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getTimestamp(callback: AsyncCallback): void;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getTimestamp(): Promise;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getBoundingBox(callback: AsyncCallback): void;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getBoundingBox(): Promise;|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataFaceObject|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES = 0|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataOutputError|NA|@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: MetadataOutputError
Method or attribute name: code: MetadataOutputErrorCode;|NA|@ohos.multimedia.camera.d.ts| +|Access level changed|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Access level: public API|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Access level: public API|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback): void;
Access level: public API|Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise;
Access level: public API|Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession
Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;
Access level: public API|Class name: avSession
Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Access level: public API|Class name: AVSession
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: public API|Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: getController(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: getController(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: getOutputDevice(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: getOutputDevice(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: activate(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: activate(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: deactivate(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: deactivate(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: destroy(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: destroy(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVMetadata
Access level: public API|Class name: AVMetadata
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVPlaybackState
Access level: public API|Class name: AVPlaybackState
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: PlaybackPosition
Access level: public API|Class name: PlaybackPosition
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: OutputDeviceInfo
Access level: public API|Class name: OutputDeviceInfo
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: LoopMode
Access level: public API|Class name: LoopMode
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: PlaybackState
Access level: public API|Class name: PlaybackState
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Access level: public API|Class name: AVSessionController
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: public API|Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: public API|Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: isActive(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: isActive(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: destroy(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: destroy(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback>): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback>): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise>;
Access level: public API|Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise>;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'metadataChange', filter: Array \| 'all', callback: (data: AVMetadata) => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'metadataChange', filter: Array \| 'all', callback: (data: AVMetadata) => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'playbackStateChange', filter: Array \| 'all', callback: (state: AVPlaybackState) => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'playbackStateChange', filter: Array \| 'all', callback: (state: AVPlaybackState) => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array) => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array) => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommand
Access level: public API|Class name: AVControlCommand
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionErrorCode
Access level: public API|Class name: AVSessionErrorCode
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: camera
Access level: public API|Class name: camera
Access level: system API|@ohos.multimedia.camera.d.ts| +|Access level changed|Class name: AudioSourceType
Access level: system API|Class name: AudioSourceType
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0
Access level: system API|Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1
Access level: system API|Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Access level: system API|Class name: VideoSourceType
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
Access level: system API|Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
Access level: system API|Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
Access level: public API|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: AudioState
Method or attribute name: type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: N/A|Class name: VideoPlayState
Method or attribute name: type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error';
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: media
Method or attribute name: function createAudioPlayer(): AudioPlayer;
Deprecated version: N/A|Class name: media
Method or attribute name: function createAudioPlayer(): AudioPlayer;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: media
Method or attribute name: function createAudioRecorder(): AudioRecorder;
Deprecated version: N/A|Class name: media
Method or attribute name: function createAudioRecorder(): AudioRecorder;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: media
Method or attribute name: function createVideoPlayer(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: media
Method or attribute name: function createVideoPlayer(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: media
Method or attribute name: function createVideoPlayer() : Promise;
Deprecated version: N/A|Class name: media
Method or attribute name: function createVideoPlayer() : Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Deprecated version: N/A|Class name: AudioPlayer
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: play(): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: play(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: pause(): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: pause(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: stop(): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: stop(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: reset(): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: reset(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: seek(timeMs: number): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: seek(timeMs: number): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: setVolume(vol: number): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: setVolume(vol: number): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: release(): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: release(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: getTrackDescription() : Promise>;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: getTrackDescription() : Promise>;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: src: string;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: src: string;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: fdSrc: AVFileDescriptor;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: fdSrc: AVFileDescriptor;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: loop: boolean;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: loop: boolean;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: readonly currentTime: number;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: readonly currentTime: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: readonly duration: number;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: readonly duration: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: readonly state: AudioState;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: readonly state: AudioState;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'timeUpdate', callback: Callback): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'timeUpdate', callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioPlayer
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Deprecated version: N/A|Class name: AudioPlayer
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorderConfig
Deprecated version: N/A|Class name: AudioRecorderConfig
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorderConfig |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorderConfig
Method or attribute name: audioEncodeBitRate?: number;
Deprecated version: N/A|Class name: AudioRecorderConfig
Method or attribute name: audioEncodeBitRate?: number;
Deprecated version: 9
Substitute API: N/A|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorderConfig
Method or attribute name: audioSampleRate?: number;
Deprecated version: N/A|Class name: AudioRecorderConfig
Method or attribute name: audioSampleRate?: number;
Deprecated version: 9
Substitute API: N/A|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorderConfig
Method or attribute name: numberOfChannels?: number;
Deprecated version: N/A|Class name: AudioRecorderConfig
Method or attribute name: numberOfChannels?: number;
Deprecated version: 9
Substitute API: N/A|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorderConfig
Method or attribute name: uri: string;
Deprecated version: N/A|Class name: AudioRecorderConfig
Method or attribute name: uri: string;
Deprecated version: 9
Substitute API: N/A|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorderConfig
Method or attribute name: location?: Location;
Deprecated version: N/A|Class name: AudioRecorderConfig
Method or attribute name: location?: Location;
Deprecated version: 9
Substitute API: N/A|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorderConfig
Method or attribute name: audioEncoderMime?: CodecMimeType;
Deprecated version: N/A|Class name: AudioRecorderConfig
Method or attribute name: audioEncoderMime?: CodecMimeType;
Deprecated version: 9
Substitute API: N/A|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorderConfig
Method or attribute name: fileFormat?: ContainerFormatType;
Deprecated version: N/A|Class name: AudioRecorderConfig
Method or attribute name: fileFormat?: ContainerFormatType;
Deprecated version: 9
Substitute API: N/A|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Deprecated version: N/A|Class name: AudioRecorder
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: prepare(config: AudioRecorderConfig): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: prepare(config: AudioRecorderConfig): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: start(): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: start(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: pause(): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: pause(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: resume(): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: resume(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: stop(): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: stop(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: release(): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: release(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: reset(): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: reset(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: AudioRecorder
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Deprecated version: N/A|Class name: AudioRecorder
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Deprecated version: N/A|Class name: VideoPlayer
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer |@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: setDisplaySurface(surfaceId: string, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: setDisplaySurface(surfaceId: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: setDisplaySurface(surfaceId: string): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: setDisplaySurface(surfaceId: string): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: prepare(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: prepare(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: prepare(): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: prepare(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: play(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: play(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: play(): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: play(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: pause(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: pause(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: pause(): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: pause(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: stop(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: stop(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: stop(): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: stop(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: reset(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: reset(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: reset(): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: reset(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, mode:SeekMode, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, mode:SeekMode, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, mode?:SeekMode): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, mode?:SeekMode): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: setVolume(vol: number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: setVolume(vol: number, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: setVolume(vol: number): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: setVolume(vol: number): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: release(callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: release(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: release(): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: release(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: getTrackDescription() : Promise>;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: getTrackDescription() : Promise>;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: url: string;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: url: string;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: fdSrc: AVFileDescriptor;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: fdSrc: AVFileDescriptor;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: loop: boolean;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: loop: boolean;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: readonly currentTime: number;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: readonly currentTime: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: readonly duration: number;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: readonly duration: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: readonly state: VideoPlayState;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: readonly state: VideoPlayState;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: readonly width: number;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: readonly width: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: readonly height: number;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: readonly height: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: videoScaleType ?: VideoScaleType;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: videoScaleType ?: VideoScaleType;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: setSpeed(speed:number, callback: AsyncCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: setSpeed(speed:number, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: setSpeed(speed:number): Promise;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: setSpeed(speed:number): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: on(type: 'playbackCompleted', callback: Callback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: on(type: 'playbackCompleted', callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: on(type: 'startRenderFrame', callback: Callback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: on(type: 'startRenderFrame', callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: VideoPlayer
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Deprecated version: N/A|Class name: VideoPlayer
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer|@ohos.multimedia.media.d.ts| +|Initial version changed|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Initial version: N/A|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Initial version: 9|@ohos.multimedia.avsession.d.ts| +|Initial version changed|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Initial version: N/A|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Initial version: 9|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Access level: public API|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Access level: public API|Class name: AVSessionType
Method or attribute name: type AVSessionType = 'audio' \| 'video';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: public API|Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback): void;
Access level: public API|Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise;
Access level: public API|Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession
Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;
Access level: public API|Class name: avSession
Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Access level: public API|Class name: AVSession
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: public API|Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: getController(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: getController(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: getOutputDevice(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: getOutputDevice(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
Access level: public API|Class name: AVSession
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: activate(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: activate(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: deactivate(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: deactivate(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: public API|Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSession
Method or attribute name: destroy(): Promise;
Access level: public API|Class name: AVSession
Method or attribute name: destroy(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVMetadata
Access level: public API|Class name: AVMetadata
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVPlaybackState
Access level: public API|Class name: AVPlaybackState
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: PlaybackPosition
Access level: public API|Class name: PlaybackPosition
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: OutputDeviceInfo
Access level: public API|Class name: OutputDeviceInfo
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: LoopMode
Access level: public API|Class name: LoopMode
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: PlaybackState
Access level: public API|Class name: PlaybackState
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Access level: public API|Class name: AVSessionController
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: public API|Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: public API|Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: isActive(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: isActive(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: destroy(): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: destroy(): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback>): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback>): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise>;
Access level: public API|Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise>;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise;
Access level: public API|Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'metadataChange', filter: Array \| 'all', callback: (data: AVMetadata) => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'metadataChange', filter: Array \| 'all', callback: (data: AVMetadata) => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'playbackStateChange', filter: Array \| 'all', callback: (state: AVPlaybackState) => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'playbackStateChange', filter: Array \| 'all', callback: (state: AVPlaybackState) => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array) => void);
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array) => void);
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionController
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
Access level: public API|Class name: AVSessionController
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVControlCommand
Access level: public API|Class name: AVControlCommand
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionErrorCode
Access level: public API|Class name: AVSessionErrorCode
Access level: system API|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: camera
Access level: public API|Class name: camera
Access level: system API|@ohos.multimedia.camera.d.ts| +|Access level changed|Class name: AudioSourceType
Access level: system API|Class name: AudioSourceType
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0
Access level: system API|Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1
Access level: system API|Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Access level: system API|Class name: VideoSourceType
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
Access level: system API|Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
Access level: public API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
Access level: system API|Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
Access level: public API|@ohos.multimedia.media.d.ts| +|Function changed|Class name: CameraInput
Method or attribute name: on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void;
|Class name: CameraInput
Method or attribute name: on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void;
|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: CaptureSession
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|Class name: CaptureSession
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: PreviewOutput
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|Class name: PreviewOutput
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: PhotoOutput
Method or attribute name: capture(setting?: PhotoCaptureSetting): Promise;
|Class name: PhotoOutput
Method or attribute name: capture(): Promise;
|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: PhotoOutput
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|Class name: PhotoOutput
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: VideoOutput
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|Class name: VideoOutput
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: MetadataOutput
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|Class name: MetadataOutput
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
|@ohos.multimedia.camera.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-notification.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-notification.md new file mode 100644 index 0000000000000000000000000000000000000000..edce403f4df9304c5fd33ca609d57e08223e3674 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-notification.md @@ -0,0 +1,16 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_INFO_UPDATED = "usual.event.USER_INFO_UPDATED"|@ohos.commonEventManager.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function publishAsBundle(request: NotificationRequest, representativeBundle: string, userId: number, callback: AsyncCallback): void;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function publishAsBundle(request: NotificationRequest, representativeBundle: string, userId: number): Promise;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function cancelAsBundle(id: number, representativeBundle: string, userId: number, callback: AsyncCallback): void;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function cancelAsBundle(id: number, representativeBundle: string, userId: number): Promise;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function enableNotificationSlot(bundle: BundleOption, type: SlotType, enable: boolean, callback: AsyncCallback): void;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function enableNotificationSlot(bundle: BundleOption, type: SlotType, enable: boolean): Promise;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function isNotificationSlotEnabled(bundle: BundleOption, type: SlotType, callback: AsyncCallback): void;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function isNotificationSlotEnabled(bundle: BundleOption, type: SlotType): Promise;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean, callback: AsyncCallback): void;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean): Promise;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function getSyncNotificationEnabledWithoutApp(userId: number, callback: AsyncCallback): void;|NA|@ohos.notification.d.ts| +|Deleted|Module name: ohos.notification
Class name: notification
Method or attribute name: function getSyncNotificationEnabledWithoutApp(userId: number): Promise;|NA|@ohos.notification.d.ts| +|Initial version changed|Class name: RemoveReason
Initial version: 9|Class name: RemoveReason
Initial version: N/A|@ohos.notification.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-resource-scheduler.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-resource-scheduler.md new file mode 100644 index 0000000000000000000000000000000000000000..1617cb017ec7adeffd9f066195b5dd21fb53176f --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-resource-scheduler.md @@ -0,0 +1,66 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deleted|Module name: ohos.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: function applyEfficiencyResources(request: EfficiencyResourcesRequest): boolean;|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: function resetAllEfficiencyResources(): void;|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: ResourceType|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: ResourceType
Method or attribute name: CPU = 1|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: ResourceType
Method or attribute name: COMMON_EVENT = 1 << 1|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: ResourceType
Method or attribute name: TIMER = 1 << 2|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: ResourceType
Method or attribute name: WORK_SCHEDULER = 1 << 3|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: ResourceType
Method or attribute name: BLUETOOTH = 1 << 4|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: ResourceType
Method or attribute name: GPS = 1 << 5|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: ResourceType
Method or attribute name: AUDIO = 1 << 6|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: EfficiencyResourcesRequest|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: resourceTypes: number;|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isApply: boolean;|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: timeOut: number;|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isPersist?: boolean;|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isProcess?: boolean;|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: reason: string;|NA|@ohos.backgroundTaskManager.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: workId: number;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: bundleName: string;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: abilityName: string;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: isPersisted?: boolean;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: networkType?: NetworkType;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: isCharging?: boolean;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: chargerType?: ChargingType;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: batteryLevel?: number;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: batteryStatus?: BatteryStatus;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: storageRequest?: StorageRequest;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: repeatCycleTime?: number;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: isRepeat?: boolean;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: repeatCount?: number;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: isDeepIdle?: boolean;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: idleWaitTime?: number;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: WorkInfo
Method or attribute name: parameters?: {[key: string]: any};|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler
Method or attribute name: function startWork(work: WorkInfo): boolean;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler
Method or attribute name: function stopWork(work: WorkInfo, needCancel?: boolean): boolean;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler
Method or attribute name: function getWorkStatus(workId: number, callback: AsyncCallback): void;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler
Method or attribute name: function getWorkStatus(workId: number): Promise;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler
Method or attribute name: function obtainAllWorks(callback: AsyncCallback): Array;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler
Method or attribute name: function obtainAllWorks(): Promise>;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler
Method or attribute name: function stopAndClearWorks(): boolean;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler
Method or attribute name: function isLastWorkTimeOut(workId: number, callback: AsyncCallback): boolean;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: workScheduler
Method or attribute name: function isLastWorkTimeOut(workId: number): Promise;|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: NetworkType|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_ANY = 0|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_MOBILE|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_WIFI|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_BLUETOOTH|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_WIFI_P2P|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_ETHERNET|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: ChargingType|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_ANY = 0|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_AC|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_USB|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_WIRELESS|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: BatteryStatus|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: BatteryStatus
Method or attribute name: BATTERY_STATUS_LOW = 0|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: BatteryStatus
Method or attribute name: BATTERY_STATUS_OKAY|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: BatteryStatus
Method or attribute name: BATTERY_STATUS_LOW_OR_OKAY|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: StorageRequest|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: StorageRequest
Method or attribute name: STORAGE_LEVEL_LOW = 0|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: StorageRequest
Method or attribute name: STORAGE_LEVEL_OKAY|NA|@ohos.workScheduler.d.ts| +|Deleted|Module name: ohos.workScheduler
Class name: StorageRequest
Method or attribute name: STORAGE_LEVEL_LOW_OR_OKAY|NA|@ohos.workScheduler.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-security.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-security.md new file mode 100644 index 0000000000000000000000000000000000000000..57f7cc21ab108fab763bb8e20068864a65efd5aa --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-security.md @@ -0,0 +1,257 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.abilityAccessCtrl
Class name: AtManager
Method or attribute name: requestPermissionsFromUser(context: Context, permissions: Array, requestCallback: AsyncCallback) : void;|@ohos.abilityAccessCtrl.d.ts| +|Added|NA|Module name: ohos.abilityAccessCtrl
Class name: AtManager
Method or attribute name: requestPermissionsFromUser(context: Context, permissions: Array) : Promise;|@ohos.abilityAccessCtrl.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: cert|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: INVALID_PARAMS = 401|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: NOT_SUPPORT = 801|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: ERR_OUT_OF_MEMORY = 19020001|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: ERR_RUNTIME_ERROR = 19020002|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: ERR_CRYPTO_OPERATION = 19030001|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: ERR_CERT_SIGNATURE_FAILURE = 19030002|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: ERR_CERT_NOT_YET_VALID = 19030003|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: ERR_CERT_HAS_EXPIRED = 19030004|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY = 19030005|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: ERR_KEYUSAGE_NO_CERTSIGN = 19030006|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertResult
Method or attribute name: ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE = 19030007|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: DataBlob|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: DataBlob
Method or attribute name: data : Uint8Array;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: DataArray|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: DataArray
Method or attribute name: data : Array;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: EncodingFormat|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: EncodingFormat
Method or attribute name: FORMAT_DER = 0|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: EncodingFormat
Method or attribute name: FORMAT_PEM = 1|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: EncodingBlob|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: EncodingBlob
Method or attribute name: data : Uint8Array;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: EncodingBlob
Method or attribute name: encodingFormat : EncodingFormat;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertChainData|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertChainData
Method or attribute name: data: Uint8Array;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertChainData
Method or attribute name: count : number;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertChainData
Method or attribute name: encodingFormat: EncodingFormat;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: verify(key : cryptoFramework.PubKey, callback : AsyncCallback) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: verify(key : cryptoFramework.PubKey) : Promise;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getEncoded(callback : AsyncCallback) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getEncoded() : Promise;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getPublicKey() : cryptoFramework.PubKey;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: checkValidityWithDate(date: string) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getVersion() : number;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getSerialNumber() : number;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getIssuerName() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getSubjectName() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getNotBeforeTime() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getNotAfterTime() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getSignature() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getSignatureAlgName() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getSignatureAlgOid() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getSignatureAlgParams() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getKeyUsage() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getExtKeyUsage() : DataArray;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getBasicConstraints() : number;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getSubjectAltNames() : DataArray;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Cert
Method or attribute name: getIssuerAltNames() : DataArray;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: cert
Method or attribute name: function createX509Cert(inStream : EncodingBlob, callback : AsyncCallback) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: cert
Method or attribute name: function createX509Cert(inStream : EncodingBlob) : Promise;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509CrlEntry|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509CrlEntry
Method or attribute name: getEncoded(callback : AsyncCallback) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509CrlEntry
Method or attribute name: getEncoded() : Promise;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509CrlEntry
Method or attribute name: getSerialNumber() : number;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509CrlEntry
Method or attribute name: getCertIssuer() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509CrlEntry
Method or attribute name: getRevocationDate() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: isRevoked(cert : X509Cert) : boolean;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getType() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getEncoded(callback : AsyncCallback) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getEncoded() : Promise;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: verify(key : cryptoFramework.PubKey, callback : AsyncCallback) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: verify(key : cryptoFramework.PubKey) : Promise;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getVersion() : number;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getIssuerName() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getLastUpdate() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getNextUpdate() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getRevokedCert(serialNumber : number) : X509CrlEntry;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getRevokedCertWithCert(cert : X509Cert) : X509CrlEntry;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getRevokedCerts(callback : AsyncCallback>) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getRevokedCerts() : Promise>;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getTbsInfo() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getSignature() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getSignatureAlgName() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getSignatureAlgOid() : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: X509Crl
Method or attribute name: getSignatureAlgParams() : DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: cert
Method or attribute name: function createX509Crl(inStream : EncodingBlob, callback : AsyncCallback) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: cert
Method or attribute name: function createX509Crl(inStream : EncodingBlob) : Promise;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertChainValidator|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertChainValidator
Method or attribute name: validate(certChain : CertChainData, callback : AsyncCallback) : void;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertChainValidator
Method or attribute name: validate(certChain : CertChainData) : Promise;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: CertChainValidator
Method or attribute name: readonly algorithm : string;|@ohos.security.cert.d.ts| +|Added|NA|Module name: ohos.security.cert
Class name: cert
Method or attribute name: function createCertChainValidator(algorithm :string) : CertChainValidator;|@ohos.security.cert.d.ts| +|Added|NA|Class name: Random
Method or attribute name: setSeed(seed : DataBlob) : void;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Module name: PermissionRequestResult
Class name: PermissionRequestResult|PermissionRequestResult.d.ts| +|Added|NA|Module name: PermissionRequestResult
Class name: PermissionRequestResult
Method or attribute name: permissions: Array;|PermissionRequestResult.d.ts| +|Added|NA|Module name: PermissionRequestResult
Class name: PermissionRequestResult
Method or attribute name: authResults: Array;|PermissionRequestResult.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_CERT_SIGNATURE_FAILURE = 17630002|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_CERT_NOT_YET_VALID = 17630003|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_CERT_HAS_EXPIRED = 17630004|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY = 17630005|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_KEYUSAGE_NO_CERTSIGN = 17630006|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE = 17630007|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: DataArray|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: DataArray
Method or attribute name: data : Array;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: EncodingFormat|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: EncodingFormat
Method or attribute name: FORMAT_DER = 0|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: EncodingFormat
Method or attribute name: FORMAT_PEM = 1|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: EncodingBlob|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: EncodingBlob
Method or attribute name: data : Uint8Array;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: EncodingBlob
Method or attribute name: encodingFormat : EncodingFormat;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: CertChainData|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: CertChainData
Method or attribute name: data: Uint8Array;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: CertChainData
Method or attribute name: count : number;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: CertChainData
Method or attribute name: encodingFormat: EncodingFormat;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: verify(key : PubKey, callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: verify(key : PubKey) : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getEncoded(callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getEncoded() : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getPublicKey(callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getPublicKey() : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: checkValidityWithDate(date: string, callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: checkValidityWithDate(date: string) : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getVersion() : number;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getSerialNumber() : number;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getIssuerName() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getSubjectName() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getNotBeforeTime() : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getNotAfterTime() : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getSignature() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getSignatureAlgName() : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getSignatureAlgOid() : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getSignatureAlgParams() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getKeyUsage() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getExtKeyUsage() : DataArray;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getBasicConstraints() : number;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getSubjectAltNames() : DataArray;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Cert
Method or attribute name: getIssuerAltNames() : DataArray;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: cryptoFramework
Method or attribute name: function createX509Cert(inStream : EncodingBlob, callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: cryptoFramework
Method or attribute name: function createX509Cert(inStream : EncodingBlob) : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509CrlEntry|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509CrlEntry
Method or attribute name: getEncoded(callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509CrlEntry
Method or attribute name: getEncoded() : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509CrlEntry
Method or attribute name: getSerialNumber() : number;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509CrlEntry
Method or attribute name: getCertIssuer(callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509CrlEntry
Method or attribute name: getCertIssuer() : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509CrlEntry
Method or attribute name: getRevocationDate(callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509CrlEntry
Method or attribute name: getRevocationDate() : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: isRevoked(cert : X509Cert, callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: isRevoked(cert : X509Cert) : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getType() : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getEncoded(callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getEncoded() : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: verify(key : PubKey, callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: verify(key : PubKey) : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getVersion() : number;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getIssuerName() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getLastUpdate() : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getNextUpdate() : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getRevokedCert(serialNumber : number, callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getRevokedCert(serialNumber : number) : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getRevokedCertWithCert(cert : X509Cert, callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getRevokedCertWithCert(cert : X509Cert) : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getRevokedCerts(callback : AsyncCallback>) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getRevokedCerts() : Promise>;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getTbsInfo(callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getTbsInfo() : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getSignature() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getSignatureAlgName() : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getSignatureAlgOid() : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: X509Crl
Method or attribute name: getSignatureAlgParams() : DataBlob;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: cryptoFramework
Method or attribute name: function createX509Crl(inStream : EncodingBlob, callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: cryptoFramework
Method or attribute name: function createX509Crl(inStream : EncodingBlob) : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: CertChainValidator|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: CertChainValidator
Method or attribute name: validate(certChain : CertChainData, callback : AsyncCallback) : void;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: CertChainValidator
Method or attribute name: validate(certChain : CertChainData) : Promise;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: CertChainValidator
Method or attribute name: readonly algorithm : string;|NA|@ohos.security.cryptoFramework.d.ts| +|Deleted|Module name: ohos.security.cryptoFramework
Class name: cryptoFramework
Method or attribute name: function createCertChainValidator(algorithm :string) : CertChainValidator;|NA|@ohos.security.cryptoFramework.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID \| 0
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID \| 0
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES \| 13
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES \| 13
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES \| 16
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES \| 16
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES \| 17
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES \| 17
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT \| 18
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT \| 18
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 201
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 201
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 202
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 202
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 203
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 203
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 204
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 204
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES \| 503
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES \| 503
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES \| 504
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES \| 504
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES \| 505
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES \| 505
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 506
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 506
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES \| 507
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES \| 507
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 508
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 508
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES \| 509
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES \| 509
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 510
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 510
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 512
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 512
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 513
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 513
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL \| 1009
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL \| 1009
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 1010
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 1010
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10001
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10001
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10002
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10002
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10003
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10003
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10004
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10004
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10005
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10005
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10007
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10007
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT \| 10008
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT \| 10008
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10010
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10010
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10101
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10101
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT \| 10102
Deprecated version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT \| 10102
Deprecated version: 9
Substitute API: N/A|@ohos.security.huks.d.ts| +|Initial version changed|Class name: SymKey
Initial version: N/A|Class name: SymKey
Initial version: 9|@ohos.security.cryptoFramework.d.ts| +|Initial version changed|Class name: SymKey
Method or attribute name: clearMem() : void;
Initial version: N/A|Class name: SymKey
Method or attribute name: clearMem() : void;
Initial version: 9|@ohos.security.cryptoFramework.d.ts| +|Initial version changed|Class name: Random
Initial version: N/A|Class name: Random
Initial version: 9|@ohos.security.cryptoFramework.d.ts| +|Initial version changed|Class name: Cipher
Initial version: N/A|Class name: Cipher
Initial version: 9|@ohos.security.cryptoFramework.d.ts| +|Initial version changed|Class name: KeyAgreement
Initial version: N/A|Class name: KeyAgreement
Initial version: 9|@ohos.security.cryptoFramework.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID \| 0
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID \| 0
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES \| 13
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES \| 13
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES \| 16
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES \| 16
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES \| 17
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES \| 17
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT \| 18
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT \| 18
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 201
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 201
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 202
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 202
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 203
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 203
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 204
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG \| 204
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES \| 503
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES \| 503
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES \| 504
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES \| 504
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES \| 505
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES \| 505
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 506
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 506
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES \| 507
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES \| 507
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 508
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 508
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES \| 509
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES \| 509
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 510
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES \| 510
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 512
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 512
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 513
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 513
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL \| 1009
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL \| 1009
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 1010
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES \| 1010
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10001
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10001
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10002
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES \| 10002
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10003
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10003
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10004
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT \| 10004
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10005
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10005
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10007
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10007
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT \| 10008
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT \| 10008
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10010
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG \| 10010
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10101
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT \| 10101
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Class name: HuksTag
Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT \| 10102
Initial version: N/A|Class name: HuksTag
Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT \| 10102
Initial version: 8|@ohos.security.huks.d.ts| +|Error code added|NA|Class name: AsyKeyGenerator
Method or attribute name: generateKeyPair() : Promise;
Error code: 401, 17620001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: AsyKeyGenerator
Method or attribute name: convertKey(pubKey : DataBlob, priKey : DataBlob) : Promise;
Error code: 401, 17620001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: Cipher
Method or attribute name: init(opMode : CryptoMode, key : Key, params : ParamsSpec) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: Cipher
Method or attribute name: update(data : DataBlob) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: Cipher
Method or attribute name: doFinal(data : DataBlob) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: Sign
Method or attribute name: init(priKey : PriKey) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: Sign
Method or attribute name: update(data : DataBlob) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: Sign
Method or attribute name: sign(data : DataBlob) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: Verify
Method or attribute name: init(pubKey : PubKey) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: Verify
Method or attribute name: update(data : DataBlob) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: Verify
Method or attribute name: verify(data : DataBlob, signatureData : DataBlob) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Error code added|NA|Class name: KeyAgreement
Method or attribute name: generateSecret(priKey : PriKey, pubKey : PubKey) : Promise;
Error code: 401, 17620001, 17620002, 17630001|@ohos.security.cryptoFramework.d.ts| +|Function changed|Class name: huks
Method or attribute name: function update(handle: number, options: HuksOptions, callback: AsyncCallback) : void;
|Class name: huks
Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions, callback: AsyncCallback) : void;
|@ohos.security.huks.d.ts| +|Function changed|Class name: huks
Method or attribute name: function update(handle: number, options: HuksOptions, token: Uint8Array, callback: AsyncCallback) : void;
|Class name: huks
Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions, callback: AsyncCallback) : void;
|@ohos.security.huks.d.ts| +|Function changed|Class name: huks
Method or attribute name: function update(handle: number, options: HuksOptions, token?: Uint8Array) : Promise;
|Class name: huks
Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions) : Promise;
|@ohos.security.huks.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-start-up.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-start-up.md new file mode 100644 index 0000000000000000000000000000000000000000..f514b78994fcf92bea0df943efdf58e6a589ed4c --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-start-up.md @@ -0,0 +1,4 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Permission added|Class name: deviceInfo
Method or attribute name: const serial: string;
Permission: N/A|Class name: deviceInfo
Method or attribute name: const serial: string;
Permission: ohos.permission.sec.ACCESS_UDID|@ohos.deviceInfo.d.ts| +|Permission added|Class name: deviceInfo
Method or attribute name: const udid: string;
Permission: N/A|Class name: deviceInfo
Method or attribute name: const udid: string;
Permission: ohos.permission.sec.ACCESS_UDID|@ohos.deviceInfo.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-telephony.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-telephony.md new file mode 100644 index 0000000000000000000000000000000000000000..c61a79bcb30711cfcc336f33850d56a6c9bfe0fe --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-telephony.md @@ -0,0 +1,243 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: CallTransferInfo
Method or attribute name: startHour?: number;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: CallTransferInfo
Method or attribute name: startMinute?: number;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: CallTransferInfo
Method or attribute name: endHour?: number;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: CallTransferInfo
Method or attribute name: endMinute?: number;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: CallTransferResult
Method or attribute name: startHour: number;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: CallTransferResult
Method or attribute name: startMinute: number;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: CallTransferResult
Method or attribute name: endHour: number;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: CallTransferResult
Method or attribute name: endMinute: number;|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: |@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: UNASSIGNED_NUMBER = 1|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: UNASSIGNED_NUMBER = 1|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NO_ROUTE_TO_DESTINATION = 3|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NO_ROUTE_TO_DESTINATION = 3|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: CHANNEL_UNACCEPTABLE = 6|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: CHANNEL_UNACCEPTABLE = 6|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: OPERATOR_DETERMINED_BARRING = 8|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: OPERATOR_DETERMINED_BARRING = 8|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: CALL_COMPLETED_ELSEWHERE = 13|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: CALL_COMPLETED_ELSEWHERE = 13|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NORMAL_CALL_CLEARING = 16|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NORMAL_CALL_CLEARING = 16|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: USER_BUSY = 17|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: USER_BUSY = 17|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NO_USER_RESPONDING = 18|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NO_USER_RESPONDING = 18|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: USER_ALERTING_NO_ANSWER = 19|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: USER_ALERTING_NO_ANSWER = 19|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: CALL_REJECTED = 21|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: CALL_REJECTED = 21|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NUMBER_CHANGED = 22|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NUMBER_CHANGED = 22|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: CALL_REJECTED_DUE_TO_FEATURE_AT_THE_DESTINATION = 24|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
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
Class name: DisconnectedReason
Method or attribute name: FAILED_PRE_EMPTION = 25|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: FAILED_PRE_EMPTION = 25|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NON_SELECTED_USER_CLEARING = 26|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NON_SELECTED_USER_CLEARING = 26|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: DESTINATION_OUT_OF_ORDER = 27|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: DESTINATION_OUT_OF_ORDER = 27|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: INVALID_NUMBER_FORMAT = 28|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: INVALID_NUMBER_FORMAT = 28|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: FACILITY_REJECTED = 29|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: FACILITY_REJECTED = 29|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RESPONSE_TO_STATUS_ENQUIRY = 30|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RESPONSE_TO_STATUS_ENQUIRY = 30|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NORMAL_UNSPECIFIED = 31|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NORMAL_UNSPECIFIED = 31|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NO_CIRCUIT_CHANNEL_AVAILABLE = 34|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NO_CIRCUIT_CHANNEL_AVAILABLE = 34|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NETWORK_OUT_OF_ORDER = 38|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NETWORK_OUT_OF_ORDER = 38|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: TEMPORARY_FAILURE = 41|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: TEMPORARY_FAILURE = 41|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: SWITCHING_EQUIPMENT_CONGESTION = 42|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: SWITCHING_EQUIPMENT_CONGESTION = 42|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: ACCESS_INFORMATION_DISCARDED = 43|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: ACCESS_INFORMATION_DISCARDED = 43|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: REQUEST_CIRCUIT_CHANNEL_NOT_AVAILABLE = 44|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: REQUEST_CIRCUIT_CHANNEL_NOT_AVAILABLE = 44|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RESOURCES_UNAVAILABLE_UNSPECIFIED = 47|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RESOURCES_UNAVAILABLE_UNSPECIFIED = 47|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: QUALITY_OF_SERVICE_UNAVAILABLE = 49|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: QUALITY_OF_SERVICE_UNAVAILABLE = 49|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: REQUESTED_FACILITY_NOT_SUBSCRIBED = 50|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: REQUESTED_FACILITY_NOT_SUBSCRIBED = 50|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: INCOMING_CALLS_BARRED_WITHIN_THE_CUG = 55|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: INCOMING_CALLS_BARRED_WITHIN_THE_CUG = 55|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: BEARER_CAPABILITY_NOT_AUTHORIZED = 57|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: BEARER_CAPABILITY_NOT_AUTHORIZED = 57|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE = 58|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE = 58|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: SERVICE_OR_OPTION_NOT_AVAILABLE_UNSPECIFIED = 63|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: SERVICE_OR_OPTION_NOT_AVAILABLE_UNSPECIFIED = 63|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: BEARER_SERVICE_NOT_IMPLEMENTED = 65|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: BEARER_SERVICE_NOT_IMPLEMENTED = 65|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: ACM_EQUALTO_OR_GREATER_THAN_THE_MAXIMUM_VALUE = 68|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
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
Class name: DisconnectedReason
Method or attribute name: REQUESTED_FACILITY_NOT_IMPLEMENTED = 69|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: REQUESTED_FACILITY_NOT_IMPLEMENTED = 69|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: ONLY_RESTRICTED_DIGITAL_INFO_BEARER_CAPABILITY_IS_AVAILABLE = 70|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
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
Class name: DisconnectedReason
Method or attribute name: SERVICE_OR_OPTION_NOT_IMPLEMENTED_UNSPECIFIED = 79|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: SERVICE_OR_OPTION_NOT_IMPLEMENTED_UNSPECIFIED = 79|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: INVALID_TRANSACTION_IDENTIFIER_VALUE = 81|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: INVALID_TRANSACTION_IDENTIFIER_VALUE = 81|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: USER_NOT_MEMBER_OF_CUG = 87|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: USER_NOT_MEMBER_OF_CUG = 87|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: INCOMPATIBLE_DESTINATION = 88|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: INCOMPATIBLE_DESTINATION = 88|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: INVALID_TRANSIT_NETWORK_SELECTION = 91|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: INVALID_TRANSIT_NETWORK_SELECTION = 91|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: SEMANTICALLY_INCORRECT_MESSAGE = 95|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: SEMANTICALLY_INCORRECT_MESSAGE = 95|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: INVALID_MANDATORY_INFORMATION = 96|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: INVALID_MANDATORY_INFORMATION = 96|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: CONDITIONAL_IE_ERROR = 100|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: CONDITIONAL_IE_ERROR = 100|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RECOVERY_ON_TIMER_EXPIRED = 102|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RECOVERY_ON_TIMER_EXPIRED = 102|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: PROTOCOL_ERROR_UNSPECIFIED = 111|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: PROTOCOL_ERROR_UNSPECIFIED = 111|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: INTERWORKING_UNSPECIFIED = 127|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: INTERWORKING_UNSPECIFIED = 127|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: CALL_BARRED = 240|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: CALL_BARRED = 240|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: FDN_BLOCKED = 241|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: FDN_BLOCKED = 241|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: IMSI_UNKNOWN_IN_VLR = 242|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: IMSI_UNKNOWN_IN_VLR = 242|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: IMEI_NOT_ACCEPTED = 243|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: IMEI_NOT_ACCEPTED = 243|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: DIAL_MODIFIED_TO_USSD = 244|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: DIAL_MODIFIED_TO_USSD = 244|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: DIAL_MODIFIED_TO_SS = 245|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: DIAL_MODIFIED_TO_SS = 245|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: DIAL_MODIFIED_TO_DIAL = 246|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: DIAL_MODIFIED_TO_DIAL = 246|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RADIO_OFF = 247|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RADIO_OFF = 247|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: OUT_OF_SERVICE = 248|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: OUT_OF_SERVICE = 248|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NO_VALID_SIM = 249|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NO_VALID_SIM = 249|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RADIO_INTERNAL_ERROR = 250|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RADIO_INTERNAL_ERROR = 250|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NETWORK_RESP_TIMEOUT = 251|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NETWORK_RESP_TIMEOUT = 251|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NETWORK_REJECT = 252|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NETWORK_REJECT = 252|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RADIO_ACCESS_FAILURE = 253|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RADIO_ACCESS_FAILURE = 253|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RADIO_LINK_FAILURE = 254|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RADIO_LINK_FAILURE = 254|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RADIO_LINK_LOST = 255|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RADIO_LINK_LOST = 255|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RADIO_UPLINK_FAILURE = 256|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RADIO_UPLINK_FAILURE = 256|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RADIO_SETUP_FAILURE = 257|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RADIO_SETUP_FAILURE = 257|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RADIO_RELEASE_NORMAL = 258|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RADIO_RELEASE_NORMAL = 258|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: RADIO_RELEASE_ABNORMAL = 259|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: RADIO_RELEASE_ABNORMAL = 259|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: ACCESS_CLASS_BLOCKED = 260|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: ACCESS_CLASS_BLOCKED = 260|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: NETWORK_DETACH = 261|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: NETWORK_DETACH = 261|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: INVALID_PARAMETER = 1025|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: INVALID_PARAMETER = 1025|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: SIM_NOT_EXIT = 1026|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: SIM_NOT_EXIT = 1026|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: SIM_PIN_NEED = 1027|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: SIM_PIN_NEED = 1027|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: CALL_NOT_ALLOW = 1029|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: CALL_NOT_ALLOW = 1029|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: SIM_INVALID = 1045|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: SIM_INVALID = 1045|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.call
Class name: DisconnectedReason
Method or attribute name: UNKNOWN = 1279|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedReason
Method or attribute name: UNKNOWN = 1279|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedDetails
Method or attribute name: reason: DisconnectedReason;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: DisconnectedDetails
Method or attribute name: message: string;|@ohos.telephony.call.d.ts| +|Added|NA|Module name: ohos.telephony.sim
Class name: OperatorConfigKey|@ohos.telephony.sim.d.ts| +|Added|NA|Module name: ohos.telephony.sim
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
Method or attribute name: KEY_VOLTE_SUPPORTED_BOOL = "volte_supported_bool"|@ohos.telephony.sim.d.ts| +|Added|NA|Module name: ohos.telephony.sim
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
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
Class name: OperatorConfigKey
Method or attribute name: KEY_EMERGENCY_CALL_STRING_ARRAY = "emergency_call_string_array"|@ohos.telephony.sim.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: UNASSIGNED_NUMBER = 1|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: NO_ROUTE_TO_DESTINATION = 3|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: CHANNEL_UNACCEPTABLE = 6|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: OPERATOR_DETERMINED_BARRING = 8|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: NORMAL_CALL_CLEARING = 16|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: USER_BUSY = 17|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: NO_USER_RESPONDING = 18|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: USER_ALERTING_NO_ANSWER = 19|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: CALL_REJECTED = 21|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: NUMBER_CHANGED = 22|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: DESTINATION_OUT_OF_ORDER = 27|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: INVALID_NUMBER_FORMAT = 28|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: NETWORK_OUT_OF_ORDER = 38|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: TEMPORARY_FAILURE = 41|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: INVALID_PARAMETER = 1025|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: SIM_NOT_EXIT = 1026|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: SIM_PIN_NEED = 1027|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: CALL_NOT_ALLOW = 1029|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: SIM_INVALID = 1045|NA|@ohos.telephony.call.d.ts| +|Deleted|Module name: ohos.telephony.call
Class name: DisconnectedDetails
Method or attribute name: UNKNOWN = 1279|NA|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: CallTransferInfo
Method or attribute name: transferNum: string;
Initial version: N/A|Class name: CallTransferInfo
Method or attribute name: transferNum: string;
Initial version: 8|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: CallTransferInfo
Method or attribute name: type: CallTransferType;
Initial version: N/A|Class name: CallTransferInfo
Method or attribute name: type: CallTransferType;
Initial version: 8|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: CallTransferInfo
Method or attribute name: settingType: CallTransferSettingType;
Initial version: N/A|Class name: CallTransferInfo
Method or attribute name: settingType: CallTransferSettingType;
Initial version: 8|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: CallTransferResult
Method or attribute name: status: TransferStatus;
Initial version: N/A|Class name: CallTransferResult
Method or attribute name: status: TransferStatus;
Initial version: 8|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: CallTransferResult
Method or attribute name: number: string;
Initial version: N/A|Class name: CallTransferResult
Method or attribute name: number: string;
Initial version: 8|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: CallWaitingStatus
Method or attribute name: CALL_WAITING_DISABLE = 0
Initial version: N/A|Class name: CallWaitingStatus
Method or attribute name: CALL_WAITING_DISABLE = 0
Initial version: 7|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: CallWaitingStatus
Method or attribute name: CALL_WAITING_ENABLE = 1
Initial version: N/A|Class name: CallWaitingStatus
Method or attribute name: CALL_WAITING_ENABLE = 1
Initial version: 7|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: RestrictionStatus
Method or attribute name: RESTRICTION_DISABLE = 0
Initial version: N/A|Class name: RestrictionStatus
Method or attribute name: RESTRICTION_DISABLE = 0
Initial version: 8|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: RestrictionStatus
Method or attribute name: RESTRICTION_ENABLE = 1
Initial version: N/A|Class name: RestrictionStatus
Method or attribute name: RESTRICTION_ENABLE = 1
Initial version: 8|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: TransferStatus
Method or attribute name: TRANSFER_DISABLE = 0
Initial version: N/A|Class name: TransferStatus
Method or attribute name: TRANSFER_DISABLE = 0
Initial version: 8|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: TransferStatus
Method or attribute name: TRANSFER_ENABLE = 1
Initial version: N/A|Class name: TransferStatus
Method or attribute name: TRANSFER_ENABLE = 1
Initial version: 8|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: EmergencyNumberOptions
Method or attribute name: slotId?: number;
Initial version: N/A|Class name: EmergencyNumberOptions
Method or attribute name: slotId?: number;
Initial version: 7|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: NumberFormatOptions
Method or attribute name: countryCode?: string;
Initial version: N/A|Class name: NumberFormatOptions
Method or attribute name: countryCode?: string;
Initial version: 7|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: AudioDeviceOptions
Method or attribute name: bluetoothAddress?: string;
Initial version: N/A|Class name: AudioDeviceOptions
Method or attribute name: bluetoothAddress?: string;
Initial version: 9|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: MmiCodeResults
Method or attribute name: result: MmiCodeResult;
Initial version: N/A|Class name: MmiCodeResults
Method or attribute name: result: MmiCodeResult;
Initial version: 9|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: MmiCodeResults
Method or attribute name: message: string;
Initial version: N/A|Class name: MmiCodeResults
Method or attribute name: message: string;
Initial version: 9|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: MmiCodeResult
Method or attribute name: MMI_CODE_SUCCESS = 0
Initial version: N/A|Class name: MmiCodeResult
Method or attribute name: MMI_CODE_SUCCESS = 0
Initial version: 9|@ohos.telephony.call.d.ts| +|Initial version changed|Class name: MmiCodeResult
Method or attribute name: MMI_CODE_FAILED = 1
Initial version: N/A|Class name: MmiCodeResult
Method or attribute name: MMI_CODE_FAILED = 1
Initial version: 9|@ohos.telephony.call.d.ts| +|Permission changed|Class name: observer
Method or attribute name: function on(type: 'cellInfoChange', callback: Callback>): void;
Permission: ohos.permission.LOCATION|Class name: observer
Method or attribute name: function on(type: 'cellInfoChange', callback: Callback>): void;
Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.observer.d.ts| +|Permission changed|Class name: observer
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number },
callback: Callback>): void;
Permission: ohos.permission.LOCATION|Class name: observer
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number },
callback: Callback>): void;
Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.observer.d.ts| +|Permission changed|Class name: radio
Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback): void;
Permission: ohos.permission.LOCATION|Class name: radio
Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback): void;
Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback): void;
Permission: ohos.permission.LOCATION|Class name: radio
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback): void;
Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise;
Permission: ohos.permission.LOCATION|Class name: radio
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise;
Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio
Method or attribute name: function getCellInformation(callback: AsyncCallback>): void;
Permission: ohos.permission.LOCATION|Class name: radio
Method or attribute name: function getCellInformation(callback: AsyncCallback>): void;
Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback>): void;
Permission: ohos.permission.LOCATION|Class name: radio
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback>): void;
Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio
Method or attribute name: function getCellInformation(slotId?: number): Promise>;
Permission: ohos.permission.LOCATION|Class name: radio
Method or attribute name: function getCellInformation(slotId?: number): Promise>;
Permission: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|Permission added|Class name: call
Method or attribute name: function hangup(callback: AsyncCallback): void;
Permission: N/A|Class name: call
Method or attribute name: function hangup(callback: AsyncCallback): void;
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Function changed|Class name: sms
Method or attribute name: function isImsSmsSupported(callback: AsyncCallback): void;
|Class name: sms
Method or attribute name: function isImsSmsSupported(slotId: number, callback: AsyncCallback): void;
|@ohos.telephony.sms.d.ts| +|Function changed|Class name: sms
Method or attribute name: function isImsSmsSupported(): Promise;
|Class name: sms
Method or attribute name: function isImsSmsSupported(slotId: number): Promise;
|@ohos.telephony.sms.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-unitest.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-unitest.md new file mode 100644 index 0000000000000000000000000000000000000000..57088a127b3def4b3ee8715625062a359bd858f7 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-unitest.md @@ -0,0 +1,10 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: Rect
Method or attribute name: readonly left: number;|@ohos.uitest.d.ts| +|Added|NA|Class name: Rect
Method or attribute name: readonly top: number;|@ohos.uitest.d.ts| +|Added|NA|Class name: Rect
Method or attribute name: readonly right: number;|@ohos.uitest.d.ts| +|Added|NA|Class name: Rect
Method or attribute name: readonly bottom: number;|@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: Rect
Method or attribute name: readonly leftX: number;|NA|@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: Rect
Method or attribute name: readonly topY: number;|NA|@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: Rect
Method or attribute name: readonly rightX: number;|NA|@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: Rect
Method or attribute name: readonly bottomY: number;|NA|@ohos.uitest.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-user-iam.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-user-iam.md new file mode 100644 index 0000000000000000000000000000000000000000..4b538a99e295de42660b0fba18b3e385e30a3d91 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-user-iam.md @@ -0,0 +1,35 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: |@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: SUCCESS = 12500000|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: SUCCESS = 12500000|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: FAIL = 12500001|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: FAIL = 12500001|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: GENERAL_ERROR = 12500002|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: GENERAL_ERROR = 12500002|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: CANCELED = 12500003|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: CANCELED = 12500003|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: TIMEOUT = 12500004|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: TIMEOUT = 12500004|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: TYPE_NOT_SUPPORT = 12500005|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: TYPE_NOT_SUPPORT = 12500005|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 12500006|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 12500006|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: BUSY = 12500007|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: BUSY = 12500007|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: LOCKED = 12500009|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: LOCKED = 12500009|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Module name: ohos.userIAM.userAuth
Class name: UserAuthResultCode
Method or attribute name: NOT_ENROLLED = 12500010|@ohos.userIAM.userAuth.d.ts| +|Added|NA|Class name: UserAuthResultCode
Method or attribute name: NOT_ENROLLED = 12500010|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: SUCCESS = 12500000|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: FAIL = 12500001|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: GENERAL_ERROR = 12500002|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: CANCELED = 12500003|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: TIMEOUT = 12500004|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: TYPE_NOT_SUPPORT = 12500005|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: TRUST_LEVEL_NOT_SUPPORT = 12500006|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: BUSY = 12500007|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: LOCKED = 12500009|NA|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: NOT_ENROLLED = 12500010|NA|@ohos.userIAM.userAuth.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-web.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-web.md new file mode 100644 index 0000000000000000000000000000000000000000..1ff64980b5f1067e56622a8d7ed7b016897f8157 --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-web.md @@ -0,0 +1,64 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Module name: ohos.web.webview
Class name: WebCustomScheme|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebCustomScheme
Method or attribute name: |@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebCustomScheme
Method or attribute name: schemeName: string;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebCustomScheme
Method or attribute name: schemeName: string;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebCustomScheme
Method or attribute name: isSupportCORS: boolean;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebCustomScheme
Method or attribute name: isSupportCORS: boolean;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebCustomScheme
Method or attribute name: isSupportFetch: boolean;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebCustomScheme
Method or attribute name: isSupportFetch: boolean;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: webview
Method or attribute name: function once(type: string, callback: Callback): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: webview
Method or attribute name: function once(type: string, callback: Callback): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: HistoryItem|@ohos.web.webview.d.ts| +|Added|NA|Class name: HistoryItem
Method or attribute name: |@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: HistoryItem
Method or attribute name: icon: image.PixelMap;|@ohos.web.webview.d.ts| +|Added|NA|Class name: HistoryItem
Method or attribute name: icon: image.PixelMap;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: HistoryItem
Method or attribute name: historyUrl: string;|@ohos.web.webview.d.ts| +|Added|NA|Class name: HistoryItem
Method or attribute name: historyUrl: string;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: HistoryItem
Method or attribute name: historyRawUrl: string;|@ohos.web.webview.d.ts| +|Added|NA|Class name: HistoryItem
Method or attribute name: historyRawUrl: string;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: HistoryItem
Method or attribute name: title: string;|@ohos.web.webview.d.ts| +|Added|NA|Class name: HistoryItem
Method or attribute name: title: string;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: BackForwardList|@ohos.web.webview.d.ts| +|Added|NA|Class name: BackForwardList
Method or attribute name: |@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: BackForwardList
Method or attribute name: currentIndex: number;|@ohos.web.webview.d.ts| +|Added|NA|Class name: BackForwardList
Method or attribute name: currentIndex: number;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: BackForwardList
Method or attribute name: size: number;|@ohos.web.webview.d.ts| +|Added|NA|Class name: BackForwardList
Method or attribute name: size: number;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: BackForwardList
Method or attribute name: getItemAtIndex(index: number): HistoryItem;|@ohos.web.webview.d.ts| +|Added|NA|Class name: BackForwardList
Method or attribute name: getItemAtIndex(index: number): HistoryItem;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: static initializeWebEngine(): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: static initializeWebEngine(): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: pageUp(top:boolean): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: pageUp(top:boolean): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: pageDown(bottom:boolean): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: pageDown(bottom:boolean): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getOriginalUrl(): string;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: getOriginalUrl(): string;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getFavicon(): image.PixelMap;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: getFavicon(): image.PixelMap;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: setNetworkAvailable(enable: boolean): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: setNetworkAvailable(enable: boolean): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: hasImage(): Promise;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: hasImage(): Promise;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: hasImage(callback: AsyncCallback): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: hasImage(callback: AsyncCallback): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getBackForwardEntries(): BackForwardList;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: getBackForwardEntries(): BackForwardList;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: removeCache(clearRom: boolean): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: removeCache(clearRom: boolean): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: scrollTo(x:number, y:number): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: scrollTo(x:number, y:number): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: scrollBy(deltaX:number, deltaY:number): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: scrollBy(deltaX:number, deltaY:number): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: slideScroll(vx:number, vy:number): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: slideScroll(vx:number, vy:number): void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: serializeWebState() : Uint8Array;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: serializeWebState() : Uint8Array;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: restoreWebState(state: Uint8Array) : void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: restoreWebState(state: Uint8Array) : void;|@ohos.web.webview.d.ts| +|Added|NA|Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: static customizeSchemes(schemes: Array): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController
Method or attribute name: static customizeSchemes(schemes: Array): void;|@ohos.web.webview.d.ts| +|Function changed|Class name: WebMessagePort
Method or attribute name: postMessageEvent(message: string): void;
|Class name: WebMessagePort
Method or attribute name: postMessageEvent(message: WebMessage): void;
|@ohos.web.webview.d.ts| +|Function changed|Class name: WebMessagePort
Method or attribute name: onMessageEvent(callback: (result: string) => void): void;
|Class name: WebMessagePort
Method or attribute name: onMessageEvent(callback: (result: WebMessage) => void): void;
|@ohos.web.webview.d.ts| diff --git a/en/release-notes/api-change/v3.2-beta5/js-apidiff-window.md b/en/release-notes/api-change/v3.2-beta5/js-apidiff-window.md new file mode 100644 index 0000000000000000000000000000000000000000..adf3dc5f46b240274ff525dc2c47561a7281aaae --- /dev/null +++ b/en/release-notes/api-change/v3.2-beta5/js-apidiff-window.md @@ -0,0 +1,6 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: WindowStageEventType
Method or attribute name: SHOWN = 1|@ohos.window.d.ts| +|Added|NA|Class name: WindowStageEventType
Method or attribute name: HIDDEN|@ohos.window.d.ts| +|Deleted|Module name: ohos.window
Class name: WindowStageEventType
Method or attribute name: FOREGROUND = 1|NA|@ohos.window.d.ts| +|Deleted|Module name: ohos.window
Class name: WindowStageEventType
Method or attribute name: BACKGROUND|NA|@ohos.window.d.ts| diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md deleted file mode 100644 index a08c5a6f98327d255d722a2104a93c7e6be91733..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md +++ /dev/null @@ -1,180 +0,0 @@ -# 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\;** and **function createKVManager(config: KVManagerConfig, callback: AsyncCallback): 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\; | 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): void; -function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number): Promise; -``` -The APIs are migrated from **@ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts**. -``` -function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback): void; -function getRdbStore(context: Context, config: StoreConfig): Promise; -``` - -**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; -function deleteRdbStoreV9(context: Context, name: string): Promise; -``` -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; -function deleteRdbStoreV9(context: Context, name: string): Promise; -``` - -**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**. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-multimedia.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-multimedia.md deleted file mode 100644 index 4b223c8ac73a16fceaa2002167640f8aeb94fabd..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-multimedia.md +++ /dev/null @@ -1,53 +0,0 @@ -## 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| diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-camera-sync.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-camera-sync.md deleted file mode 100644 index c20c9e4c50f8de7ba2c8a0323f19d2000e4007ad..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-camera-sync.md +++ /dev/null @@ -1,522 +0,0 @@ -# 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): void;
function getCameraManager(context: Context): Promise; | Yes | Deprecated | -| ohos.multimedia.camera | CameraErrorCode | INVALID_ARGUMENT = 7400101,
OPERATION_NOT_ALLOWED = 7400102,
SESSION_NOT_CONFIG = 7400103,
SESSION_NOT_RUNNING = 7400104,
SESSION_CONFIG_LOCKED = 7400105,
DEVICE_SETTING_LOCKED = 7400106,
CONFILICT_CAMERA = 7400107,
DEVICE_DISABLED = 7400108,
SERVICE_FATAL_ERROR = 7400201 | Yes | Added | -| ohos.multimedia.camera | CameraManager | getSupportedCameras(): Array;
getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability;
createCameraInput(camera: CameraDevice): CameraInput;
createCameraInput(position: CameraPosition, type: CameraType): CameraInput;
createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput;
createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput;
createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput;
createMetadataOutput(metadataObjectTypes: Array): MetadataOutput;
createCaptureSession(): CaptureSession; | Yes | Added | -| ohos.multimedia.camera | CameraManager | getSupportedCameras(callback: AsyncCallback>): void;
getSupportedCameras(): Promise>;
getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback): void;
getSupportedOutputCapability(camera: CameraDevice): Promise;
createCameraInput(camera: CameraDevice, callback: AsyncCallback): void;
createCameraInput(camera: CameraDevice): Promise;
createCameraInput(position: CameraPosition, type: CameraType, callback: AsyncCallback): void;
createCameraInput(position: CameraPosition, type: CameraType): Promise;
createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;
createPreviewOutput(profile: Profile, surfaceId: string): Promise;
createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;
createPhotoOutput(profile: Profile, surfaceId: string): Promise;
createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback): void;
createVideoOutput(profile: VideoProfile, surfaceId: string): Promise;
createMetadataOutput(metadataObjectTypes: Array, callback: AsyncCallback): void;
createMetadataOutput(metadataObjectTypes: Array): Promise;
createCaptureSession(callback: AsyncCallback): void;
createCaptureSession(): Promise; | 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): void; | Yes | Added | -| ohos.multimedia.camera | CameraInput | release(callback: AsyncCallback): void;
release(): Promise;
on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | CameraInputErrorCode | ERROR_UNKNOWN = -1
ERROR_NO_PERMISSION = 0
ERROR_DEVICE_PREEMPTED = 1
ERROR_DEVICE_DISCONNECTED = 2
ERROR_DEVICE_IN_USE = 3
ERROR_DRIVER_ERROR = 4 | Yes | Deprecated | -| ohos.multimedia.camera | CameraInputError | code: CameraInputErrorCode | Yes | Deprecated | -| ohos.multimedia.camera | CaptureSession | beginConfig(): void;
addInput(cameraInput: CameraInput): void;
removeInput(cameraInput: CameraInput): void;
addOutput(cameraOutput: CameraOutput): void;
removeOutput(cameraOutput: CameraOutput): void;
hasFlash(): boolean;
isFlashModeSupported(flashMode: FlashMode): boolean;
getFlashMode(): FlashMode;
setFlashMode(flashMode: FlashMode): void;
isExposureModeSupported(aeMode: ExposureMode): boolean;
getExposureMode(): ExposureMode;
setExposureMode(aeMode: ExposureMode): void;
getMeteringPoint(): Point;
setMeteringPoint(point: Point): void;
getExposureBiasRange(): Array;
setExposureBias(exposureBias: number): void;
getExposureValue(): number;
isFocusModeSupported(afMode: FocusMode): boolean;
getFocusMode(): FocusMode;
setFocusMode(afMode: FocusMode): void;
setFocusPoint(point: Point): void;
getFocusPoint(): Point;
getFocalLength(): number;
getZoomRatioRange(): Array;
getZoomRatio(): number;
setZoomRatio(zoomRatio: number): void;
isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean;
getActiveVideoStabilizationMode(): VideoStabilizationMode;
setVideoStabilizationMode(mode: VideoStabilizationMode): void;
on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | CaptureSession | beginConfig(callback: AsyncCallback): void;
beginConfig(): Promise;
addInput(cameraInput: CameraInput, callback: AsyncCallback): void;
addInput(cameraInput: CameraInput): Promise;
removeInput(cameraInput: CameraInput, callback: AsyncCallback): void;
removeInput(cameraInput: CameraInput): Promise;
addOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
addOutput(cameraOutput: CameraOutput): Promise;
removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
removeOutput(cameraOutput: CameraOutput): Promise;
hasFlash(callback: AsyncCallback): void;
hasFlash(): Promise;
isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback): void;
isFlashModeSupported(flashMode: FlashMode): Promise;
getFlashMode(callback: AsyncCallback): void;
getFlashMode(): Promise;
setFlashMode(flashMode: FlashMode, callback: AsyncCallback): void;
setFlashMode(flashMode: FlashMode): Promise;
isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback): void;
isExposureModeSupported(aeMode: ExposureMode): Promise;
getExposureMode(callback: AsyncCallback): void;
getExposureMode(): Promise;
setExposureMode(aeMode: ExposureMode, callback: AsyncCallback): void;
setExposureMode(aeMode: ExposureMode): Promise;
getMeteringPoint(callback: AsyncCallback): void;
getMeteringPoint(): Promise;
setMeteringPoint(point: Point, callback: AsyncCallback): void;
setMeteringPoint(point: Point): Promise;
getExposureBiasRange(callback: AsyncCallback>): void;
getExposureBiasRange(): Promise>;
setExposureBias(exposureBias: number, callback: AsyncCallback): void;
setExposureBias(exposureBias: number): Promise;
getExposureValue(callback: AsyncCallback): void;
getExposureValue(): Promise;
isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback): void;
isFocusModeSupported(afMode: FocusMode): Promise;
getFocusMode(callback: AsyncCallback): void;
getFocusMode(): Promise;
setFocusMode(afMode: FocusMode, callback: AsyncCallback): void;
setFocusMode(afMode: FocusMode): Promise;
setFocusPoint(point: Point, callback: AsyncCallback): void;
setFocusPoint(point: Point): Promise;
getFocusPoint(callback: AsyncCallback): void;
getFocusPoint(): Promise;
getFocalLength(callback: AsyncCallback): void;
getFocalLength(): Promise;
getZoomRatioRange(callback: AsyncCallback>): void;
getZoomRatioRange(): Promise>;
getZoomRatio(callback: AsyncCallback): void;
getZoomRatio(): Promise;
setZoomRatio(zoomRatio: number, callback: AsyncCallback): void;
setZoomRatio(zoomRatio: number): Promise;
isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode, callback: AsyncCallback): void;
isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise;
getActiveVideoStabilizationMode(callback: AsyncCallback): void;
getActiveVideoStabilizationMode(): Promise;
setVideoStabilizationMode(mode: VideoStabilizationMode, callback: AsyncCallback): void;
setVideoStabilizationMode(mode: VideoStabilizationMode): Promise;
on(type: 'error', callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | CaptureSessionErrorCode | ERROR_UNKNOWN = -1
ERROR_INSUFFICIENT_RESOURCES = 0
ERROR_TIMEOUT = 1 | Yes | Deprecated | -| ohos.multimedia.camera | CaptureSessionError | code: CaptureSessionErrorCode | Yes | Deprecated | -| ohos.multimedia.camera | PreviewOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | PreviewOutput | on(type: 'error', callback: ErrorCallback): 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;
isMirrorSupported(): boolean;
on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | PhotoOutput | isMirrorSupported(callback: AsyncCallback): void;
isMirrorSupported(): Promise;
on(type: 'error', callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_UNKNOWN = -1
ERROR_DRIVER_ERROR = 0
ERROR_INSUFFICIENT_RESOURCES = 1
ERROR_TIMEOUT = 2 | Yes | Deprecated | -| ohos.multimedia.camera | PhotoOutputError | code: PhotoOutputErrorCode | Yes | Deprecated | -| ohos.multimedia.camera | VideoOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | VideoOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | VideoOutputErrorCode | ERROR_UNKNOWN = -1
ERROR_DRIVER_ERROR = 0 | Yes | Deprecated | -| ohos.multimedia.camera | VideoOutputError | code: VideoOutputErrorCode | Yes | Deprecated | -| ohos.multimedia.camera | MetadataObject | readonly type: MetadataObjectType;
readonly timestamp: number; | Yes | Added | -| ohos.multimedia.camera | MetadataObject | getType(callback: AsyncCallback): void;
getType(): Promise;
getTimestamp(callback: AsyncCallback): void;
getTimestamp(): Promise;
getBoundingBox(callback: AsyncCallback): void;
getBoundingBox(): Promise; | Yes | Deprecated | -| ohos.multimedia.camera | MetadataFaceObject | readonly boundingBox: Rect | Yes | Added | -| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | MetadataOutputErrorCode | ERROR_UNKNOWN = -1
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** 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** and **release(): Promise** 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): void** in the **MetadataObject** API. - -13. Deprecated **getType(): Promise** in the **MetadataObject** API. - -14. Deprecated **getTimestamp(callback: AsyncCallback): void** in the **MetadataObject** API. - -15. Deprecated **getTimestamp(): Promise** in the **MetadataObject** API. - -16. Deprecated **getBoundingBox(callback: AsyncCallback): void** in the **MetadataObject** API. - -17. Deprecated **getBoundingBox(): Promise** 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): void** and **getCameraManager(context: Context): Promise** 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>): void** and **getSupportedCameras(): Promise>** are changed to **getSupportedCameras(): Array**. - - 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): void** and **getSupportedOutputCapability(camera: CameraDevice): Promise** 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): void** and **createCameraInput(camera: CameraDevice): Promise** 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): void** and **createCameraInput(position: CameraPosition, type: CameraType): Promise** 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): void** and **createPreviewOutput(profile: Profile, surfaceId: string): Promise** 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): void** and **createPhotoOutput(profile: Profile, surfaceId: string): Promise** 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): void** and **createVideoOutput(profile: VideoProfile, surfaceId: string): Promise** 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, callback: AsyncCallback): void** and **createMetadataOutput(metadataObjectTypes: Array): Promise** are changed to **createMetadataOutput(metadataObjectTypes: Array): 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): void** and **createCaptureSession(): Promise** 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): void** is changed to **on(type: 'error', camera: CameraDevice, callback: ErrorCallback): 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** and **beginConfig(): Promise** 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** and **addInput(cameraInput: CameraInput): Promise** 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** and **removeInput(cameraInput: CameraInput): Promise** 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** and **addOutput(cameraOutput: CameraOutput): Promise** 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** and **removeOutput(cameraOutput: CameraOutput): Promise** 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): void** and **hasFlash(): Promise** 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): void** and **isFlashModeSupported(flashMode: FlashMode): Promise** 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): void** and **getFlashMode(): Promise** 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): void** and **isExposureModeSupported(aeMode: ExposureMode): Promise** 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): void** and **getExposureMode(): Promise** 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** and **setExposureMode(aeMode: ExposureMode): Promise** 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): void** and **getMeteringPoint(): Promise** 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** and **setMeteringPoint(point: Point): Promise** 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>): void** and **getExposureBiasRange(): Promise>** are changed to **getExposureBiasRange(): Array**. - - 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** and **setExposureBias(exposureBias: number): Promise** 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): void** and **getExposureValue(): Promise** 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): void** and **isFocusModeSupported(afMode: FocusMode): Promise** 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): void** and **getFocusMode(): Promise** 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** and **setFocusMode(afMode: FocusMode): Promise** 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** and **setFocusPoint(point: Point): Promise** 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): void** and **getFocusPoint(): Promise** 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): void** and **getFocalLength(): Promise** 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>): void** and **getZoomRatioRange(): Promise>** are changed to **getZoomRatioRange(): Array**. - - 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): void** and **getZoomRatio(): Promise** 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** and **setZoomRatio(zoomRatio: number): Promise** 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): void** and **isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise** 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): void** and **getActiveVideoStabilizationMode(): Promise** 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** and **setVideoStabilizationMode(mode: VideoStabilizationMode): Promise** 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** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - captureSession.on('error', (BusinessError) => { - - }) - ``` - -42. Changed the **on(type:'error') callback** type in PreviewOutput, from **ErrorCallback** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): 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): void** and **isMirrorSupported(): Promise** 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** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - PhotoOutput.on('error', (BusinessError) => { - - }) - ``` - -45. Changed the **on(type:'error') callback** type in VideoOutput, from **ErrorCallback** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - VideoOutput.on('error', (BusinessError) => { - - }) - ``` - -46. Changed the **on(type:'error') callback** type in MetadataOutput, from **ErrorCallback** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - MetadataOutput.on('error', (BusinessError) => { - - }) - ``` \ No newline at end of file diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-arkui.md deleted file mode 100644 index 3e4d9a57601c4d8b930451927c91bb209c4954b9..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-arkui.md +++ /dev/null @@ -1,217 +0,0 @@ -# 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). diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-bundlemanager.md deleted file mode 100644 index e0f29bcac24ac3261ae12ea6810ab5da6c4907b8..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-bundlemanager.md +++ /dev/null @@ -1,41 +0,0 @@ -# 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 diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-media.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-media.md deleted file mode 100644 index 01455e8774555943174a21a80f343b607a4a0069..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-media.md +++ /dev/null @@ -1,314 +0,0 @@ -# Media Subsystem ChangeLog - -## cl.media.1 API Change of the Playback Function - -Added the [AVPlayer](../../../application-dev/reference/apis/js-apis-media.md#avplayer9)9+ 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)6+ and [VideoPlayer](../../../application-dev/reference/apis/js-apis-media.md#videoplayer)8+. - -**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\): void | -| media | createAVPlayer() : Promise\ | -| media.AVPlayer | interface AVPlayer | -| media.AVPlayer | videoScaleType ?: VideoScaleType | -| media.AVPlayer | url ?: string | -| media.AVPlayer | surfaceId ?: string | -| media.AVPlayer | stop(callback: AsyncCallback\): void | -| media.AVPlayer | stop(): Promise\ | -| 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 | -| media.AVPlayer | reset(): Promise\ | -| media.AVPlayer | release(callback: AsyncCallback\): void | -| media.AVPlayer | release(): Promise\ | -| 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 | -| media.AVPlayer | prepare(): Promise\ | -| media.AVPlayer | play(callback: AsyncCallback\): void | -| media.AVPlayer | play(): Promise\ | -| media.AVPlayer | pause(callback: AsyncCallback\): void | -| media.AVPlayer | pause(): Promise\ | -| media.AVPlayer | on(type: 'volumeChange', callback: Callback\): void | -| media.AVPlayer | on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void | -| media.AVPlayer | on(type: 'timeUpdate', callback: Callback\): void | -| media.AVPlayer | on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void | -| media.AVPlayer | on(type: 'startRenderFrame', callback: Callback\): void | -| media.AVPlayer | on(type: 'speedDone', callback: Callback\): void | -| media.AVPlayer | on(type: 'seekDone', callback: Callback\): void | -| media.AVPlayer | on(type: 'error', callback: ErrorCallback): void | -| media.AVPlayer | on(type: 'endOfStream', callback: Callback\): void | -| media.AVPlayer | on(type: 'durationUpdate', callback: Callback\): void | -| media.AVPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void | -| media.AVPlayer | on(type: 'bitrateDone', callback: Callback\): void | -| media.AVPlayer | on(type: 'availableBitrates', callback: (bitrates: Array\) => 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\>): void | -| media.AVPlayer | getTrackDescription() : Promise\> | -| 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\): void | -| media | createVideoPlayer() : Promise\ | -| 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\>): void | -| media.AudioPlayer | getTrackDescription() : Promise\> | -| 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\): 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 | -| media.VideoPlayer | play(): Promise\ | -| media.VideoPlayer | prepare(callback: AsyncCallback\): void | -| media.VideoPlayer | prepare(): Promise\ | -| media.VideoPlayer | release(callback: AsyncCallback\): void | -| media.VideoPlayer | release(): Promise\ | -| media.VideoPlayer | audioInterruptMode ?: audio.InterruptMode | -| media.VideoPlayer | fdSrc: AVFileDescriptor | -| media.VideoPlayer | seek(timeMs: number, callback: AsyncCallback\): void | -| media.VideoPlayer | seek(timeMs: number, mode:SeekMode, callback: AsyncCallback\): void | -| media.VideoPlayer | seek(timeMs: number, mode?:SeekMode): Promise\ | -| media.VideoPlayer | readonly duration: number | -| media.VideoPlayer | loop: boolean | -| media.VideoPlayer | videoScaleType ?: VideoScaleType | -| media.VideoPlayer | readonly state: VideoPlayState | -| media.VideoPlayer | getTrackDescription(callback: AsyncCallback\>): void | -| media.VideoPlayer | getTrackDescription() : Promise\> | -| media.VideoPlayer | readonly height: number | -| media.VideoPlayer | on(type: 'playbackCompleted', callback: Callback\): void | -| media.VideoPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void | -| media.VideoPlayer | on(type: 'startRenderFrame', callback: Callback\): 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 | -| media.VideoPlayer | setDisplaySurface(surfaceId: string): Promise\ | -| media.VideoPlayer | setVolume(vol: number, callback: AsyncCallback\): void | -| media.VideoPlayer | setVolume(vol: number): Promise\ | -| media.VideoPlayer | url: string | -| media.VideoPlayer | pause(callback: AsyncCallback\): void | -| media.VideoPlayer | pause(): Promise\ | -| media.VideoPlayer | readonly currentTime: number | -| media.VideoPlayer | setSpeed(speed:number, callback: AsyncCallback\): void | -| media.VideoPlayer | setSpeed(speed:number): Promise\ | -| media.VideoPlayer | stop(callback: AsyncCallback\): void | -| media.VideoPlayer | stop(): Promise\ | -| media.VideoPlayer | readonly width: number | -| media.VideoPlayer | reset(callback: AsyncCallback\): void | -| media.VideoPlayer | reset(): Promise\ | -| 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)9+ 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)6+ and [VideoRecorder](../../../application-dev/reference/apis/js-apis-media.md#videorecorder9)9+. - -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)6+ and [VideoRecorder](../../../application-dev/reference/apis/js-apis-media.md#videorecorder9)9+ 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)9+ API instead. - -**Key API/Component Changes** - -Added APIs - -| Class | Declaration | -| ----------------------- | ------------------------------------------------------------ | -| media | createAVRecorder(callback: AsyncCallback\): void | -| media | createAVRecorder() : Promise\ | -| media.AVRecorder | interface AVRecorder | -| media.AVRecorder | prepare(config: AVRecorderConfig, callback: AsyncCallback\): void | -| media.AVRecorder | prepare(config: AVRecorderConfig): Promise\ | -| media.AVRecorder | release(callback: AsyncCallback\): void | -| media.AVRecorder | release(): Promise\ | -| 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 | -| media.AVRecorder | resume(): Promise\ | -| media.AVRecorder | start(callback: AsyncCallback\): void | -| media.AVRecorder | start(): Promise\ | -| media.AVRecorder | off(type: 'stateChange'): void | -| media.AVRecorder | off(type: 'error'): void | -| media.AVRecorder | pause(callback: AsyncCallback\): void | -| media.AVRecorder | pause(): Promise\ | -| media.AVRecorder | stop(callback: AsyncCallback\): void | -| media.AVRecorder | stop(): Promise\ | -| media.AVRecorder | reset(callback: AsyncCallback\): void | -| media.AVRecorder | reset(): Promise\ | -| media.AVRecorder | getInputSurface(callback: AsyncCallback\): void | -| media.AVRecorder | getInputSurface(): Promise\ | -| 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\): void | -| media | createVideoRecorder(): Promise\ | -| 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 | -| media.VideoRecorder | prepare(config: VideoRecorderConfig): Promise\ | -| media.VideoRecorder | release(callback: AsyncCallback\): void | -| media.VideoRecorder | release(): Promise\ | -| media.VideoRecorder | readonly state: VideoRecordState | -| media.VideoRecorder | on(type: 'error', callback: ErrorCallback): void | -| media.VideoRecorder | resume(callback: AsyncCallback\): void | -| media.VideoRecorder | resume(): Promise\ | -| media.VideoRecorder | start(callback: AsyncCallback\): void | -| media.VideoRecorder | start(): Promise\ | -| media.VideoRecorder | pause(callback: AsyncCallback\): void | -| media.VideoRecorder | pause(): Promise\ | -| media.VideoRecorder | stop(callback: AsyncCallback\): void | -| media.VideoRecorder | stop(): Promise\ | -| media.VideoRecorder | reset(callback: AsyncCallback\): void | -| media.VideoRecorder | reset(): Promise\ | -| media.VideoRecorder | getInputSurface(callback: AsyncCallback\): void | -| media.VideoRecorder | getInputSurface(): Promise\ | -| 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)9+ that replaces the original error code enumeration type [MediaErrorCode](../../../application-dev/reference/apis/js-apis-media.md#mediaerrorcode)8+. - -**Change Impacts** - -The error code enumeration type [MediaErrorCode](../../../application-dev/reference/apis/js-apis-media.md#mediaerrorcode)8+ is still used for original APIs. [AVErrorCode9](../../../application-dev/reference/apis/js-apis-media.md#averrorcode)9+ 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 newline at end of file diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-useriam.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-useriam.md deleted file mode 100644 index a3abb3143332e234f4583eaffc95aed632cb5260..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-useriam.md +++ /dev/null @@ -1,17 +0,0 @@ -# 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**. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-window.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-window.md deleted file mode 100644 index b3514e82cca44c154a70b999e6cc62a54d47ff92..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-window.md +++ /dev/null @@ -1,63 +0,0 @@ -# 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** - -## WindowStageEventType9+ - -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)); - }; - } -}; -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-request.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-request.md deleted file mode 100644 index f5d0e2eb9849c362fc25c6c106c127aeacfdd471..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-request.md +++ /dev/null @@ -1,42 +0,0 @@ -# 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\): void; -2. function download(context: BaseContext, config: DownloadConfig): Promise\; -3. function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback\): void; -4. function upload(context: BaseContext, config: UploadConfig): Promise\; - -**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\): void; | Deleted | -| ohos.request | request | function download(context: BaseContext, config: DownloadConfig): Promise\; | Deleted | -| ohos.request | request | function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback\): void; | Deleted | -| ohos.request | request | function upload(context: BaseContext, config: UploadConfig): Promise\; | 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); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-telephony.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-telephony.md deleted file mode 100644 index f01e76ad64807d79f1c84f249d01df9b9afdddd4..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-telephony.md +++ /dev/null @@ -1,59 +0,0 @@ -# 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); -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-security.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-security.md deleted file mode 100644 index caf1866f3a5caec4bb78d7f7991208f8c9da46e9..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-security.md +++ /dev/null @@ -1,86 +0,0 @@ -# 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"); -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-telephony.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-telephony.md deleted file mode 100644 index cbf132c8c2740d900ccd9582eb317321f6b27190..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-telephony.md +++ /dev/null @@ -1,223 +0,0 @@ -# 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; - function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback): void; - function reject(callId?: number, options?: RejectMessageOptions): Promise; - function reject(callback: AsyncCallback): void; - function reject(options: RejectMessageOptions, callback: AsyncCallback): void; -``` - -- Before change: - -```js - function reject(callId: number, callback: AsyncCallback): void; - function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback): void; - function reject(callId?: number, options?: RejectMessageOptions): Promise; - function reject(callback: AsyncCallback): void; - function reject(options: RejectMessageOptions, callback: AsyncCallback): void; -``` - -- After change: - -```js - function rejectCall(callId: number, callback: AsyncCallback): void; - function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback): void; - function rejectCall(callId?: number, options?: RejectMessageOptions): Promise; - function rejectCall(callback: AsyncCallback): void; - function rejectCall(options: RejectMessageOptions, callback: AsyncCallback): 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; - function answer(callId?: number): Promise; - function answer(callback: AsyncCallback): void; -``` - -- Before change: - -```js - function answer(callId: number, callback: AsyncCallback): void; - function answer(callId?: number): Promise; - function answer(callback: AsyncCallback): void; -``` - -- After change: - -```js - function answerCall(callId: number, callback: AsyncCallback): void; - function answerCall(callId?: number): Promise; - function answerCall(callback: AsyncCallback): 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; - function hangup(callId?: number): Promise; - function hangup(callback: AsyncCallback): void; -``` - -- Before change: - -```js - function hangup(callId: number, callback: AsyncCallback): void; - function hangup(callId?: number): Promise; - function hangup(callback: AsyncCallback): void; -``` - -- After change: - -```js - function hangUpCall(callId: number, callback: AsyncCallback): void; - function hangUpCall(callId?: number): Promise; - function hangUpCall(callback: AsyncCallback): 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)}`); -}); -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-web.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-web.md deleted file mode 100644 index 806f1270619d8aec7e7efcf95f41b7a45cc602e8..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-web.md +++ /dev/null @@ -1,467 +0,0 @@ -# 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\): void - -- Before change: - - ```ts - loadUrl(url: string | Resource, headers?: Array): void - ``` - -- After change: - - ```ts - loadUrl(url: string | Resource, headers?: Array): 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; - static saveCookieAsync(callback: AsyncCallback): 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\; - 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; - 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; - postMessage(name: string, ports: Array, 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\; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback\): void; - -- Before change: - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback): void; - ``` - -- After change: - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback): 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 }) - } - } - } - ``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-telephony.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-telephony.md deleted file mode 100644 index 7a5866bc47b955ff9c8ac00e8a1d9c4043c67b3a..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-telephony.md +++ /dev/null @@ -1,76 +0,0 @@ -# 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): void; - dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback): void; - dial(phoneNumber: string, options?: DialOptions): Promise; -``` - -- Before change: - -```js -function dial(phoneNumber: string, callback: AsyncCallback): void; -function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback): void; -function dial(phoneNumber: string, options?: DialOptions): Promise; -``` - -- After change: - -```js -function dialCall(phoneNumber: string, callback: AsyncCallback): void; -function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback): void; -function dialCall(phoneNumber: string, options?: DialCallOptions): Promise; -``` - - - -**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)}`); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md deleted file mode 100644 index c9514a515412e1d6b765558272650f2c20cac5af..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md +++ /dev/null @@ -1,103 +0,0 @@ -# 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<KeyCode>, callback: AsyncCallback<Array<boolean>>): void; - - supportKeys(deviceId: number, keys: Array<KeyCode>): Promise<Array<boolean>>; - - getKeyboardType(deviceId: number, callback: AsyncCallback<KeyboardType>): void; > - - getKeyboardType(deviceId: number): Promise<KeyboardType>; - - setPointerSpeed(speed: number, callback: AsyncCallback<void>): void; - - setPointerSpeed(speed: number): Promise<void>; - - getPointerSpeed(callback: AsyncCallback<number>): void; - - getPointerSpeed(): Promise<number>; - - setPointerStyle(windowId: number, pointerStyle: PointerStyle, callback: AsyncCallback<void>): void; - - setPointerStyle(windowId: number, pointerStyle: PointerStyle): Promise<void>; - - getPointerStyle(windowId: number, callback: AsyncCallback<PointerStyle>): void; - - getPointerStyle(windowId: number): Promise<PointerStyle>; - - setPointerVisible(visible: boolean, callback: AsyncCallback<void>): void; - - setPointerVisible(visible: boolean): Promise<void>; - - isPointerVisible(callback: AsyncCallback<boolean>): void; - - isPointerVisible(): Promise<boolean>; - - on(type:"touch", receiver:TouchEventReceiver):void; - - on(type:"mouse", receiver:Callback<MouseEvent>):void; - - off(type:"touch", receiver?:TouchEventReceiver):void; - - off(type:"mouse", receiver?:Callback<MouseEvent>):void; - - injectEvent({KeyEvent: KeyEvent}): void; - - enable(enable: boolean, callback: AsyncCallback<void>): void; - - enable(enable: boolean): Promise<void>; - - start(sinkDeviceDescriptor: string, srcInputDeviceId: number, callback: AsyncCallback<void>): void; - - start(sinkDeviceDescriptor: string, srcInputDeviceId: number): Promise<void>; - - stop(callback: AsyncCallback<void>): void; - - stop(): Promise<void>; - - getState(deviceDescriptor: string, callback: AsyncCallback<{ state: boolean }>): void; - - getState(deviceDescriptor: string): Promise<{ state: boolean }>; - - on(type: 'cooperation', callback: AsyncCallback<{ deviceDescriptor: string, eventMsg: EventMsg }>): void; - - off(type: 'cooperation', callback?: AsyncCallback<void>): void; - - on(type: "key", keyOptions: KeyOptions, callback: Callback<KeyOptions>): void; - - off(type: "key", keyOptions: KeyOptions, callback?: Callback<KeyOptions>): void; - -Deprecated APIs: - - getDeviceIds(callback: AsyncCallback<Array<number>>): void; - - getDeviceIds(): Promise<Array<number>>; - - getDevice(deviceId: number, callback: AsyncCallback<InputDeviceData>): void; - - getDevice(deviceId: number): Promise<InputDeviceData>; - -Substitute APIs: - - getDeviceList(callback: AsyncCallback<Array<number>>): void; - - getDeviceList(): Promise<Array<number>>; - - getDeviceInfo(deviceId: number, callback: AsyncCallback<InputDeviceData>): void; - - getDeviceInfo(deviceId: number): Promise<InputDeviceData>; - -Changed APIs: - -Before change: - - supportKeys(deviceId: number, keys: Array<KeyCode>, callback: Callback<Array<boolean>>): void; - - getKeyboardType(deviceId: number, callback: Callback<KeyboardType>): void; - -After change: - - supportKeys(deviceId: number, keys: Array<KeyCode>, callback: AsyncCallback<Array<boolean>>): void; - - getKeyboardType(deviceId: number, callback: AsyncCallback<KeyboardType>): 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`])}`); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-ability.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-ability.md deleted file mode 100644 index ae3d6a17cce9d488dff3f84765ca9f2cfc2260fe..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-ability.md +++ /dev/null @@ -1,373 +0,0 @@ -# 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; - - startAbility(want: Want, options: StartOptions, callback: AsyncCallback): void; - - startAbility(want: Want, options?: StartOptions): Promise; - - startAbilityByCall(want: Want): Promise; - - startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void; - - startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback): void; - - startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise; - - startAbilityForResult(want: Want, callback: AsyncCallback): void; - - startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback): void; - - startAbilityForResult(want: Want, options?: StartOptions): Promise; - - startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback): void; - - startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback): void; - - startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise; - - startServiceExtensionAbility(want: Want, callback: AsyncCallback): void; - - startServiceExtensionAbility(want: Want): Promise; - - startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void; - - startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise; - - stopServiceExtensionAbility(want: Want, callback: AsyncCallback): void; - - stopServiceExtensionAbility(want: Want): Promise; - - stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void; - - stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise; - - connectAbility(want: Want, options: ConnectOptions): number; - - connectAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number; - - createDataShareHelper(context: Context, uri: string, callback: AsyncCallback): void - - FA model - - startAbility(parameter: StartAbilityParameter, callback: AsyncCallback): void; - - startAbility(parameter: StartAbilityParameter): Promise; - - startAbilityForResult(parameter: StartAbilityParameter, callback: AsyncCallback): void; - - startAbilityForResult(parameter: StartAbilityParameter): Promise; - - 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; - - startAbilityByCall(want: Want): Promise; - - startAbilityForResult(want: Want, callback: AsyncCallback): void; - - connectAbility(want: Want, options: ConnectOptions): number; - - FA model - - startAbility(parameter: StartAbilityParameter, callback: AsyncCallback): void; - - startAbility(parameter: StartAbilityParameter): Promise; - - startAbilityForResult(parameter: StartAbilityParameter, callback: AsyncCallback): void; - - startAbilityForResult(parameter: StartAbilityParameter): Promise; - - 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 | diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-account_os_account.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-account_os_account.md deleted file mode 100644 index df7cbf93cd13a7cc4dfc04fb9aec4b112633035a..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-account_os_account.md +++ /dev/null @@ -1,124 +0,0 @@ -# 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<number>): void; - - setProperty(request: SetPropertyRequest): Promise<number>; - - cancelAuth(contextID: Uint8Array): number; - - class PINAuth - - registerInputer(inputer: Inputer): boolean; - - UserIdentityManager - - cancel(challenge: Uint8Array): number; - -After change: - - class UserAuth - - setProperty(request: SetPropertyRequest, callback: AsyncCallback<void>): void; - - setProperty(request: SetPropertyRequest): Promise<void>; - - 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" - ] - } - } - }] -} diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-notification.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-notification.md deleted file mode 100644 index b7a670a8a4de3f8674194bd2dcc0cdc13e2e2d17..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-notification.md +++ /dev/null @@ -1,64 +0,0 @@ -# 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 | diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-x-x.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-x-x.md deleted file mode 100644 index 3ac3e83268d2ac247676cd313d5b5e45d195ea2b..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-x-x.md +++ /dev/null @@ -1,33 +0,0 @@ -# *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 -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md deleted file mode 100644 index 80e5645eba71f86ec75134e366d436164a961802..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md +++ /dev/null @@ -1,126 +0,0 @@ -# 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. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-telephony.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-telephony.md deleted file mode 100644 index a2a022040a775eeae466e34cc61d26924073b395..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-telephony.md +++ /dev/null @@ -1,59 +0,0 @@ -# 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): void; - isImsSmsSupported(): Promise; - -- Before change: - -```js -function isImsSmsSupported(callback: AsyncCallback): void; -function isImsSmsSupported(): Promise; -``` - -- After change: - -```js -function isImsSmsSupported(slotId: number, callback: AsyncCallback): void; -function isImsSmsSupported(slotId: number): Promise; -``` - -**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)}`); -}); -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.2/changelog-x-x.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.2/changelog-x-x.md deleted file mode 100644 index 3ac3e83268d2ac247676cd313d5b5e45d195ea2b..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.2/changelog-x-x.md +++ /dev/null @@ -1,33 +0,0 @@ -# *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 -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.3/changelog-x-x.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.3/changelog-x-x.md deleted file mode 100644 index 3ac3e83268d2ac247676cd313d5b5e45d195ea2b..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.3/changelog-x-x.md +++ /dev/null @@ -1,33 +0,0 @@ -# *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 -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-testfwk_arkxtest.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-testfwk_arkxtest.md deleted file mode 100644 index 1206d659402df80e9892ca3e7b4eba1e729c9357..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-testfwk_arkxtest.md +++ /dev/null @@ -1,42 +0,0 @@ -# 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 - -### Rect9+ - -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` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-usb.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-usb.md deleted file mode 100644 index 909d8f69d6c116ced05232af8f3801de89282cfd..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-usb.md +++ /dev/null @@ -1,37 +0,0 @@ -# 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**. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-security.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-security.md deleted file mode 100644 index caf1866f3a5caec4bb78d7f7991208f8c9da46e9..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-security.md +++ /dev/null @@ -1,86 +0,0 @@ -# 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"); -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-sensor.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-sensor.md deleted file mode 100644 index 7a2e2946d69a0f116616152cd82eb8a2bae96c58..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-sensor.md +++ /dev/null @@ -1,49 +0,0 @@ -# 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**. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-web.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-web.md deleted file mode 100644 index 44380d11950e3f018b719776edf08964d6b4c0af..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-web.md +++ /dev/null @@ -1,467 +0,0 @@ -# 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\): void - -- Before change: - - ```ts - loadUrl(url: string | Resource, headers?: Array): void - ``` - -- After change: - - ```ts - loadUrl(url: string | Resource, headers?: Array): 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; - static saveCookieAsync(callback: AsyncCallback): 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\; - 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; - 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; - postMessage(name: string, ports: Array, 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\; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback\): void; - -- Before change: - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback): void; - ``` - -- After change: - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback): 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 }) - } - } - } - ``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-power.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-power.md deleted file mode 100644 index c4506242ea6b189ec9a403e0b5ce85d2490f1b34..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-power.md +++ /dev/null @@ -1,82 +0,0 @@ -# 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. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md deleted file mode 100644 index 506d8dccccf8f89a173b036c1bff4750af34b59d..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md +++ /dev/null @@ -1,15 +0,0 @@ -# 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 -```