1# native_interface_bundle.h 2 3 4## Overview 5 6The **native_interface_bundle.h** file declares the APIs for querying application information. 7 8**Since** 9 109 11 12**Related Modules** 13 14[bundle](_bundle.md) 15 16 17## Summary 18 19 20### Structs 21 22| Name| Description| 23| -------- | -------- | 24| [OH_NativeBundle_ApplicationInfo](_o_h___native_bundle_application_info.md) | Defines the application information.| 25 26 27### Functions 28 29| Name| Description| 30| -------- | -------- | 31| [OH_NativeBundle_GetCurrentApplicationInfo](#oh_nativebundle_getcurrentapplicationinfo)| Obtains the information about the current application.| 32| [OH_NativeBundle_GetAppId](native__interface__bundle.md#oh_nativebundle_getappid) | Obtains the appId information about the current application.| 33| [OH_NativeBundle_GetAppIdentifier](native__interface__bundle.md#oh_nativebundle_getappidentifier) | Obtains the appIdentifier information about the current application.| 34 35 36## Function Description 37 38 39### OH_NativeBundle_GetCurrentApplicationInfo() 40 41``` 42OH_NativeBundle_ApplicationInfo OH_NativeBundle_GetCurrentApplicationInfo() 43``` 44 45**Description** 46 47Obtains the information about the current application. 48 49**Since**: 9 50 51**Returns** 52 53Returns the [OH_NativeBundle_ApplicationInfo](_o_h___native_bundle_application_info.md) struct. 54 55### OH_NativeBundle_GetAppId() 56 57``` 58char* OH_NativeBundle_GetAppId() 59``` 60 61**Description** 62 63Obtains the appId information about the current application. 64 65**Since**: 11 66 67**Returns** 68 69Returns a string that describes the appId information of the application. 70 71### OH_NativeBundle_GetAppIdentifier() 72 73``` 74char* OH_NativeBundle_GetAppIdentifier() 75``` 76 77**Description** 78 79Obtains the appIdentifier information about the current application. appIdentifier is the unique ID of the application, which is allocated by the cloud. This ID does not change along the application lifecycle, including version updates, certificate changes, public and private key changes, and application transfers. 80 81**Since**: 11 82 83**Returns** 84 85Returns a string that describes the appIdentifier information of the application. 86