• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# context_constant.h
2
3
4## Overview
5
6The **context_constant.h** file declares context-related enums.
7
8**Library**: libability_runtime.so
9
10**System capability**: SystemCapability.Ability.AbilityRuntime.Core
11
12**Since**: 13
13
14**Related module**: [AbilityRuntime](_ability_runtime.md)
15
16
17## Summary
18
19### Files
20
21| Name                                         | Description                                                        |
22| --------------------------------------------- | ------------------------------------------------------------ |
23| [context_constant.h](context__constant_8h.md) | Declares context-related enums.<br>**File to include**: <AbilityKit/ability_runtime/context_constant.h><br>**Library**: libability_runtime.so|
24
25
26### Enums
27
28| Name                                                        | Description              |
29| ------------------------------------------------------------ | ------------------ |
30| [AbilityRuntime_AreaMode](_ability_runtime.md#abilityruntime_areamode) {<br>    ABILITY_RUNTIME_AREA_MODE_EL1 = 0,<br>    ABILITY_RUNTIME_AREA_MODE_EL2 = 1,<br>    ABILITY_RUNTIME_AREA_MODE_EL3 = 2,<br>    ABILITY_RUNTIME_AREA_MODE_EL4 = 3,<br>    ABILITY_RUNTIME_AREA_MODE_EL5 = 4<br>} | Enumerates the data encryption levels.|
31| [AbilityRuntime_StartVisibility](_ability_runtime.md#abilityruntime_startvisibility) {<br>    ABILITY_RUNTIME_HIDE_UPON_START = 0,<br>    ABILITY_RUNTIME_SHOW_UPON_START = 1<br>} | Enumerates the visibility modes of the window and dock bar icons when the ability is started.    |
32| [AbilityRuntime_WindowMode](_ability_runtime.md#abilityruntime_windowmode) {<br>    ABILITY_RUNTIME_WINDOW_MODE_UNDEFINED = 0,<br>    ABILITY_RUNTIME_WINDOW_MODE_FULL_SCREEN = 1<br>} | Enumerates the window modes in which an ability can be displayed at startup.    |
33| [AbilityRuntime_SupportedWindowMode](_ability_runtime.md#abilityruntime_supportedwindowmode) {<br>    ABILITY_RUNTIME_SUPPORTED_WINDOW_MODE_FULL_SCREEN = 0,<br>    ABILITY_RUNTIME_SUPPORTED_WINDOW_MODE_SPLIT = 1,<br>    ABILITY_RUNTIME_SUPPORTED_WINDOW_MODE_FLOATING = 2<br>} | Enumerates the window modes supported by an ability when it is started.    |
34