fidl_fuchsia_ui_input

Trait InputMethodEditorProxyInterface

Source
pub trait InputMethodEditorProxyInterface: Send + Sync {
    type DispatchKey3ResponseFut: Future<Output = Result<bool, Error>> + Send;

    // Required methods
    fn set_keyboard_type(
        &self,
        keyboard_type: KeyboardType,
    ) -> Result<(), Error>;
    fn set_state(&self, state: &TextInputState) -> Result<(), Error>;
    fn inject_input(&self, event: &InputEvent) -> Result<(), Error>;
    fn dispatch_key3(&self, event: &KeyEvent) -> Self::DispatchKey3ResponseFut;
    fn show(&self) -> Result<(), Error>;
    fn hide(&self) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn set_keyboard_type(&self, keyboard_type: KeyboardType) -> Result<(), Error>

Source

fn set_state(&self, state: &TextInputState) -> Result<(), Error>

Source

fn inject_input(&self, event: &InputEvent) -> Result<(), Error>

Source

fn dispatch_key3(&self, event: &KeyEvent) -> Self::DispatchKey3ResponseFut

Source

fn show(&self) -> Result<(), Error>

Source

fn hide(&self) -> Result<(), Error>

Implementors§