目录

ArkUI_Context

typedef struct ArkUI_Context ArkUI_Context

Overview

Defines a context object of the ArkUI native UI, which is used to represent the UI context of the page where the component is located. The pointer type is ArkUI_ContextHandle. You can obtain the context using OH_ArkUI_GetContextByNode and use it as the context input parameter for APIs such as dragging, animation, and UI task scheduling.

Since: 12

Related module: ArkUI_NativeModule

Header file: native_type.h