bundle

Overview

The bundle module provides APIs for querying application information.

System capability: SystemCapability.BundleManager.BundleFramework.Core

Since: 9

Summary

Files

Name Description
native_interface_bundle.h Provides application information structs and functions.

Structs

Name Description
OH_NativeBundle_ApplicationInfo Defines the application information.

Functions

Name Description
OH_NativeBundle_GetCurrentApplicationInfo Obtains the information about the current application.
OH_NativeBundle_GetAppId Obtains the appId information about the current application.
OH_NativeBundle_GetAppIdentifier Obtains the appIdentifier information about the current application.