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

Sets how the component behaves during hit testing.

§Arguments

  • event - Indicates the pointer to the current UI input event.

  • mode - Indicates how the component behaves during hit testing. The parameter type is HitTestMode.

§Returns

  • Returns the status code of the execution.

Available since API-level: 12