Skip to main content

OH_Input_CursorConfig_Create

Function OH_Input_CursorConfig_Create 

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

Creates a CursorConfig object.

§Arguments

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

§Returns

  • Returns an Input_CursorConfig pointer object if the operation is successful. returns a null pointer otherwise.

Available since API-level: 22