Package 

Interface ImageDecoder

    • Method Summary

      Modifier and Type Method Description
      abstract Bitmap decode(Context context, @NonNull() Uri uri) Decode an image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • decode

        @NonNull() abstract Bitmap decode(Context context, @NonNull() Uri uri)

        Decode an image. The URI can be in one of the following formats:File: file:///scard/picture.jpgAsset: file:///android_asset/picture.pngResource: android.resource://com.example.app/drawable/picture

        Parameters:
        context - Application context
        uri - URI of the image