操作 旧版本 新版本 d.ts文件
删除 类名:formHost;
方法or属性:function getRunningFormInfos(callback: AsyncCallback<Array<formInfo.RunningFormInfo>>, hostBundleName?: string): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function getRunningFormInfos(hostBundleName?: string): Promise<Array<formInfo.RunningFormInfo>>;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function on(type: 'formAdd', observerCallback: Callback<formInfo.RunningFormInfo>, bundleName?: string): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function on(type: 'formRemove', observerCallback: Callback<formInfo.RunningFormInfo>, bundleName?: string): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function on(
type: 'notifyVisible',
observerCallback: Callback<Array<formInfo.RunningFormInfo>>,
hostBundleName?: string
): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function on(
type: 'notifyInvisible',
observerCallback: Callback<Array<formInfo.RunningFormInfo>>,
hostBundleName?: string
): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function off(type: 'formAdd', observerCallback?: Callback<formInfo.RunningFormInfo>, bundleName?: string): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function off(type: 'formRemove', observerCallback?: Callback<formInfo.RunningFormInfo>, bundleName?: string): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function off(
type: 'notifyVisible',
observerCallback?: Callback<Array<formInfo.RunningFormInfo>>,
hostBundleName?: string
): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function off(
type: 'notifyInvisible',
observerCallback?: Callback<Array<formInfo.RunningFormInfo>>,
hostBundleName?: string
): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function getRunningFormInfosByFilter(
formProviderFilter: formInfo.FormProviderFilter
): Promise<Array<formInfo.RunningFormInfo>>;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function getRunningFormInfosByFilter(
formProviderFilter: formInfo.FormProviderFilter,
callback: AsyncCallback<Array<formInfo.RunningFormInfo>>
): void;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function getRunningFormInfoById(formId: string): Promise<formInfo.RunningFormInfo>;
NA @ohos.app.form.formHost.d.ts
删除 类名:formHost;
方法or属性:function getRunningFormInfoById(formId: string, callback: AsyncCallback<formInfo.RunningFormInfo>): void;
NA @ohos.app.form.formHost.d.ts
新增 NA 类名:appManager;
方法or属性:export type ProcessData = _ProcessData.default;
@ohos.app.ability.appManager.d.ts
新增 NA 类名:common;
方法or属性:export type UIExtensionContext = _UIExtensionContext.default;
@ohos.app.ability.common.d.ts
新增 NA 类名:UIExtensionContentSession;
方法or属性:startAbility(want: Want, callback: AsyncCallback<void>): void;
@ohos.app.ability.UIExtensionContentSession.d.ts
新增 NA 类名:UIExtensionContentSession;
方法or属性:startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void>): void;
@ohos.app.ability.UIExtensionContentSession.d.ts
新增 NA 类名:UIExtensionContentSession;
方法or属性:startAbility(want: Want, options?: StartOptions): Promise<void>;
@ohos.app.ability.UIExtensionContentSession.d.ts
新增 NA 类名:UIExtensionContentSession;
方法or属性:startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): void;
@ohos.app.ability.UIExtensionContentSession.d.ts
新增 NA 类名:UIExtensionContentSession;
方法or属性:startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback<AbilityResult>): void;
@ohos.app.ability.UIExtensionContentSession.d.ts
新增 NA 类名:UIExtensionContentSession;
方法or属性:startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityResult>;
@ohos.app.ability.UIExtensionContentSession.d.ts
新增 NA 类名:Flags;
方法or属性:FLAG_AUTH_PERSISTABLE_URI_PERMISSION = 0x00000040
@ohos.app.ability.wantConstant.d.ts
新增 NA 类名:formObserver;
方法or属性:function on(type: 'formAdd', observerCallback: Callback<formInfo.RunningFormInfo>): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function on(type: 'formAdd', hostBundleName: string, observerCallback: Callback<formInfo.RunningFormInfo>): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function on(type: 'formRemove', observerCallback: Callback<formInfo.RunningFormInfo>): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function on(type: 'formRemove', hostBundleName: string, observerCallback: Callback<formInfo.RunningFormInfo>): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function on(type: 'notifyVisible', observerCallback: Callback<Array<formInfo.RunningFormInfo>>): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function on(
type: 'notifyVisible',
hostBundleName: string,
observerCallback: Callback<Array<formInfo.RunningFormInfo>>
): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function on(type: 'notifyInvisible', observerCallback: Callback<Array<formInfo.RunningFormInfo>>): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function on(
type: 'notifyInvisible',
hostBundleName: string,
observerCallback: Callback<Array<formInfo.RunningFormInfo>>,
): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function off(type: 'formAdd', hostBundleName?: string, observerCallback?: Callback<formInfo.RunningFormInfo>): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function off(type: 'formRemove', hostBundleName?: string, observerCallback?: Callback<formInfo.RunningFormInfo>): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function off(
type: 'notifyVisible',
hostBundleName?: string,
observerCallback?: Callback<Array<formInfo.RunningFormInfo>>
): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function off(
type: 'notifyInvisible',
hostBundleName?: string,
observerCallback?: Callback<Array<formInfo.RunningFormInfo>>
): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function getRunningFormInfos(callback: AsyncCallback<Array<formInfo.RunningFormInfo>>, hostBundleName?: string): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function getRunningFormInfos(hostBundleName?: string): Promise<Array<formInfo.RunningFormInfo>>;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function getRunningFormInfosByFilter(
formProviderFilter: formInfo.FormProviderFilter
): Promise<Array<formInfo.RunningFormInfo>>;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function getRunningFormInfosByFilter(
formProviderFilter: formInfo.FormProviderFilter,
callback: AsyncCallback<Array<formInfo.RunningFormInfo>>
): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function getRunningFormInfoById(formId: string): Promise<formInfo.RunningFormInfo>;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:formObserver;
方法or属性:function getRunningFormInfoById(formId: string, callback: AsyncCallback<formInfo.RunningFormInfo>): void;
@ohos.app.form.formObserver.d.ts
新增 NA 类名:continuationManager;
方法or属性:export type ContinuationResult = _ContinuationResult;
@ohos.continuation.continuationManager.d.ts
新增 NA 类名:continuationManager;
方法or属性:export type ContinuationExtraParams = _ContinuationExtraParams;
@ohos.continuation.continuationManager.d.ts
新增 NA 类名:distributedMissionManager;
方法or属性:export type ContinueCallback = _ContinueCallback;
@ohos.distributedMissionManager.d.ts
新增 NA 类名:distributedMissionManager;
方法or属性:export type ContinueDeviceInfo = _ContinueDeviceInfo;
@ohos.distributedMissionManager.d.ts
新增 NA 类名:distributedMissionManager;
方法or属性:export type MissionCallback = _MissionCallback;
@ohos.distributedMissionManager.d.ts
新增 NA 类名:distributedMissionManager;
方法or属性:export type MissionDeviceInfo = _MissionDeviceInfo;
@ohos.distributedMissionManager.d.ts
新增 NA 类名:distributedMissionManager;
方法or属性:export type MissionParameter = _MissionParameter;
@ohos.distributedMissionManager.d.ts
新增 NA 类名:AbilityDelegator;
方法or属性:addAbilityMonitorSync(monitor: AbilityMonitor): void;
AbilityDelegator.d.ts
新增 NA 类名:AbilityDelegator;
方法or属性:addAbilityStageMonitorSync(monitor: AbilityStageMonitor): void;
AbilityDelegator.d.ts
新增 NA 类名:AbilityDelegator;
方法or属性:removeAbilityMonitorSync(monitor: AbilityMonitor): void;
AbilityDelegator.d.ts
新增 NA 类名:AbilityDelegator;
方法or属性:removeAbilityStageMonitorSync(monitor: AbilityStageMonitor): void;
AbilityDelegator.d.ts
新增 NA 类名:UIExtensionContext;
方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
UIExtensionContext.d.ts
新增 NA 类名:UIExtensionContext;
方法or属性:disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback<void>): void;
UIExtensionContext.d.ts
新增 NA 类名:UIExtensionContext;
方法or属性:disconnectServiceExtensionAbility(connection: number): Promise<void>;
UIExtensionContext.d.ts
错误码有变化 类名:UIExtensionContentSession;
方法or属性:sendData(data: { [key: string]: Object }): void;
旧版本信息:401,16000050
类名:UIExtensionContentSession;
方法or属性:sendData(data: { [key: string]: Object }): void;
新版本信息:202,401,16000050
@ohos.app.ability.UIExtensionContentSession.d.ts
错误码有变化 类名:UIExtensionContentSession;
方法or属性:setReceiveDataCallback(callback: (data: { [key: string]: Object }) => void): void;
旧版本信息:401,16000050
类名:UIExtensionContentSession;
方法or属性:setReceiveDataCallback(callback: (data: { [key: string]: Object }) => void): void;
新版本信息:202,401,16000050
@ohos.app.ability.UIExtensionContentSession.d.ts
错误码有变化 类名:UIExtensionContentSession;
方法or属性:setWindowBackgroundColor(color: string): void;
旧版本信息:401,16000050
类名:UIExtensionContentSession;
方法or属性:setWindowBackgroundColor(color: string): void;
新版本信息:202,401,16000050
@ohos.app.ability.UIExtensionContentSession.d.ts
访问级别有变化 类名:ProcessState;
方法or属性:export enum ProcessState
旧版本信息:systemapi
类名:ProcessState;
方法or属性:export enum ProcessState
新版本信息:
@ohos.app.ability.appManager.d.ts
访问级别有变化 类名:ProcessState;
方法or属性:STATE_CREATE
旧版本信息:systemapi
类名:ProcessState;
方法or属性:STATE_CREATE
新版本信息:
@ohos.app.ability.appManager.d.ts
访问级别有变化 类名:ProcessState;
方法or属性:STATE_FOREGROUND
旧版本信息:systemapi
类名:ProcessState;
方法or属性:STATE_FOREGROUND
新版本信息:
@ohos.app.ability.appManager.d.ts
访问级别有变化 类名:ProcessState;
方法or属性:STATE_ACTIVE
旧版本信息:systemapi
类名:ProcessState;
方法or属性:STATE_ACTIVE
新版本信息:
@ohos.app.ability.appManager.d.ts
访问级别有变化 类名:ProcessState;
方法or属性:STATE_BACKGROUND
旧版本信息:systemapi
类名:ProcessState;
方法or属性:STATE_BACKGROUND
新版本信息:
@ohos.app.ability.appManager.d.ts
访问级别有变化 类名:ProcessState;
方法or属性:STATE_DESTROY
旧版本信息:systemapi
类名:ProcessState;
方法or属性:STATE_DESTROY
新版本信息:
@ohos.app.ability.appManager.d.ts
model有变化 类名:common;
方法or属性:export type BaseContext = _BaseContext.default;
旧版本信息:
类名:common;
方法or属性:export type BaseContext = _BaseContext.default;
新版本信息:StageModelOnly
@ohos.app.ability.common.d.ts
model有变化 类名:AreaMode;
方法or属性:EL1 = 0
旧版本信息:
类名:AreaMode;
方法or属性:EL1 = 0
新版本信息:StageModelOnly
@ohos.app.ability.contextConstant.d.ts
model有变化 类名:AreaMode;
方法or属性:EL2 = 1
旧版本信息:
类名:AreaMode;
方法or属性:EL2 = 1
新版本信息:StageModelOnly
@ohos.app.ability.contextConstant.d.ts
model有变化 类名:ExtensionContext;
方法or属性:extensionAbilityInfo: ExtensionAbilityInfo;
旧版本信息:
类名:ExtensionContext;
方法or属性:extensionAbilityInfo: ExtensionAbilityInfo;
新版本信息:StageModelOnly
ExtensionContext.d.ts
type有变化 类名:ContinueMissionInfo;
方法or属性:srcDeviceId: string;
旧版本信息:
类名:ContinueMissionInfo;
方法or属性:srcDeviceId: string;
新版本信息:string
ContinueMissionInfo.d.ts
type有变化 类名:ContinueMissionInfo;
方法or属性:dstDeviceId: string;
旧版本信息:
类名:ContinueMissionInfo;
方法or属性:dstDeviceId: string;
新版本信息:string
ContinueMissionInfo.d.ts
type有变化 类名:ContinueMissionInfo;
方法or属性:bundleName: string;
旧版本信息:
类名:ContinueMissionInfo;
方法or属性:bundleName: string;
新版本信息:string
ContinueMissionInfo.d.ts
type有变化 类名:ContinueMissionInfo;
方法or属性:wantParam: { [key: string]: Object };
旧版本信息:
类名:ContinueMissionInfo;
方法or属性:wantParam: { [key: string]: Object };
新版本信息:object
ContinueMissionInfo.d.ts
函数有变化 类名:UIAbility;
方法or属性:onCreate(want: Want, param: AbilityConstant.LaunchParam): void;
类名:UIAbility;
方法or属性:onCreate(want: Want, launchParam: AbilityConstant.LaunchParam): void;
@ohos.app.ability.UIAbility.d.ts
函数有变化 类名:UIAbility;
方法or属性:onNewWant(want: Want, launchParams: AbilityConstant.LaunchParam): void;
类名:UIAbility;
方法or属性:onNewWant(want: Want, launchParam: AbilityConstant.LaunchParam): void;
@ohos.app.ability.UIAbility.d.ts