getTagValue

Returns the value of the ExifTag in that tag's default IFD for a defined tag constant or null if none exists or the value could not be cast into the return type.

Return

the value of the ExifTag or null if none exists.

Parameters

tag

a defined tag constant, e.g. {@see #ExifTagKey.IMAGE_WIDTH} .

open fun getTagValue(tag: Exify.TAG): Any

Returns the value of the ExifTag in that tag's default IFD for a defined tag constant or null if none exists or the value could not be cast into the return type.

Return

the value of the ExifTag or null if none exists.

Parameters

tagId

a defined tag constant, e.g. {@see #ExifTagKey.IMAGE_WIDTH} .

open fun getTagValue(tagId: Int): Any

Gets a tag value for an IFD other than the tag's default.

See also

#getTagValue

open fun getTagValue(tagId: Int, ifdId: Int): Any