pub unsafe extern "C" fn OH_Input_GetAxisEventActionTime(
axisEvent: *const Input_AxisEvent,
actionTime: *mut i64,
) -> Input_ResultAvailable on crate feature
api-12 only.Expand description
Obtains the time when an axis event occurs.
§Arguments
-
axisEvent- Axis event object. For details, seeInput_AxisEvent. -
actionTime- Time when an axis event occurs.
§Returns
- OH_Input_GetAxisEventActionTime function result code.
[
INPUT_SUCCESS] Obtains the time when an axis event occurs success.
[INPUT_PARAMETER_ERROR] The axisEvent is NULL or the actionTime is NULL.
Required System Capabilities: SystemCapability.MultimodalInput.Input.Core
Available since API-level: 12