Skip to main content

OH_InputMethodProxy_NotifyCursorUpdate

Function OH_InputMethodProxy_NotifyCursorUpdate 

Source
pub unsafe extern "C" fn OH_InputMethodProxy_NotifyCursorUpdate(
    inputMethodProxy: *mut InputMethod_InputMethodProxy,
    cursorInfo: *mut InputMethod_CursorInfo,
) -> InputMethod_ErrorCode
Expand description

@brief Notify cursor update.

@param inputMethodProxy Represents a pointer to an {@link InputMethod_InputMethodProxy} instance. The inputMethodProxy is obtained from {@link OH_InputMethodController_Attach}. @param cursorInfo Represents a pointer to an {@link InputMethod_CursorInfo} instance. The cursor information. @return Returns a specific error code. {@link IME_ERR_OK} - success. {@link IME_ERR_PARAMCHECK} - parameter check failed. {@link IME_ERR_IMCLIENT} - input method client error. {@link IME_ERR_IMMS} - input method manager service error. {@link IME_ERR_DETACHED} - input method client detached. {@link IME_ERR_NULL_POINTER} - unexpected null pointer. Specific error codes can be referenced {@link InputMethod_ErrorCode}. @since 12