airtest.core.android.cap_methods.javacap module

class Javacap(adb, *args, **kwargs)[source]

Bases: Yosemite, BaseCap

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