Skip to main content

OH_Input_SetPointerVisible

Function OH_Input_SetPointerVisible 

Source
pub unsafe extern "C" fn OH_Input_SetPointerVisible(
    visible: bool,
) -> Input_Result
Available on crate feature api-22 only.
Expand description

Sets the visible status of the mouse pointer.

§Arguments

  • visible - Whether the mouse pointer is visible. The value true indicates that the pointer

§Returns

  • OH_Input_SetPointerVisible function api result code [INPUT_SUCCESS] if the operation is successful; [INPUT_DEVICE_NOT_SUPPORTED] if the device is not supported. [INPUT_SERVICE_EXCEPTION] if the service is exception.

Available since API-level: 22