OH_ArkUI_NodeCustomEvent_GetUserData

Function OH_ArkUI_NodeCustomEvent_GetUserData 

Source
pub unsafe extern "C" fn OH_ArkUI_NodeCustomEvent_GetUserData(
    event: *mut ArkUI_NodeCustomEvent,
) -> *mut c_void
Available on crate feature api-12 only.
Expand description

Obtains custom event parameters through a custom component event.

§Arguments

  • event - Indicates the pointer to the custom component event.

§Returns

  • Returns the custom event parameters.

Available since API-level: 12