OH_ArkUI_NodeCustomEvent_GetEventTargetId

Function OH_ArkUI_NodeCustomEvent_GetEventTargetId 

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

Obtains the ID of a custom component event.

§Arguments

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

§Returns

  • Returns the ID of the custom component event.

Available since API-level: 12