application_context.h
Overview
The application_context.h file declares the context capability at the application level.
Library: libability_runtime.so
System capability: SystemCapability.Ability.AbilityRuntime.Core
Since: 13
Related module: AbilityRuntime
Summary
Files
| Name | Description |
|---|---|
| application_context.h | Declares the context capability at the application level. File to include: <AbilityKit/ability_runtime/application_context.h> Library: libability_runtime.so |
Functions
| Name | Description |
|---|---|
| AbilityRuntime_ErrorCode OH_AbilityRuntime_ApplicationContextGetCacheDir(char* buffer, int32_t bufferSize, int32_t* writeLength) | Obtains the application-level cache directory. |
| AbilityRuntime_ErrorCode OH_AbilityRuntime_ApplicationContextGetAreaMode(AbilityRuntime_AreaMode* areaMode) | Obtains the application-level data encryption level. |
| AbilityRuntime_ErrorCode OH_AbilityRuntime_ApplicationContextGetBundleName(char* buffer, int32_t bufferSize, int32_t* writeLength) | Obtains the bundle name of the application. |