pub unsafe extern "C" fn OH_Input_CreateTouchEvent() -> *mut Input_TouchEventAvailable on crate feature
api-12 only.Expand description
Creates a touch event object.
ยงReturns
- Returns an
Input_TouchEventpointer 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