Function termux_clipboard::get_string[][src]

pub fn get_string() -> Result<String, TermuxClipboardError>

query the termux API to get the content of the Android clipboard if it can be converted to a string.

Won’t work if the Termux API isn’t installed