ly.img.android.pesdk.backend.exif / ExifTagInfo / getValueAsLong

getValueAsLong

fun getValueAsLong(defaultValue: long): long

Gets the value or null if none exists. If there are more than 1 longs in this value, gets the first one. This method should be used for tags of type #TYPE_UNSIGNED_LONG.

Parameters

defaultValue - long: the long to return if tag's value does not exist or cannot be converted to a long.

Return
long: the tag's value as a long, or the defaultValue.