pub unsafe extern "C" fn OH_Input_GetIntervalSinceLastInput(
timeInterval: *mut i64,
) -> Input_ResultAvailable on crate feature
api-14 only.Expand description
Obtains the interval since the last system input event.
§Arguments
timeInterval- Interval, in microseconds.
§Returns
- OH_Input_GetIntervalSinceLastInput status code, specifically.
[
INPUT_SUCCESS] if the Operation is successful.
[INPUT_SERVICE_EXCEPTION] Failed to get the interval because the service is exception.
[INPUT_PARAMETER_ERROR] The timeInterval is NULL.
Required System Capabilities: SystemCapability.MultimodalInput.Input.Core
Available since API-level: 14