55a280c3创建于 2025年12月12日历史提交

bundle_manager_common.h

Overview

The file declares the error codes defined by BundleManager.

File to include: <bundle/bundle_manager_common.h>

Library: libbundle_ndk.z.so

System capability: SystemCapability.BundleManager.BundleFramework.Core

Since: 21

Related module: Native_Bundle

Summary

Enums

Name typedef Keyword Description
BundleManager_ErrorCode BundleManager_ErrorCode Enumerates the error codes.

Enum Description

BundleManager_ErrorCode

enum BundleManager_ErrorCode

Description

Enumerates the error codes.

Since: 21

Value Description
BUNDLE_MANAGER_ERROR_CODE_NO_ERROR = 0 Operation success.
BUNDLE_MANAGER_ERROR_CODE_PERMISSION_DENIED = 201 No access permission.
BUNDLE_MANAGER_ERROR_CODE_PARAM_INVALID = 401 Invalid parameter.