ArkUI_ContextCallback

typedef struct {...} ArkUI_ContextCallback

Overview

Defines the event callback type.

Since: 12

Related module: ArkUI_NativeModule

Header file: native_type.h

Summary

Member Variables

Name Description
void* userData Custom type. The data of the custom type is passed as a parameter during callback.

Member Functions

Name Description
void (*callback)(void* userData) Event callback.

Member Function Description

callback()

void (*callback)(void* userData)

Description

Event callback.