OH_Input_SetTouchEventFingerId

Function OH_Input_SetTouchEventFingerId 

Source
pub unsafe extern "C" fn OH_Input_SetTouchEventFingerId(
    touchEvent: *mut Input_TouchEvent,
    id: i32,
)
Available on crate feature api-12 only.
Expand description

Sets the finger ID for the touch event.

ยงArguments

  • touchEvent - Touch event object.

  • id - Finger ID.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12