setTagDefinition

Creates a new tag definition in this ExifInterface object for a given TID and default IFD. Creating a definition with the same TID and default IFD as a previous definition will override it.

Return

the defined tag constant (e.g. {@see #ExifTagKey.IMAGE_WIDTH} ) or {@see #ExifTagKey.NULL} if the definition could not be made.

Parameters

allowedIfds

the IFD's this tag is allowed to be put in.

defaultComponentCount

the number of elements of this tag's type in the tags value.

defaultIfd

the default IFD for the ExifTagKey.

tagId

the TID for the ExifTagKey.

tagType

the type of the tag (see ).

open fun setTagDefinition(tagId: Short, defaultIfd: Int, tagType: Short, defaultComponentCount: Short, allowedIfds: Array<Int>): Int