harmony 鸿蒙context_constant.h

  • 2025-06-12
  • 浏览 (3)

context_constant.h

Overview

The context_constant.h file declares context-related enums.

Library: libability_runtime.so

System capability: SystemCapability.Ability.AbilityRuntime.Core

Since: 13

Related module: AbilityRuntime

Summary

Files

Name Description
context_constant.h Declares context-related enums.
File to include:
Library: libability_runtime.so

Enums

Name Description
AbilityRuntime_AreaMode {
ABILITY_RUNTIME_AREA_MODE_EL1 = 0,
ABILITY_RUNTIME_AREA_MODE_EL2 = 1,
ABILITY_RUNTIME_AREA_MODE_EL3 = 2,
ABILITY_RUNTIME_AREA_MODE_EL4 = 3,
ABILITY_RUNTIME_AREA_MODE_EL5 = 4
}
Enumerates the data encryption levels.
AbilityRuntime_StartVisibility {
ABILITY_RUNTIME_HIDE_UPON_START = 0,
ABILITY_RUNTIME_SHOW_UPON_START = 1
}
Enumerates the visibility modes of the window and dock bar icons when the ability is started.
AbilityRuntime_WindowMode {
ABILITY_RUNTIME_WINDOW_MODE_UNDEFINED = 0,
ABILITY_RUNTIME_WINDOW_MODE_FULL_SCREEN = 1
}
Enumerates the window modes in which an ability can be displayed at startup.
AbilityRuntime_SupportedWindowMode {
ABILITY_RUNTIME_SUPPORTED_WINDOW_MODE_FULL_SCREEN = 0,
ABILITY_RUNTIME_SUPPORTED_WINDOW_MODE_SPLIT = 1,
ABILITY_RUNTIME_SUPPORTED_WINDOW_MODE_FLOATING = 2
}
Enumerates the window modes supported by an ability when it is started.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Ability Kit

harmony 鸿蒙AbilityAccessControl

harmony 鸿蒙AbilityBase

harmony 鸿蒙AbilityBase_Element

harmony 鸿蒙AbilityRuntime

harmony 鸿蒙bundle

harmony 鸿蒙OH_NativeBundle_ApplicationInfo

harmony 鸿蒙OH_NativeBundle_ElementName

harmony 鸿蒙ability_access_control.h

harmony 鸿蒙ability_base_common.h

0  赞