Skip to main content

OH_Input_CursorConfig_IsFollowSystem

Function OH_Input_CursorConfig_IsFollowSystem 

Source
pub unsafe extern "C" fn OH_Input_CursorConfig_IsFollowSystem(
    cursorConfig: *mut Input_CursorConfig,
    followSystem: *mut bool,
) -> Input_Result
Available on crate feature api-22 only.
Expand description

Obtains the followSystem of the cursorConfig.

§Arguments

  • cursorConfig - Pointer to an Input_CursorConfig object.

  • followSystem - Pointer of the config whether to adjust the cursor size based on system settings

§Returns

  • OH_Input_CursorConfig_IsFollowSystem function result code. [INPUT_SUCCESS] if the operation is successful; [INPUT_PARAMETER_ERROR] The cursorOptions or followSystem the is NULL.

Available since API-level: 22