OH_Input_SetTouchEventDisplayId

Function OH_Input_SetTouchEventDisplayId 

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

Sets the displayId for a touch event.

ยงArguments

  • touchEvent - Touch event object.

  • displayId - The displayId for a touch event.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15