Interface ScreenRecorder

All Known Implementing Classes:
NoOpScreenRecorder

public interface ScreenRecorder
A screen recorder for the Robolectric Simulator.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Frame rates are rational numbers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Record a frame.
    void
    start(Path output, int width, int height, ScreenRecorder.FrameRate frameRate)
    Start the screen recorder.
    void
    Stop the screen recorder.
  • Method Details

    • start

      void start(Path output, int width, int height, ScreenRecorder.FrameRate frameRate)
      Start the screen recorder.
    • recordFrame

      void recordFrame(Bitmap frame)
      Record a frame. The implementation should call frame.recycle().
    • stop

      void stop()
      Stop the screen recorder.