Skip to main content

OH_Input_RemoveMouseEventMonitor

Function OH_Input_RemoveMouseEventMonitor 

Source
pub unsafe extern "C" fn OH_Input_RemoveMouseEventMonitor(
    callback: Input_MouseEventCallback,
) -> Input_Result
Expand description

@brief Removes the listener for mouse events.

@permission ohos.permission.INPUT_MONITORING @param callback Callback for mouse events. @return {@link INPUT_SUCCESS} if the operation is successful;
{@link INPUT_PERMISSION_DENIED} if permission verification fails;
{@link INPUT_PARAMETER_ERROR} if the callback is empty or no listener is added;
{@link INPUT_SERVICE_EXCEPTION} if the service is abnormal. @syscap SystemCapability.MultimodalInput.Input.Core @since 12