{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
interface ScreenCaptureProcessor
BasicScreenCaptureProcessor |
A basic |
Interface for an object that is capable of processing ScreenCaptures.
This API is currently in beta.
Public methods |
|
|---|---|
abstract @NonNull String |
process(@NonNull ScreenCapture capture)Process the given |
@NonNull
public abstract String process(@NonNull 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 | |
|---|---|
@NonNull ScreenCapture capture |
the |
| Returns | |
|---|---|
String |
the filename the bitmap was saved as |
| Throws | |
|---|---|
java.io.IOException |
if there was an I/O error saving the screenshot |