arkui_sys::ui_input_event

Function OH_ArkUI_PointerEvent_SetInterceptHitTestMode

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

@brief Sets how the component behaves during hit testing.

@param event Indicates the pointer to the current UI input event. @param mode Indicates how the component behaves during hit testing. The parameter type is {@link HitTestMode}. @return Returns the status code of the execution. @since 12