BundleInfo

    BundleManager

    Description:

    Defines the bundle information.

    Summary

    Data Fields

    Details

    Field Documentation

    abilityInfos

    Description:

    Pointer to the ability information about the application. The ability information is encapsulated in objects.

    appId

    Description:

    Application ID, which uniquely identifies an application. It is a combination of the bundle name and signature of the application.

    bigIconPath

    1. char* BundleInfo::bigIconPath

    Description:

    Pointer to the big icon of the application

    1. char* BundleInfo::bundleName

    Description:

    Pointer to the bundle name of the application

    codePath

      Description:

      Pointer to the installation path of the application, which is in the /app/run/bundle name format

      compatibleApi

      1. int32_t BundleInfo::compatibleApi

      Description:

      dataPath

      1. char* BundleInfo::dataPath

      Description:

      Pointer to the path for storing data files of the application. The data path is /app/data.

      gid

      Description:

      Application group ID allocated during application installation

      isKeepAlive

      Description:

      Whether the application is kept alive

      isNativeApp

      1. bool BundleInfo::isNativeApp

      Description:

      Whether the application is a local application. A local application refers to an application developed using C++ in the system. The value true indicates a local application, and false indicates a non-local application.

      isSystemApp

      1. bool BundleInfo::isSystemApp

      Description:

      Whether the application is a system application. System applications cannot be uninstalled. The value true indicates a system application, and false indicates a non-system application.

      1. char* BundleInfo::label

      Description:

      Pointer to the application name visible to users

      moduleInfos

      1. [ModuleInfo]($api-api-SmartVision-Devices-ModuleInfo.md)* BundleInfo::moduleInfos

      Description:

      Pointer to the HAP package information about the application. The HAP information is encapsulated in ModuleInfo objects.

      numOfAbility

      1. int32_t BundleInfo::numOfAbility

      Description:

      Number of AbilityInfo objects in the application

      numOfModule

      Description:

      Number of ModuleInfo objects included in the application

      sharedLibPath

      Description:

      Pointer to the shared library path

      targetApi

      1. int32_t BundleInfo::targetApi

      Description:

      Pointer to the target API version for running the application

      uid

      1. int32_t BundleInfo::uid

      Description:

      UID allocated during application installation

      vendor

      1. char* BundleInfo::vendor

      Description:

      Pointer to the vendor name of the application

      1. int32_t BundleInfo::versionCode

      Description:

      Version code of the application, which is the internal version number

      versionName

      1. char* BundleInfo::versionName

      Description: