Interface ScreenCapturer.Listener

Enclosing class:
ScreenCapturer

public static interface ScreenCapturer.Listener
Interface that provides events and errors related to ScreenCapturer.
  • Method Details

    • onScreenCaptureError

      void onScreenCaptureError(@NonNull String errorDescription)
      Reports an error that occurred in ScreenCapturer.
      Parameters:
      errorDescription - description of the error that occurred.
    • onFirstFrameAvailable

      void onFirstFrameAvailable()
      Indicates when the first frame has been captured from the screen.