-
public interface ScreenshotRecorderCallbackA callback to be invoked when a new screenshot available. Normally, only one of the onScreenshotRecorded method overloads should be called by a single recorder, however, it will still work of both are used at the same time.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonScreenshotRecorded(Bitmap bitmap)Called whenever a new frame screenshot is available. abstract UnitonScreenshotRecorded(File screenshot, Long frameTimestamp)Called whenever a new frame screenshot is available. -
-
Method Detail
-
onScreenshotRecorded
abstract Unit onScreenshotRecorded(Bitmap bitmap)
Called whenever a new frame screenshot is available.
- Parameters:
bitmap- a screenshot taken in the form of android.graphics.Bitmap
-
onScreenshotRecorded
abstract Unit onScreenshotRecorded(File screenshot, Long frameTimestamp)
Called whenever a new frame screenshot is available.
- Parameters:
screenshot- file containing the frame screenshotframeTimestamp- the timestamp when the frame screenshot was taken
-
-
-
-