start_recording(max_time=1800, bit_rate=None, vertical=None)¶
Start screen recording
- max_time – maximum rate value, default is 1800
- bit_rate – bit rate value, default is None
- vertical – vertical parameters, default is None
RuntimeError– if any error occurs while setup the recording
None if recording did not start, otherwise True
Stop screen recording
- output – default file is screen.mp4
- is_interrupted – True or False. Stop only, no pulling recorded file from device.
AirtestError– if recording was not started before
Pull the latest recording file from device. Error raises if no recording files on device.
Parameters: output – default file is screen.mp4