Skip to main content

OH_Input_CursorInfo_GetSizeLevel

Function OH_Input_CursorInfo_GetSizeLevel 

Source
pub unsafe extern "C" fn OH_Input_CursorInfo_GetSizeLevel(
    cursorInfo: *mut Input_CursorInfo,
    sizeLevel: *mut i32,
) -> Input_Result
Available on crate feature api-22 only.
Expand description

Obtains the cursor sizeLevel of the cursorInfo.

§Arguments

  • cursorInfo - Cursor info object.

  • sizeLevel - Cursor size level of the cursorInfo.

§Returns

  • OH_Input_CursorInfo_GetSizeLevel function api result code [INPUT_SUCCESS] if the operation is successful; [INPUT_PARAMETER_ERROR] if parameter is a null cursor or the cursor is invisible;

Available since API-level: 22