ly.img.android.pesdk.utils / BitmapFactoryUtils / checkResourceType

checkResourceType

static fun checkResourceType(@DrawableRes @RawRes resourceID: int, vararg suffixs: java.lang.String): boolean

Check if the resource is a jpeg file, by looking at the file_extension

Parameters

resourceID - int: resource id.

Return
boolean: true if teh resource is an svg.