ly.img.android.pesdk.backend.exif / ExifTagInfo / setValue

setValue

open fun setValue(value: IntArray!): Boolean

Sets integer values into this tag. This method should be used for tags of type #TYPE_UNSIGNED_SHORT. This method will fail if:

open fun setValue(value: Int): Boolean

Sets integer value into this tag. This method should be used for tags of type #TYPE_UNSIGNED_SHORT, or #TYPE_LONG. This method will fail if:

open fun setValue(value: LongArray!): Boolean

Sets long values into this tag. This method should be used for tags of type #TYPE_UNSIGNED_LONG. This method will fail if:

open fun setValue(value: Long): Boolean

Sets long values into this tag. This method should be used for tags of type #TYPE_UNSIGNED_LONG. This method will fail if:

open fun setValue(value: Array<Rational!>!): Boolean

Sets Rational values into this tag. This method should be used for tags of type #TYPE_UNSIGNED_RATIONAL, or #TYPE_RATIONAL. This method will fail if:

See Also
Rational

open fun setValue(value: Rational!): Boolean

Sets a Rational value into this tag. This method should be used for tags of type #TYPE_UNSIGNED_RATIONAL, or #TYPE_RATIONAL. This method will fail if:

See Also
Rational

open fun setValue(value: ByteArray!, offset: Int, length: Int): Boolean

Sets byte values into this tag. This method should be used for tags of type #TYPE_UNSIGNED_BYTE or #TYPE_UNDEFINED. This method will fail if:

open fun setValue(value: ByteArray!): Boolean

Equivalent to setValue(value, 0, value.length).

open fun setValue(value: Byte): Boolean

Sets byte value into this tag. This method should be used for tags of type #TYPE_UNSIGNED_BYTE or #TYPE_UNDEFINED. This method will fail if:

open fun setValue(obj: Any!): Boolean

Sets the value for this tag using an appropriate setValue method for the given object. This method will fail if:

open fun setValue(value: String!): Boolean

Sets a string value into this tag. This method should be used for tags of type #TYPE_ASCII. The string is converted to an ASCII string. Characters that cannot be converted are replaced with '?'. The length of the string must be equal to either (component count -1) or (component count). The final byte will be set to the string null terminator '\0', overwriting the last character in the string if the value.length is equal to the component count. This method will fail if: