pub unsafe extern "C" fn OH_ArkUI_NodeEvent_GetTargetId(
event: *mut ArkUI_NodeEvent,
) -> i32Available on crate feature
api-12 only.Expand description
Obtains the custom ID of a component event.
The event ID is passed in as a parameter when the [registerNodeEvent] function is called and can be applied
to the dispatch logic of the same event entry function [registerNodeEventReceiver].
§Arguments
event- Indicates the pointer to the component event.
§Returns
- Returns the custom ID of the component event.
Available since API-level: 12