pub type OH_TextEditorProxy_MoveCursorFunc = Option<unsafe extern "C" fn(textEditorProxy: *mut InputMethod_TextEditorProxy, direction: InputMethod_Direction)>;Expand description
@brief Called when input method requesting to move cursor.
You need to implement this function, set it to {@link InputMethod_TextEditorProxy} through {@link OH_TextEditorProxy_SetMoveCursorFunc}, and use {@link OH_InputMethodController_Attach} to complete the registration.\n
@param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. @param direction Represents the direction of the cursor movement, which is defined in {@link InputMethod_Direction}. @since 12
Aliased Type§
pub enum OH_TextEditorProxy_MoveCursorFunc {
None,
Some(unsafe extern "C" fn(*mut InputMethod_TextEditorProxy, u32)),
}