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

checkIsSvgResource

static fun checkIsSvgResource(@DrawableRes @RawRes resourceID: int): boolean

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

Parameters

resourceID - int: resource id.

Return
boolean: true if teh resource is an svg.