getValueAsLong

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 .

Return

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

Parameters

defaultValue

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

open fun getValueAsLong(defaultValue: Long): Long