鸿蒙OpenHarmony Native API【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.

相关推荐

  1. 鸿蒙:PrefereneceUtil

    2024-07-21 23:40:03       48 阅读
  2. 「前端+鸿蒙鸿蒙应用开发简介

    2024-07-21 23:40:03       30 阅读
  3. 「前端+鸿蒙鸿蒙应用开发-TS函数

    2024-07-21 23:40:03       26 阅读
  4. 「前端+鸿蒙鸿蒙应用开发-布局

    2024-07-21 23:40:03       35 阅读
  5. 鸿蒙学习资料

    2024-07-21 23:40:03       62 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-21 23:40:03       95 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-21 23:40:03       103 阅读
  3. 在Django里面运行非项目文件

    2024-07-21 23:40:03       84 阅读
  4. Python语言-面向对象

    2024-07-21 23:40:03       93 阅读

热门阅读

  1. 数字转换(树形DP)

    2024-07-21 23:40:03       25 阅读
  2. python 爬虫技术 第03节 基础复习 控制结构

    2024-07-21 23:40:03       23 阅读
  3. Python 模块导入方式

    2024-07-21 23:40:03       26 阅读
  4. 基于最新版的flutter pointycastle: ^3.9.1的AES加密

    2024-07-21 23:40:03       23 阅读
  5. Shiro-550反序列化漏洞

    2024-07-21 23:40:03       19 阅读
  6. Kotlin单例、数据类、静态

    2024-07-21 23:40:03       28 阅读
  7. CSP-J模拟赛day1

    2024-07-21 23:40:03       29 阅读