Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

ScreenCaptureProcessor

public interface ScreenCaptureProcessor

android.support.test.runner.screenshot.ScreenCaptureProcessor
Known Indirect Subclasses


Interface for an object that is capable of processing ScreenCaptures.

This API is currently in beta.

Summary

Public methods

abstract String process(ScreenCapture capture)

Process the given ScreenCapture.

Public methods

process

String process (ScreenCapture capture)

Process the given ScreenCapture.

The given ScreenCapture defines optional properties like filename and format that should be respected when defining the behavior of this method.

Parameters
capture ScreenCapture: the ScreenCapture that specifies the bitmap to process

Returns
String the filename the bitmap was saved as

Throws
IOException if there was an I/O error saving the screenshot