pub type OH_TextEditorProxy_FinishTextPreviewFunc = Option<unsafe extern "C" fn(textEditorProxy: *mut InputMethod_TextEditorProxy)>;Expand description
@brief Called when input method finishing preview text.
You need to implement this function, set it to {@link InputMethod_TextEditorProxy} through {@link OH_TextEditorProxy_SetReceivePrivateCommandFunc}, 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. @since 12
Aliased Type§
pub enum OH_TextEditorProxy_FinishTextPreviewFunc {
None,
Some(unsafe extern "C" fn(*mut InputMethod_TextEditorProxy)),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut InputMethod_TextEditorProxy))
Some value of type T.