Interface Preprocess<T>

Type Parameters:
T - The class representing the resource - This is the type on which the preprocessing will run (e.g. Bitmap)

public interface Preprocess<T>
Preprocess to run on a resource before uploading to Cloudinary. Pass an implementation of this interface to PreprocessChain.addStep(Preprocess) to run preprocessing and validation steps on a resource.
  • Method Summary

    Modifier and Type Method Description
    T execute​(android.content.Context context, T resource)
    Execute the given preprocess on the resource