mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
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:
parent
3830f4df16
commit
6edc9e792d
4
api/@system.package.d.ts
vendored
4
api/@system.package.d.ts
vendored
@ -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;
|
||||
}
|
2
api/bundle/shortcutInfo.d.ts
vendored
2
api/bundle/shortcutInfo.d.ts
vendored
@ -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
|
||||
*/
|
||||
|
2
api/bundleManager/shortcutInfo.d.ts
vendored
2
api/bundleManager/shortcutInfo.d.ts
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user