diff --git a/api/@ohos.bundle.bundleMonitor.d.ts b/api/@ohos.bundle.bundleMonitor.d.ts index a9f1ed5e4f025ca52092b3b0cbbba04e9367d453..af4c9cbd268d432f39a12973c16f10e883306760 100644 --- a/api/@ohos.bundle.bundleMonitor.d.ts +++ b/api/@ohos.bundle.bundleMonitor.d.ts @@ -54,25 +54,25 @@ declare namespace bundleMonitor { /** * The user id * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly userId: number; + readonly userId: int; /** * The app index of clone app * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly appIndex: number; + readonly appIndex: int; } /** diff --git a/api/@ohos.bundle.installer.d.ts b/api/@ohos.bundle.installer.d.ts index d4a84c9feb2185b97956be4c55217d329e0afa64..0451260373f455ddec46bbe876ba7387439a9a7d 100644 --- a/api/@ohos.bundle.installer.d.ts +++ b/api/@ohos.bundle.installer.d.ts @@ -1735,7 +1735,7 @@ declare namespace installer { * @permission ohos.permission.UNINSTALL_CLONE_BUNDLE * @param { string } bundleName - Indicates the bundleName of clone app. * @param { number } appIndex - Indicates the clone application's index. - * @param { number | DestroyAppCloneParam } [options] - Indicates other parameters required for the uninstallation. + * @param { int | DestroyAppCloneParam } [options] - Indicates other parameters required for the uninstallation. * @returns { Promise } * @throws { BusinessError } 201 - Calling interface without permission 'ohos.permission.UNINSTALL_CLONE_BUNDLE'. * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. @@ -1748,7 +1748,7 @@ declare namespace installer { * @since 20 * @arkts 1.2 */ - destroyAppClone(bundleName: string, appIndex: number, options?: number | DestroyAppCloneParam): Promise; + destroyAppClone(bundleName: string, appIndex: number, options?: int | DestroyAppCloneParam): Promise; /** * Install application by bundle name with specified user. @@ -1989,24 +1989,24 @@ declare namespace installer { /** * Indicates the user id * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - userId?: number; + userId?: int; /** * Indicates the installation type. The value 0x00 means normal installation, 0x01 means overwrite installation, and 0x10 means installation-free. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - installFlag?: number; + installFlag?: int; /** * Indicates whether the param has data @@ -2033,13 +2033,13 @@ declare namespace installer { /** * Indicates the deadline of the crowdtesting bundle * - * @type { ?number } + * @type { ?long } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - crowdtestDeadline?: number; + crowdtestDeadline?: long; /** * Indicates the shared bundle dir paths. @@ -2132,13 +2132,13 @@ declare namespace installer { /** * Indicates the shared version code. If default, indicates that all version sharing bundles are uninstalled * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - versionCode?: number; + versionCode?: int; } /** @@ -2154,23 +2154,23 @@ declare namespace installer { /** * Indicates the user id * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - userId?: number; + userId?: int; /** * Indicates the appIndex of MultiApp * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - appIndex?: number; + appIndex?: int; } /** @@ -2186,13 +2186,13 @@ declare namespace installer { /** * Indicates the user id * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'15', '1.2':'20'} * @arkts 1.1&1.2 */ - userId?: number; + userId?: int; /** * Indicates parameters. * @@ -2218,13 +2218,13 @@ declare namespace installer { /** * Indicates the user id. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'19', '1.2':'20'} * @arkts 1.1&1.2 */ - userId?: number; + userId?: int; /** * Indicates parameters. diff --git a/api/bundleManager/AbilityInfo.d.ts b/api/bundleManager/AbilityInfo.d.ts index c178036ae4f78b783a178770d65b5002f3552853..ea1dfb1d2bef9160a401277fe51615c248b52bf1 100644 --- a/api/bundleManager/AbilityInfo.d.ts +++ b/api/bundleManager/AbilityInfo.d.ts @@ -189,7 +189,7 @@ export interface AbilityInfo { /** * Indicates the label id of the ability * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -197,7 +197,7 @@ export interface AbilityInfo { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly labelId: number; + readonly labelId: long; /** * Indicates the ability @@ -249,7 +249,7 @@ export interface AbilityInfo { /** * Indicates the description id of the ability * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -257,7 +257,7 @@ export interface AbilityInfo { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly descriptionId: number; + readonly descriptionId: long; /** * Indicates the icon of the ability @@ -309,7 +309,7 @@ export interface AbilityInfo { /** * Indicates the icon id of the ability * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -317,7 +317,7 @@ export interface AbilityInfo { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly iconId: number; + readonly iconId: long; /** * Process of ability, if user do not set it, the value equal application process @@ -568,11 +568,22 @@ export interface AbilityInfo { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ readonly applicationInfo: ApplicationInfo; + /** + * Obtains configuration information about an application + * + * @type { ApplicationInfo | null } + * @readonly + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @crossplatform + * @since 20 + * @arkts 1.2 + */ + readonly applicationInfo: ApplicationInfo | null; + /** * Indicates the metadata of ability * @@ -720,25 +731,25 @@ export interface AbilityInfo { /** * Indicates the appIndex of application, only work in clone app mode * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly appIndex: number; + readonly appIndex: int; /** * Indicates the orientation id of the ability * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'14', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly orientationId: number; + readonly orientationId: long; } /** @@ -787,7 +798,7 @@ export interface WindowSize { /** * Indicates maximum ratio of width over height of window under free window status. * - * @type { number } + * @type { double } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -795,7 +806,7 @@ export interface WindowSize { * @since 20 * @arkts 1.1&1.2 */ - readonly maxWindowRatio: number; + readonly maxWindowRatio: double; /** * Indicates minimum ratio of width over height of window under free window status. @@ -817,7 +828,7 @@ export interface WindowSize { /** * Indicates minimum ratio of width over height of window under free window status. * - * @type { number } + * @type { double } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -825,7 +836,7 @@ export interface WindowSize { * @since 20 * @arkts 1.1&1.2 */ - readonly minWindowRatio: number; + readonly minWindowRatio: double; /** * Indicates maximum width of window under free window status. @@ -847,7 +858,7 @@ export interface WindowSize { /** * Indicates maximum width of window under free window status. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -855,7 +866,7 @@ export interface WindowSize { * @since 20 * @arkts 1.1&1.2 */ - readonly maxWindowWidth: number; + readonly maxWindowWidth: long; /** * Indicates minimum width of window under free window status. @@ -877,7 +888,7 @@ export interface WindowSize { /** * Indicates minimum width of window under free window status. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -885,7 +896,7 @@ export interface WindowSize { * @since 20 * @arkts 1.1&1.2 */ - readonly minWindowWidth: number; + readonly minWindowWidth: long; /** * Indicates maximum height of window under free window status. @@ -907,7 +918,7 @@ export interface WindowSize { /** * Indicates maximum height of window under free window status. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -915,7 +926,7 @@ export interface WindowSize { * @since 20 * @arkts 1.1&1.2 */ - readonly maxWindowHeight: number; + readonly maxWindowHeight: long; /** * Indicates minimum height of window under free window status. @@ -937,7 +948,7 @@ export interface WindowSize { /** * Indicates minimum height of window under free window status. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -945,5 +956,5 @@ export interface WindowSize { * @since 20 * @arkts 1.1&1.2 */ - readonly minWindowHeight: number; + readonly minWindowHeight: long; } diff --git a/api/bundleManager/AppProvisionInfo.d.ts b/api/bundleManager/AppProvisionInfo.d.ts index 43351d69711788ef08b3eed30200afc995544215..fde167d3606e0a535bb57cd232ee9dc60ebae22a 100644 --- a/api/bundleManager/AppProvisionInfo.d.ts +++ b/api/bundleManager/AppProvisionInfo.d.ts @@ -24,19 +24,21 @@ * @typedef AppProvisionInfo * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ export interface AppProvisionInfo { /** * Indicates the version code of the profile file. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly versionCode: number; + readonly versionCode: long; /** * Indicates the version name of the profile file. @@ -45,7 +47,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly versionName: string; @@ -56,7 +59,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly uuid: string; @@ -67,7 +71,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly type: string; @@ -78,7 +83,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly appDistributionType: string; @@ -89,7 +95,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly validity: Validity; @@ -100,7 +107,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly developerId: string; @@ -111,7 +119,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly certificate: string; @@ -122,7 +131,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly apl: string; @@ -133,7 +143,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly issuer: string; @@ -146,7 +157,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly appIdentifier: string; @@ -157,7 +169,8 @@ export interface AppProvisionInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly organization: string; } @@ -168,28 +181,31 @@ export interface AppProvisionInfo { * @typedef Validity * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ export interface Validity { /** * Indicates the earliest validity of the profile file. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly notBefore: number; + readonly notBefore: long; /** * Indicates the latest validity of the profile file. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly notAfter: number; + readonly notAfter: long; } diff --git a/api/bundleManager/ApplicationInfo.d.ts b/api/bundleManager/ApplicationInfo.d.ts index 64deb67e40e51cb9b45eebbe08f745f71d33b788..3a8c9cf7314cc8c245111d5ddae5917ccc72ecf3 100644 --- a/api/bundleManager/ApplicationInfo.d.ts +++ b/api/bundleManager/ApplicationInfo.d.ts @@ -128,7 +128,7 @@ export interface ApplicationInfo { /** * Indicates the description id of the application * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -136,7 +136,7 @@ export interface ApplicationInfo { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly descriptionId: number; + readonly descriptionId: long; /** * Indicates whether or not this application may be instantiated @@ -218,7 +218,7 @@ export interface ApplicationInfo { /** * Indicates the label id of the application * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -226,7 +226,7 @@ export interface ApplicationInfo { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly labelId: number; + readonly labelId: long; /** * Indicates the icon of the application @@ -278,7 +278,7 @@ export interface ApplicationInfo { /** * Indicates the icon id of the application * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -286,7 +286,7 @@ export interface ApplicationInfo { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly iconId: number; + readonly iconId: long; /** * Process of application, if user do not set it ,the value equal bundleName @@ -470,7 +470,7 @@ export interface ApplicationInfo { /** * Indicates the access token of the application * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -478,7 +478,7 @@ export interface ApplicationInfo { * @since 20 * @arkts 1.1&1.2 */ - readonly accessTokenId: number; + readonly accessTokenId: long; /** * Indicates the uid of the application @@ -500,7 +500,7 @@ export interface ApplicationInfo { /** * Indicates the uid of the application * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -508,7 +508,7 @@ export interface ApplicationInfo { * @since 20 * @arkts 1.1&1.2 */ - readonly uid: number; + readonly uid: int; /** * Indicates icon resource of the application @@ -796,13 +796,13 @@ export interface ApplicationInfo { /** * Indicates the index of the bundle * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly appIndex: number; + readonly appIndex: int; /** * Indicates sources to install the app @@ -865,14 +865,14 @@ export interface ApplicationInfo { /** * Indicates the flags of the application. * - * @type { ?number } + * @type { ?int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly flags?: number; + readonly flags?: int; } /** @@ -985,13 +985,13 @@ export interface MultiAppMode { /** * Indicates the max count of the bundle * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly maxCount: number; + readonly maxCount: int; } /** @@ -1032,24 +1032,24 @@ export interface PreinstalledApplicationInfo { /** * Indicates the icon id of the application * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly iconId: number; + readonly iconId: long; /** * Indicates the label id of the application * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly labelId: number; + readonly labelId: long; } \ No newline at end of file diff --git a/api/bundleManager/BundleInfo.d.ts b/api/bundleManager/BundleInfo.d.ts index caf837e08e2d84ffa03443da478226e31ea6e3d3..3445553f99a54c1e80ee2106f12e09e96c6bc5a1 100644 --- a/api/bundleManager/BundleInfo.d.ts +++ b/api/bundleManager/BundleInfo.d.ts @@ -128,7 +128,7 @@ export interface BundleInfo { /** * Indicates the version code of the bundle * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -136,7 +136,7 @@ export interface BundleInfo { * @since 20 * @arkts 1.1&1.2 */ - readonly versionCode: number; + readonly versionCode: long; /** * Indicates the version name of the bundle @@ -188,7 +188,7 @@ export interface BundleInfo { /** * Indicates the **minimum ** version compatible with the bundle * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -196,7 +196,7 @@ export interface BundleInfo { * @since 20 * @arkts 1.1&1.2 */ - readonly minCompatibleVersionCode: number; + readonly minCompatibleVersionCode: int; /** * Indicates the target version number of the bundle @@ -218,7 +218,7 @@ export interface BundleInfo { /** * Indicates the target version number of the bundle * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -226,7 +226,7 @@ export interface BundleInfo { * @since 20 * @arkts 1.1&1.2 */ - readonly targetVersion: number; + readonly targetVersion: int; /** * Obtains configuration information about an application @@ -254,10 +254,21 @@ export interface BundleInfo { * @crossplatform * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ readonly appInfo: ApplicationInfo; + /** + * Obtains configuration information about an application + * + * @type { ApplicationInfo | null } + * @readonly + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @crossplatform + * @since 20 + * @arkts 1.2 + */ + readonly appInfo: ApplicationInfo | null; + /** * Obtains configuration information about a module * @@ -374,10 +385,21 @@ export interface BundleInfo { * @crossplatform * @atomicservice * @since 20 - * @arkts 1.1&1.2 */ readonly signatureInfo: SignatureInfo; + /** + * Indicates the SignatureInfo of the bundle + * + * @type { SignatureInfo | null } + * @readonly + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @crossplatform + * @since 20 + * @arkts 1.2 + */ + readonly signatureInfo: SignatureInfo | null; + /** * Indicates the hap install time * @@ -389,14 +411,14 @@ export interface BundleInfo { /** * Indicates the hap install time * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly installTime: number; + readonly installTime: long; /** * Indicates the hap update time @@ -409,14 +431,14 @@ export interface BundleInfo { /** * Indicates the hap update time * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly updateTime: number; + readonly updateTime: long; /** * Indicates the router information of the application @@ -433,25 +455,25 @@ export interface BundleInfo { /** * Indicates the appIndex of application, only work in appClone mode * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly appIndex: number; + readonly appIndex: int; /** * Indicates the hap first install time * - * @type { ?number } + * @type { ?long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'18', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly firstInstallTime?: number; + readonly firstInstallTime?: long; } /** @@ -570,14 +592,14 @@ export interface ReqPermissionDetail { /** * Indicates the reason id of this required permissions * - * @type { number } + * @type { long } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform * @atomicservice * @since 20 * @arkts 1.1&1.2 */ - reasonId: number; + reasonId: long; /** * Indicates the used scene of this required permissions @@ -826,13 +848,13 @@ export interface AppCloneIdentity { /** * Indicates the index of clone app. * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @since arkts {'1.1':'14', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly appIndex: number; + readonly appIndex: int; } /** @@ -842,6 +864,7 @@ export interface AppCloneIdentity { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since 20 + * @arkts 1.1&1.2 */ export interface DynamicIconInfo { /** @@ -852,6 +875,7 @@ export interface DynamicIconInfo { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since 20 + * @arkts 1.1&1.2 */ readonly bundleName: string; @@ -863,30 +887,33 @@ export interface DynamicIconInfo { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since 20 + * @arkts 1.1&1.2 */ readonly moduleName: string; /** * Indicates the user id of the bundle. * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since 20 + * @arkts 1.1&1.2 */ - readonly userId: number; + readonly userId: int; /** * Indicates the index of the bundle. * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since 20 + * @arkts 1.1&1.2 */ - readonly appIndex: number; + readonly appIndex: int; } /** @@ -896,25 +923,28 @@ export interface DynamicIconInfo { * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since 20 + * @arkts 1.1&1.2 */ export interface BundleOptions { /** * Indicates the user id. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since 20 + * @arkts 1.1&1.2 */ - userId?: number; + userId?: int; /** * Indicates the app index. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since 20 + * @arkts 1.1&1.2 */ - appIndex?: number; + appIndex?: int; } diff --git a/api/bundleManager/BundlePackInfo.d.ts b/api/bundleManager/BundlePackInfo.d.ts index e8ea4a275cc09f3759fafc4a4653de1eaef176d8..60ea30db70b25a8904ad694a2f964ba57490c9f4 100644 --- a/api/bundleManager/BundlePackInfo.d.ts +++ b/api/bundleManager/BundlePackInfo.d.ts @@ -479,14 +479,14 @@ export interface AbilityFormInfo { /** * Indicates the update duration * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly updateDuration: number; + readonly updateDuration: int; /** * Indicates the ability support dimensions @@ -526,14 +526,14 @@ export interface Version { /** * Indicates the min compatible code of this version * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly minCompatibleVersionCode: number; + readonly minCompatibleVersionCode: int; /** * Indicates the name of this version @@ -550,14 +550,14 @@ export interface Version { /** * Indicates the code of this version * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly code: number; + readonly code: int; } /** @@ -585,24 +585,24 @@ export interface ApiVersion { /** * Indicates the compatible version code of the api * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly compatible: number; + readonly compatible: int; /** * Indicates the target version code of the api * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.FreeInstall * @systemapi * @since arkts {'1.1':'9', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly target: number; + readonly target: int; } diff --git a/api/bundleManager/BundleResourceInfo.d.ts b/api/bundleManager/BundleResourceInfo.d.ts index 6952f3d65b7a6a7e3e333d348eb771f33f25dcef..0d5de3cfe8bcc752921069c5aba4c8fab3c83e4e 100644 --- a/api/bundleManager/BundleResourceInfo.d.ts +++ b/api/bundleManager/BundleResourceInfo.d.ts @@ -82,12 +82,12 @@ export interface BundleResourceInfo { /** * Indicates the index of the bundle * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly appIndex: number; + readonly appIndex: int; } diff --git a/api/bundleManager/ExtensionAbilityInfo.d.ts b/api/bundleManager/ExtensionAbilityInfo.d.ts index d863294176873a90927d498c6db7427edf982aba..663f3867627400c5507870fc58f67b2d7fe74f0c 100644 --- a/api/bundleManager/ExtensionAbilityInfo.d.ts +++ b/api/bundleManager/ExtensionAbilityInfo.d.ts @@ -111,14 +111,14 @@ export interface ExtensionAbilityInfo { /** * Indicates the label id of the extension ability info * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly labelId: number; + readonly labelId: long; /** * Indicates the description id of the extension ability info @@ -131,14 +131,14 @@ export interface ExtensionAbilityInfo { /** * Indicates the description id of the extension ability info * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly descriptionId: number; + readonly descriptionId: long; /** * Indicates the icon id of the extension ability info @@ -151,14 +151,14 @@ export interface ExtensionAbilityInfo { /** * Indicates the icon id of the extension ability info * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly iconId: number; + readonly iconId: long; /** * Indicates whether this ability can be called by other abilities @@ -247,11 +247,21 @@ export interface ExtensionAbilityInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ readonly applicationInfo: ApplicationInfo; + /** + * Obtains configuration information about an application + * + * @type { ApplicationInfo | null } + * @readonly + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @since 20 + * @arkts 1.2 + */ + readonly applicationInfo: ApplicationInfo | null; + /** * Indicates the metadata of bundle * @@ -347,11 +357,11 @@ export interface ExtensionAbilityInfo { /** * Indicates the appIndex of extension ability, only work in clone app mode * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly appIndex: number; + readonly appIndex: int; } diff --git a/api/bundleManager/HapModuleInfo.d.ts b/api/bundleManager/HapModuleInfo.d.ts index ae02a1d3b640809310e7b3080f1a3405954e600b..d9f0e8db6592fda8e188c97f4c77a979e7cdce8a 100644 --- a/api/bundleManager/HapModuleInfo.d.ts +++ b/api/bundleManager/HapModuleInfo.d.ts @@ -129,7 +129,7 @@ export interface HapModuleInfo { /** * Indicates the icon id of this hap module * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -137,7 +137,7 @@ export interface HapModuleInfo { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly iconId: number; + readonly iconId: long; /** * Indicates the label of this hap module @@ -189,7 +189,7 @@ export interface HapModuleInfo { /** * Indicates the label id of this hap module * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -197,7 +197,7 @@ export interface HapModuleInfo { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly labelId: number; + readonly labelId: long; /** * Describes the hap module @@ -249,7 +249,7 @@ export interface HapModuleInfo { /** * Indicates the description of this hap module * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @crossplatform @@ -257,7 +257,7 @@ export interface HapModuleInfo { * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly descriptionId: number; + readonly descriptionId: long; /** * Indicates main elementName of the hap module @@ -645,14 +645,14 @@ export interface Dependency { /** * Indicates the version code of the dependency * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'11', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly versionCode: number; + readonly versionCode: long; } /** diff --git a/api/bundleManager/LauncherAbilityInfo.d.ts b/api/bundleManager/LauncherAbilityInfo.d.ts index de21df51c03b956c2faaed879ddd7729fae0bf5b..22b5bb431927696a1d0c97537ffd2726ac8e84cd 100644 --- a/api/bundleManager/LauncherAbilityInfo.d.ts +++ b/api/bundleManager/LauncherAbilityInfo.d.ts @@ -55,44 +55,44 @@ export interface LauncherAbilityInfo { /** * Obtains labelId about an launcher ability. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @since arkts {'1.1':'18', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly labelId: number; + readonly labelId: long; /** * Obtains iconId about an launcher ability. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @since arkts {'1.1':'18', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly iconId: number; + readonly iconId: long; /** * Obtains userId about an launcher ability. * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @since arkts {'1.1':'18', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly userId: number; + readonly userId: int; /** * Obtains installTime about an launcher ability. * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @since arkts {'1.1':'18', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly installTime: number; + readonly installTime: long; } diff --git a/api/bundleManager/LauncherAbilityResourceInfo.d.ts b/api/bundleManager/LauncherAbilityResourceInfo.d.ts index bd303e501a6dcd3b7f359dde00ac1bd6567f78a2..5552f810d67de913d86eaa54dba349594ecf277c 100644 --- a/api/bundleManager/LauncherAbilityResourceInfo.d.ts +++ b/api/bundleManager/LauncherAbilityResourceInfo.d.ts @@ -106,12 +106,12 @@ export interface LauncherAbilityResourceInfo { /** * Indicates the index of the bundle * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Resource * @systemapi * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly appIndex: number; + readonly appIndex: int; } diff --git a/api/bundleManager/Metadata.d.ts b/api/bundleManager/Metadata.d.ts index a4886fcb1bf76e46be12e7c0be1dbbe0cd8a4361..86afd3775af52b62d0bd912514e4e70d36831d43 100644 --- a/api/bundleManager/Metadata.d.ts +++ b/api/bundleManager/Metadata.d.ts @@ -128,12 +128,12 @@ export interface Metadata { /** * Indicates the value id of the metadata * - * @type { ?number } + * @type { ?long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'18', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly valueId?: number; + readonly valueId?: long; } diff --git a/api/bundleManager/OverlayModuleInfo.d.ts b/api/bundleManager/OverlayModuleInfo.d.ts index aa2b660c735da319af4dd9fb5ce87de77e1713bc..1c9f6803767241adae3c76fa973a2090ab1ed8aa 100755 --- a/api/bundleManager/OverlayModuleInfo.d.ts +++ b/api/bundleManager/OverlayModuleInfo.d.ts @@ -63,22 +63,22 @@ export interface OverlayModuleInfo { /** * Indicates the priority of the overlay module * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly priority: number; + readonly priority: int; /** * Indicates the state of the overlay module * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @since arkts {'1.1':'10', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly state: number; + readonly state: int; } diff --git a/api/bundleManager/PermissionDef.d.ts b/api/bundleManager/PermissionDef.d.ts index 6d6634bea9aabf9520a258799cb697c175521af9..8b7847b0b59eacb4448189b8c45a4f6f0a3be778 100644 --- a/api/bundleManager/PermissionDef.d.ts +++ b/api/bundleManager/PermissionDef.d.ts @@ -24,7 +24,8 @@ * @typedef PermissionDef * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ export interface PermissionDef { /** @@ -34,40 +35,44 @@ export interface PermissionDef { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly permissionName: string; /** * Indicates the grant mode of this permission * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly grantMode: number; + readonly grantMode: int; /** * Indicates the labelId of this permission * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly labelId: number; + readonly labelId: long; /** * Indicates the descriptionId of this permission * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 9 + * @since arkts {'1.1':'9', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly descriptionId: number; + readonly descriptionId: long; } diff --git a/api/bundleManager/PluginBundleInfo.d.ts b/api/bundleManager/PluginBundleInfo.d.ts index d3bc13ecb843cb5ef97de64838d467dac0e63eee..c92159c05c6441058642793470b065c5399adfb0 100644 --- a/api/bundleManager/PluginBundleInfo.d.ts +++ b/api/bundleManager/PluginBundleInfo.d.ts @@ -24,7 +24,8 @@ * @typedef PluginBundleInfo * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ export interface PluginBundleInfo { /** @@ -34,20 +35,22 @@ export interface PluginBundleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly label: string; /** * Indicates the label id of the plugin * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly labelId: number; + readonly labelId: long; /** * Indicates the icon of the plugin @@ -56,20 +59,22 @@ export interface PluginBundleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly icon: string; /** * Indicates the icon id of the plugin * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly iconId: number; + readonly iconId: long; /** * Indicates the name of the plugin @@ -78,20 +83,22 @@ export interface PluginBundleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly pluginBundleName: string; /** * Indicates the version code of the plugin * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly versionCode: number; + readonly versionCode: long; /** * Indicates the version name of the plugin @@ -100,7 +107,8 @@ export interface PluginBundleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly versionName: string; @@ -111,7 +119,8 @@ export interface PluginBundleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly pluginModuleInfos: Array; } @@ -122,7 +131,8 @@ export interface PluginBundleInfo { * @typedef PluginModuleInfo * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ export interface PluginModuleInfo { /** @@ -132,20 +142,22 @@ export interface PluginModuleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly moduleName: string; /** * Indicates the description of the plugin * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly descriptionId: number; + readonly descriptionId: long; /** * Describes the plugin @@ -154,7 +166,8 @@ export interface PluginModuleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly description: string; } \ No newline at end of file diff --git a/api/bundleManager/RecoverableApplicationInfo.d.ts b/api/bundleManager/RecoverableApplicationInfo.d.ts index 62b36b0eac89ca695f7b0fe81762180d208b8a60..144d4847102d9c44eda0b35ba01b22d565487880 100644 --- a/api/bundleManager/RecoverableApplicationInfo.d.ts +++ b/api/bundleManager/RecoverableApplicationInfo.d.ts @@ -26,7 +26,8 @@ import bundleManager from './../@ohos.bundle.bundleManager'; * @typedef RecoverableApplicationInfo * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ export interface RecoverableApplicationInfo { /** @@ -36,7 +37,8 @@ export interface RecoverableApplicationInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly bundleName: string; @@ -47,31 +49,34 @@ export interface RecoverableApplicationInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly moduleName: string; /** * Indicates the label id * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly labelId: number; + readonly labelId: long; /** * Indicates the icon id * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly iconId: number; + readonly iconId: long; /** * Indicates whether the application is a system application @@ -80,7 +85,8 @@ export interface RecoverableApplicationInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly systemApp: boolean; @@ -91,7 +97,8 @@ export interface RecoverableApplicationInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly bundleType: bundleManager.BundleType; @@ -102,7 +109,8 @@ export interface RecoverableApplicationInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly codePaths: Array; } diff --git a/api/bundleManager/SharedBundleInfo.d.ts b/api/bundleManager/SharedBundleInfo.d.ts index 3e8078810f795ae4566294206336dadaeeaa1252..e5ce19fffe5a4ea2ad77bbbb2a955443b8c781ad 100644 --- a/api/bundleManager/SharedBundleInfo.d.ts +++ b/api/bundleManager/SharedBundleInfo.d.ts @@ -27,7 +27,8 @@ import bundleManager from '../@ohos.bundle.bundleManager'; * @typedef SharedBundleInfo * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ export interface SharedBundleInfo { /** @@ -37,7 +38,8 @@ export interface SharedBundleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly name: string; @@ -48,7 +50,8 @@ export interface SharedBundleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly compatiblePolicy: bundleManager.CompatiblePolicy; @@ -59,7 +62,8 @@ export interface SharedBundleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly sharedModuleInfo: Array; } @@ -70,7 +74,8 @@ export interface SharedBundleInfo { * @typedef SharedModuleInfo * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ export interface SharedModuleInfo { /** @@ -80,20 +85,22 @@ export interface SharedModuleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly name: string; /** * Indicates the version code of the shared module * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly versionCode: number; + readonly versionCode: long; /** * Indicates the version name of the shared module @@ -102,7 +109,8 @@ export interface SharedModuleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly versionName: string; @@ -113,18 +121,20 @@ export interface SharedModuleInfo { * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ readonly description: string; /** * Indicates the description of this shared module * - * @type { number } + * @type { long } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi - * @since 10 + * @since arkts {'1.1':'10', '1.2':'20'} + * @arkts 1.1&1.2 */ - readonly descriptionId: number; + readonly descriptionId: long; } diff --git a/api/bundleManager/ShortcutInfo.d.ts b/api/bundleManager/ShortcutInfo.d.ts index c4c0b8fb9fb931c8d5a95e7fed559522324b0414..f19e3f3fd0115ca0717fc28df3e34927f75034f2 100644 --- a/api/bundleManager/ShortcutInfo.d.ts +++ b/api/bundleManager/ShortcutInfo.d.ts @@ -190,12 +190,12 @@ export interface ShortcutInfo { /** * Indicates the icon id of the shortcut * - * @type { ?number } + * @type { ?long } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @since 20 * @arkts 1.1&1.2 */ - iconId?: number; + iconId?: long; /** * Indicates the label of the shortcut @@ -244,12 +244,12 @@ export interface ShortcutInfo { /** * Indicates the label id of the shortcut * - * @type { ?number } + * @type { ?long } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @since 20 * @arkts 1.1&1.2 */ - labelId?: number; + labelId?: long; /** * Indicates the wants of the shortcut @@ -289,12 +289,12 @@ export interface ShortcutInfo { /** * Indicates the index of application clone. * - * @type { number } + * @type { int } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @since 20 * @arkts 1.1&1.2 */ - appIndex: number; + appIndex: int; /** * Indicates the source type of shortcut. @@ -307,12 +307,12 @@ export interface ShortcutInfo { /** * Indicates the source type of shortcut. * - * @type { number } + * @type { int } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @since 20 * @arkts 1.1&1.2 */ - sourceType: number; + sourceType: int; /** * Display control for indicating shortcut. @@ -320,6 +320,7 @@ export interface ShortcutInfo { * @type { ?boolean } * @syscap SystemCapability.BundleManager.BundleFramework.Launcher * @since 20 + * @arkts 1.1&1.2 */ visible?: boolean; } diff --git a/api/bundleManager/Skill.d.ts b/api/bundleManager/Skill.d.ts index 7e09ec6787da26af69c271477b2c1a1f11fd7cac..ddaedcf470d7005f521a0a94585fab83739fa716 100644 --- a/api/bundleManager/Skill.d.ts +++ b/api/bundleManager/Skill.d.ts @@ -114,14 +114,14 @@ export interface SkillUri { /** * Indicates the port of the skillUri * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly port: number; + readonly port: int; /** * Indicates the path of the skillUri @@ -186,14 +186,14 @@ export interface SkillUri { /** * Indicates the maxFileSupported of the skillUri * - * @type { number } + * @type { int } * @readonly * @syscap SystemCapability.BundleManager.BundleFramework.Core * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - readonly maxFileSupported: number; + readonly maxFileSupported: int; /** * Indicates the linkFeature of the skillUri