赞
踩
使用目的:雷电模拟器库函数调用(调用时注意函数前缀
)
add(name: str)
get_package_list(index: int) -> list
has_install(index: int, package: str)
results = Dnconsole.get_list()
results = Dnconsole.list_running()
results = Dnconsole.is_running(0)
install(index: int, path: str)
uninstall(index: int, package: str)
invokeapp(index: int, package: str)
stopapp(index: int, package: str)
auto_rate(index: int, auto_rate: bool = False)
launch(index: int)
quit(index: int)
get_activity_name(index: int)
wait_activity(index: int, activity: str, timeout: int) -> bool
input_text(index: int, text: str)
find_pic(screen: str, template: str, threshold: float)
wait_picture(index: int, timeout: int, template: str) -> bool
touch(index: int, x: int, y: int, delay: int = 0)
swipe(index, coordinate_leftup: tuple, coordinate_rightdown: tuple, delay: int = 0)
参考网站名称
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。