getValueAsString

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

Return

the tag's value as a String, or the defaultValue.

Parameters

defaultValue

the String to return if the tag's value does not exist or cannot be converted to a String.

open fun getValueAsString(defaultValue: String): String

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

Return

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

open fun getValueAsString(): String