arkui_sys::ui_input_event

Function OH_ArkUI_UIInputEvent_GetAction

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

@brief Obtains the action type of this UI input event.

@param event Indicates the pointer to the current UI input event. @return Returns the action type of the current UI input event; returns 0 if any parameter error occurs. @since 12