OH_Input_RemoveInputEventInterceptor

Function OH_Input_RemoveInputEventInterceptor 

Source
pub unsafe extern "C" fn OH_Input_RemoveInputEventInterceptor() -> Input_Result
Available on crate feature api-12 only.
Expand description

Removes an interceptor for input events, including mouse, touch, and axis events.

ohos.permission.INTERCEPT_INPUT_EVENT

ยงReturns

  • OH_Input_RemoveInputEventInterceptor function result code. [INPUT_SUCCESS] Removes an interceptor for input events success.

[INPUT_PERMISSION_DENIED] Permission verification failed.

[INPUT_SERVICE_EXCEPTION] Failed to remove the interceptor because the service is exception.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 12