Otherwise there is a compilation error when building with only the feature bitmap, due to the inexistence of the DataSpace type. DataSpace is defined with api-level-28, but this BitmapCompressError is only used by Bitmap::compress() and Bitmap::compress_raw(), which are only available with api-level-30.
Otherwise there is a compilation error when building with only the feature
bitmap
, due to the inexistence of theDataSpace
type.DataSpace
is defined withapi-level-28
, but thisBitmapCompressError
is only used byBitmap::compress()
andBitmap::compress_raw()
, which are only available withapi-level-30
.