open 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
.
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.