mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 17:31:12 +00:00
remove extension from want
Signed-off-by: s00494828 <shilei91@huawei.com> Change-Id: I1f22e87da37e052363ed71e7c56b4df625a08edd
This commit is contained in:
parent
ed53c754e0
commit
067efc7b2f
6
api/@ohos.bundle.d.ts
vendored
6
api/@ohos.bundle.d.ts
vendored
@ -589,9 +589,9 @@ declare namespace bundle {
|
||||
* @return Returns a list of ExtensionInfo objects.
|
||||
* @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO
|
||||
*/
|
||||
function queryExtensionAbilityInfosByWant(want: Want, extensionFlags: number, userId: number, callback: AsyncCallback<Array<ExtensionAbilityInfo>>): void;
|
||||
function queryExtensionAbilityInfosByWant(want: Want, extensionFlags: number, callback: AsyncCallback<Array<ExtensionAbilityInfo>>): void;
|
||||
function queryExtensionAbilityInfosByWant(want: Want, extensionFlags: number, userId?: number): Promise<Array<ExtensionAbilityInfo>>;
|
||||
function queryExtensionAbilityInfos(want: Want, extensionType: number, extensionFlags: number, userId: number, callback: AsyncCallback<Array<ExtensionAbilityInfo>>): void;
|
||||
function queryExtensionAbilityInfos(want: Want, extensionType: number, extensionFlags: number, callback: AsyncCallback<Array<ExtensionAbilityInfo>>): void;
|
||||
function queryExtensionAbilityInfos(want: Want, extensionType: number, extensionFlags: number, userId?: number): Promise<Array<ExtensionAbilityInfo>>;
|
||||
|
||||
/**
|
||||
* Get the permission details by permissionName.
|
||||
|
16
api/ability/want.d.ts
vendored
16
api/ability/want.d.ts
vendored
@ -92,20 +92,4 @@ export declare interface Want {
|
||||
* @default -
|
||||
*/
|
||||
entities?: Array<string>;
|
||||
|
||||
/**
|
||||
* The description of a extension ability name in a Want.
|
||||
* @since 9
|
||||
* @syscap SystemCapability.Ability.AbilityBase
|
||||
* @default -
|
||||
*/
|
||||
extensionAbilityName?: string;
|
||||
|
||||
/**
|
||||
* The description of a extension ability type in a Want.
|
||||
* @since 9
|
||||
* @syscap SystemCapability.Ability.AbilityBase
|
||||
* @default -
|
||||
*/
|
||||
extensionAbilityType?: number;
|
||||
}
|
Loading…
Reference in New Issue
Block a user