Skip to main content

text

Function text 

Source
pub async fn text(
    host: &Host,
    device_id: &str,
    input: &str,
    options: &GestureOptions,
) -> Result<GestureResult>
Expand description

Input text on a device.

§Arguments

  • device_id - Device identifier
  • input - Text to input
  • options - Gesture options including diff settings

§Errors

Returns an error if the text input fails or the device is not available.