-
public interface ImageDecoderInterface for image decoding classes, allowing the default android.graphics.BitmapFactory based on the Skia library to be replaced with a custom class.
-
-
Method Summary
-
-
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 contexturi- URI of the image
-
-
-
-