OH_Input_CreateTouchEvent

Function OH_Input_CreateTouchEvent 

Source
pub unsafe extern "C" fn OH_Input_CreateTouchEvent() -> *mut Input_TouchEvent
Available on crate feature api-12 only.
Expand description

Creates a touch event object.

ยงReturns

  • Returns an Input_TouchEvent pointer object if the operation is successful. Otherwise, a null pointer is returned. The possible cause is memory allocation failure.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12