OH_ArkUI_AxisEvent_GetScrollStep

Function OH_ArkUI_AxisEvent_GetScrollStep 

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

Obtains the scroll step coefficient for a wheel-based axis event. This API returns the user-configured scroll scale factor factor.

§Arguments

  • event - Pointer to the UI input event.

§Returns

  • Scroll step configuration of the mouse wheel axis event.

Available since API-level: 17