IssueNo:#I60HTO

Description:deprecated hasInstalled
Sig:SIG_ApplicaitonFramework
Feature or Bugfix:Bugfix
Binary Source:No
Signed-off-by: wangtiantian <wangtiantian19@huawei.com>
This commit is contained in:
wangtiantian 2022-11-10 14:48:45 +08:00
parent 3830f4df16
commit 6edc9e792d
3 changed files with 6 additions and 2 deletions

View File

@ -16,6 +16,7 @@
/**
* @syscap SystemCapability.BundleManager.BundleFramework
* @since 3
* @deprecated since 9
*/
export interface CheckPackageHasInstalledResponse {
/**
@ -29,6 +30,7 @@ export interface CheckPackageHasInstalledResponse {
/**
* @syscap SystemCapability.BundleManager.BundleFramework
* @since 3
* @deprecated since 9
*/
export interface CheckPackageHasInstalledOptions {
/**
@ -64,12 +66,14 @@ export interface CheckPackageHasInstalledOptions {
* @syscap SystemCapability.BundleManager.BundleFramework
* @since 3
* @import package from '@system.package';
* @deprecated since 9
*/
export default class Package {
/**
* Checks whethers an application exists, or whether a native application has been installed.
* @param options Options
* @syscap SystemCapability.BundleManager.BundleFramework
* @deprecated since 9
*/
static hasInstalled(options: CheckPackageHasInstalledOptions): void;
}

View File

@ -73,7 +73,7 @@
*/
readonly icon: string;
/**
* @default Indicate s the icon id of the shortcut
* @default Indicates the icon id of the shortcut
* @since 8
* @syscap SystemCapability.BundleManager.BundleFramework
*/

View File

@ -62,7 +62,7 @@
readonly icon: string;
/**
* Indicate s the icon id of the shortcut
* Indicates the icon id of the shortcut
* @type {number}
* @syscap SystemCapability.BundleManager.BundleFramework.Launcher
* @since 9