diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index 1a6f0900368172af369643f3aac13fdc3d5403a7..b4d2699e52f97503c21f0b953e46882ff8156ff7 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -292,6 +292,7 @@ declare namespace bundle { * @syscap SystemCapability.BundleManager.BundleFramework * @return Returns the IBundleInstaller interface. * @permission ohos.permission.INSTALL_BUNDLE + * @systemapi Hide this for inner system use */ function getBundleInstaller(callback: AsyncCallback): void; function getBundleInstaller(): Promise; @@ -347,15 +348,15 @@ declare namespace bundle { * * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework - * @param bundlelFlag Indicates the flag used to specify information contained in the BundleInfo that will be + * @param bundleFlag Indicates the flag used to specify information contained in the BundleInfo that will be * returned. * @param userId Indicates the user id. * @return Returns a list of BundleInfo objects. * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED */ - function getAllBundleInfo(bundlelFlag: BundleFlag, userId: number, callback: AsyncCallback>) : void; - function getAllBundleInfo(bundlelFlag: BundleFlag, callback: AsyncCallback>) : void; - function getAllBundleInfo(bundlelFlag: BundleFlag, userId?: number) : Promise>; + function getAllBundleInfo(bundleFlag: BundleFlag, userId: number, callback: AsyncCallback>) : void; + function getAllBundleInfo(bundleFlag: BundleFlag, callback: AsyncCallback>) : void; + function getAllBundleInfo(bundleFlag: BundleFlag, userId?: number) : Promise>; /** * Obtains information about all installed applications of a specified user. diff --git a/api/bundle/bundleInstaller.d.ts b/api/bundle/bundleInstaller.d.ts index e70342173f638e17968381bdbde6154d8c8453d2..671798824333ac80949166ca22e13b36df5794ac 100644 --- a/api/bundle/bundleInstaller.d.ts +++ b/api/bundle/bundleInstaller.d.ts @@ -21,7 +21,7 @@ import bundle from './../@ohos.bundle'; * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework * @permission NA - * + * @systemapi Hide this for inner system use */ export interface InstallParam { /** @@ -51,7 +51,7 @@ export interface InstallParam { * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework * @permission NA - * + * @systemapi Hide this for inner system use */ export interface InstallStatus { @@ -75,7 +75,7 @@ export interface InstallStatus { * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework * @permission NA - * + * @systemapi Hide this for inner system use */ export interface BundleInstaller { /**