pub unsafe extern "C" fn OH_ArkUI_NodeEvent_GetUserData(
event: *mut ArkUI_NodeEvent,
) -> *mut c_voidAvailable on crate feature
api-12 only.Expand description
Obtains the custom data in a component event.
This parameter is passed in [registerNodeEvent] and can be applied to the service logic when the event
is triggered.
§Arguments
event- Indicates the pointer to the component event.
§Returns
- Returns the pointer to the custom data.
Available since API-level: 12