OH_Input_SetAxisEventActionTime

Function OH_Input_SetAxisEventActionTime 

Source
pub unsafe extern "C" fn OH_Input_SetAxisEventActionTime(
    axisEvent: *mut Input_AxisEvent,
    actionTime: i64,
) -> Input_Result
Available on crate feature api-12 only.
Expand description

Sets the time when an axis event occurs.

§Arguments

  • axisEvent - Axis event object. For details, see Input_AxisEvent.

  • actionTime - Time when an axis event occurs.

§Returns

  • OH_Input_SetAxisEventActionTime function result code. [INPUT_SUCCESS] Sets the time when an axis event occurs success.

[INPUT_PARAMETER_ERROR] The axisEvent is NULL.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12