OH_Input_QueryMaxTouchPoints

Function OH_Input_QueryMaxTouchPoints 

Source
pub unsafe extern "C" fn OH_Input_QueryMaxTouchPoints(
    count: *mut i32,
) -> Input_Result
Available on crate feature api-20 only.
Expand description

Queries the maximum number of touch points supported by the current device. If -1 is returned, the number is unknown.

§Arguments

  • count - Maximum number of touch points supported.

§Returns

  • OH_Input_QueryMaxTouchPoints function api result code [INPUT_SUCCESS] if the operation is successful; [INPUT_PARAMETER_ERROR] if count is a null pointer.

Available since API-level: 20