Interface ScreenRecorder
- All Known Implementing Classes:
NoOpScreenRecorder
public interface ScreenRecorder
A screen recorder for the Robolectric Simulator.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFrame rates are rational numbers. -
Method Summary
Modifier and TypeMethodDescriptionvoidrecordFrame(Bitmap frame) Record a frame.voidstart(Path output, int width, int height, ScreenRecorder.FrameRate frameRate) Start the screen recorder.voidstop()Stop the screen recorder.
-
Method Details
-
start
Start the screen recorder. -
recordFrame
Record a frame. The implementation should call frame.recycle(). -
stop
void stop()Stop the screen recorder.
-