pub enum ImeServiceRequest {
GetInputMethodEditor {
keyboard_type: KeyboardType,
action: InputMethodAction,
initial_state: TextInputState,
client: ClientEnd<InputMethodEditorClientMarker>,
editor: ServerEnd<InputMethodEditorMarker>,
control_handle: ImeServiceControlHandle,
},
ShowKeyboard {
control_handle: ImeServiceControlHandle,
},
HideKeyboard {
control_handle: ImeServiceControlHandle,
},
}
Expand description
The service provided by an IME
Variants§
GetInputMethodEditor
Fields
§
keyboard_type: KeyboardType
§
action: InputMethodAction
§
initial_state: TextInputState
§
client: ClientEnd<InputMethodEditorClientMarker>
§
editor: ServerEnd<InputMethodEditorMarker>
§
control_handle: ImeServiceControlHandle
ShowKeyboard
Fields
§
control_handle: ImeServiceControlHandle
HideKeyboard
Fields
§
control_handle: ImeServiceControlHandle
Implementations§
source§impl ImeServiceRequest
impl ImeServiceRequest
pub fn into_get_input_method_editor( self ) -> Option<(KeyboardType, InputMethodAction, TextInputState, ClientEnd<InputMethodEditorClientMarker>, ServerEnd<InputMethodEditorMarker>, ImeServiceControlHandle)>
pub fn into_show_keyboard(self) -> Option<ImeServiceControlHandle>
pub fn into_hide_keyboard(self) -> Option<ImeServiceControlHandle>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL