操作 旧版本 新版本 d.ts文件
删除 类名:BusinessAbilityInfo;
方法or属性:readonly bundleName: string;
NA BusinessAbilityInfo.d.ts
删除 类名:BusinessAbilityInfo;
方法or属性:readonly moduleName: string;
NA BusinessAbilityInfo.d.ts
删除 类名:BusinessAbilityInfo;
方法or属性:readonly name: string;
NA BusinessAbilityInfo.d.ts
删除 类名:BusinessAbilityInfo;
方法or属性:readonly labelId: number;
NA BusinessAbilityInfo.d.ts
删除 类名:BusinessAbilityInfo;
方法or属性:readonly descriptionId: number;
NA BusinessAbilityInfo.d.ts
删除 类名:BusinessAbilityInfo;
方法or属性:readonly iconId: number;
NA BusinessAbilityInfo.d.ts
删除 类名:BusinessAbilityInfo;
方法or属性:readonly businessType: businessAbilityRouter.BusinessType;
NA BusinessAbilityInfo.d.ts
删除 类名:BusinessAbilityInfo;
方法or属性:readonly applicationInfo: ApplicationInfo;
NA BusinessAbilityInfo.d.ts
新增 NA 类名:bundleManager;
方法or属性:function getBundleInfoForSelfSync(bundleFlags: number): BundleInfo;
@ohos.bundle.bundleManager.d.ts
新增 NA 类名:bundleManager;
方法or属性:function getSpecifiedDistributionType(bundleName: string): string;
@ohos.bundle.bundleManager.d.ts
新增 NA 类名:bundleManager;
方法or属性:function getAdditionalInfo(bundleName: string): string;
@ohos.bundle.bundleManager.d.ts
新增 NA 类名:ExtensionAbilityType;
方法or属性:PUSH = 17
@ohos.bundle.bundleManager.d.ts
新增 NA 类名:ExtensionAbilityType;
方法or属性:APP_ACCOUNT_AUTHORIZATION = 19
@ohos.bundle.bundleManager.d.ts
新增 NA 类名:VerifyCodeParam;
方法or属性:moduleName: string;
@ohos.bundle.installer.d.ts
新增 NA 类名:VerifyCodeParam;
方法or属性:signatureFilePath: string;
@ohos.bundle.installer.d.ts
新增 NA 类名:InstallParam;
方法or属性:specifiedDistributionType?: string;
@ohos.bundle.installer.d.ts
新增 NA 类名:InstallParam;
方法or属性:additionalInfo?: string;
@ohos.bundle.installer.d.ts
新增 NA 类名:InstallParam;
方法or属性:verifyCodeParams?: Array<VerifyCodeParam>;
@ohos.bundle.installer.d.ts
新增 NA 类名:ReqPermissionDetail;
方法or属性:moduleName: string;
BundleInfo.d.ts
错误码有变化 类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, installParam: InstallParam, callback: AsyncCallback<void>): void;
旧版本信息:201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047
类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, installParam: InstallParam, callback: AsyncCallback<void>): void;
新版本信息:201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048
@ohos.bundle.installer.d.ts
错误码有变化 类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, callback: AsyncCallback<void>): void;
旧版本信息:201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047
类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, callback: AsyncCallback<void>): void;
新版本信息:201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048
@ohos.bundle.installer.d.ts
错误码有变化 类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, installParam?: InstallParam): Promise<void>;
旧版本信息:201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047
类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, installParam?: InstallParam): Promise<void>;
新版本信息:201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048
@ohos.bundle.installer.d.ts
错误码有变化 类名:zlib;
方法or属性:function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback<void>): void;
旧版本信息:401,900001,900002
类名:zlib;
方法or属性:function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback<void>): void;
新版本信息:401,900001,900002,900003
@ohos.zlib.d.ts
错误码有变化 类名:zlib;
方法or属性:function decompressFile(inFile: string, outFile: string, options: Options): Promise<void>;
旧版本信息:401,900001,900002
类名:zlib;
方法or属性:function decompressFile(inFile: string, outFile: string, options: Options): Promise<void>;
新版本信息:401,900001,900002,900003
@ohos.zlib.d.ts
权限有变化 类名:bundleManager;
方法or属性:function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback<Array<BundleInfo>>): void;
旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED
类名:bundleManager;
方法or属性:function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback<Array<BundleInfo>>): void;
新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST
@ohos.bundle.bundleManager.d.ts
权限有变化 类名:bundleManager;
方法or属性:function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback<Array<BundleInfo>>): void;
旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED
类名:bundleManager;
方法or属性:function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback<Array<BundleInfo>>): void;
新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST
@ohos.bundle.bundleManager.d.ts
权限有变化 类名:bundleManager;
方法or属性:function getAllBundleInfo(bundleFlags: number, userId?: number): Promise<Array<BundleInfo>>;
旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED
类名:bundleManager;
方法or属性:function getAllBundleInfo(bundleFlags: number, userId?: number): Promise<Array<BundleInfo>>;
新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST
@ohos.bundle.bundleManager.d.ts
权限有变化 类名:bundleManager;
方法or属性:function getAllApplicationInfo(appFlags: number, callback: AsyncCallback<Array<ApplicationInfo>>): void;
旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED
类名:bundleManager;
方法or属性:function getAllApplicationInfo(appFlags: number, callback: AsyncCallback<Array<ApplicationInfo>>): void;
新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST
@ohos.bundle.bundleManager.d.ts
权限有变化 类名:bundleManager;
方法or属性:function getAllApplicationInfo(appFlags: number,

userId: number, callback: AsyncCallback<Array<ApplicationInfo>>): void;
旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED
类名:bundleManager;
方法or属性:function getAllApplicationInfo(appFlags: number,

userId: number, callback: AsyncCallback<Array<ApplicationInfo>>): void;
新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST
@ohos.bundle.bundleManager.d.ts
权限有变化 类名:bundleManager;
方法or属性:function getAllApplicationInfo(appFlags: number, userId?: number): Promise<Array<ApplicationInfo>>;
旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED
类名:bundleManager;
方法or属性:function getAllApplicationInfo(appFlags: number, userId?: number): Promise<Array<ApplicationInfo>>;
新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST
@ohos.bundle.bundleManager.d.ts
权限有变化 类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, installParam: InstallParam, callback: AsyncCallback<void>): void;
旧版本信息:ohos.permission.INSTALL_BUNDLE
类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, installParam: InstallParam, callback: AsyncCallback<void>): void;
新版本信息:ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE
@ohos.bundle.installer.d.ts
权限有变化 类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, callback: AsyncCallback<void>): void;
旧版本信息:ohos.permission.INSTALL_BUNDLE
类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, callback: AsyncCallback<void>): void;
新版本信息:ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE
@ohos.bundle.installer.d.ts
权限有变化 类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, installParam?: InstallParam): Promise<void>;
旧版本信息:ohos.permission.INSTALL_BUNDLE
类名:BundleInstaller;
方法or属性:install(hapFilePaths: Array<string>, installParam?: InstallParam): Promise<void>;
新版本信息:ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE
@ohos.bundle.installer.d.ts
model有变化 类名:AbilityType;
方法or属性:PAGE = 1
旧版本信息:
类名:AbilityType;
方法or属性:PAGE = 1
新版本信息:FAModelOnly
@ohos.bundle.bundleManager.d.ts
model有变化 类名:AbilityType;
方法or属性:SERVICE = 2
旧版本信息:
类名:AbilityType;
方法or属性:SERVICE = 2
新版本信息:FAModelOnly
@ohos.bundle.bundleManager.d.ts
model有变化 类名:AbilityType;
方法or属性:DATA = 3
旧版本信息:
类名:AbilityType;
方法or属性:DATA = 3
新版本信息:FAModelOnly
@ohos.bundle.bundleManager.d.ts