diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index d595998c135860ce21dca78a3a18f6519c154fea..8acdf81e38c7b1ae51868157325fd852452433f1 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -734,32 +734,6 @@ declare namespace bundle { */ function getAbilityIcon(bundleName: string, moduleName: string, abilityName: string, callback: AsyncCallback): void; function getAbilityIcon(bundleName: string, moduleName: string, abilityName: string): Promise; - - /** - * Obtains the profile designated by metadata name, abilityName and moduleName from the current application. - * - * @since 9 - * @syscap SystemCapability.BundleManager.BundleFramework - * @param moduleName Indicates the moduleName of the application. - * @param abilityName Indicates the abilityName of the application. - * @param metadataName Indicates the name of metadata in ability. - * @return Returns string in json-format of the corresponding config file. - */ - function getProfileByAbility(moduleName: string, abilityName: string, metadataName: string, callback: AsyncCallback>): void; - function getProfileByAbility(moduleName: string, abilityName: string, metadataName?: string): Promise>; - - /** - * Obtains the profile designated by metadata name, extensionAbilityName and moduleName from the current application. - * - * @since 9 - * @syscap SystemCapability.BundleManager.BundleFramework - * @param moduleName Indicates the moduleName of the application. - * @param extensionAbilityName Indicates the extensionAbilityName of the application. - * @param metadataName Indicates the name of metadata in ability. - * @return Returns string in json-format of the corresponding config file. - */ - function getProfileByExtensionAbility(moduleName: string, extensionAbilityName: string, metadataName: string, callback: AsyncCallback>): void; - function getProfileByExtensionAbility(moduleName: string, extensionAbilityName: string, metadataName?: string): Promise>; } export default bundle;