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

getValueAsString

fun getValueAsString(defaultValue: java.lang.String): java.lang.String

Gets the value as a String. This method should be used for tags of type #TYPE_ASCII.

Parameters

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

Return
java.lang.String: the tag's value as a String, or the defaultValue.

fun getValueAsString(): java.lang.String

Gets the value as a String. This method should be used for tags of type #TYPE_ASCII.

Return
java.lang.String: the value as a String, or null if the tag's value does not exist or cannot be converted to a String.