开源鸿蒙 Native_Bundle
Native_Bundle
Overview
Description:
Describes the Native Bundle.
Since:
9
Version:
1.0
Summary
Files
| File Name | Description | | ——– | ——– | | native_interface_bundle.h | Declares the Bundle-specific function, including function for obtaining application ID. |
Functions
| Function | Description |
| ——– | ——– |
| OH_NativeBundle_GetAppIdByBundleName (const char *bundleName) | char *
Obtains the application ID based on the given bundle name. |
Details
Function
OH_NativeBundle_GetAppIdByBundleName()
char* OH_NativeBundle_GetAppIdByBundleName (const char * bundleName)
Description:
Obtains the application ID based on the given bundle name.
Parameters:
| Name | Description | | ——– | ——– | | bundleName | Indicates the bundle name of the application. |
Returns:
Returns the application ID pointer if successfully obtained and needs to be freed; returns nullptr otherwise.
你可能感兴趣的文章
开源鸿蒙 OH_NativeXComponent_Callback
开源鸿蒙 OH_NativeXComponent_TouchEvent
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦