public class BasicScreenCaptureProcessor implements ScreenCaptureProcessor

A basic ScreenCaptureProcessor for processing a ScreenCapture.

This will perform basic processing on the given ScreenCapture such as saving to the public Pictures directory, given by android.os.Environment.getExternalStoragePublicDirectory(DIRECTORY_PICTURES), with a simple name that includes a few characteristics about the device it was saved on followed by a UUID.

Summary

Protected fields

Public constructors

Public methods

Protected methods

getDefaultFilename

protected String getDefaultFilename()

Returns the default filename for this class suffixed with a UUID.

getFilename

protected String getFilename(String prefix)

Returns the filename created from the given prifix and suffixed with a UUID.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-05-15 UTC.