Skip to main content

OH_TextEditorProxy_FinishTextPreviewFunc

Type Alias OH_TextEditorProxy_FinishTextPreviewFunc 

Source
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§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut InputMethod_TextEditorProxy))

Some value of type T.