airtest.core.android.ime module

ensure_unicode(value)[源代码]

Decode UTF-8 values

参数:value – value to be decoded
返回:decoded valued
class CustomIme(adb, apk_path, service_name)[源代码]

基类:object

Input Methods Class Object

start()[源代码]

Enable input method

返回:None
end()[源代码]

Disable input method

返回:None
text(value)[源代码]
class YosemiteIme(adb)[源代码]

基类:airtest.core.android.ime.CustomIme

Yosemite Input Method Class Object

start()[源代码]

Enable input method

返回:None
text(value)[源代码]

Input text with Yosemite input method

参数:value – text to be inputted
返回:output form adb shell command