airtest.core.android.javacap module

class Javacap(adb)[source]

Bases: airtest.core.android.yosemite.Yosemite

This is another screencap class, it is slower in performance than minicap, but it provides the better compatibility

APP_PKG = 'com.netease.nie.yosemite'
SCREENCAP_SERVICE = 'com.netease.nie.yosemite.Capture'
RECVTIMEOUT = None
get_frames()[source]

Get the screen frames

Returns:None
get_frame_from_stream()[source]

Get frame from the stream

Returns:frame
teardown_stream()[source]

End stream

Returns:None