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

setTimeValue

open fun setTimeValue(time: Long): Boolean

Sets a timestamp to this tag. The method converts the timestamp with the format of "yyyy:MM:dd kk:mm:ss" and calls #setValue(String). This method will fail if the data type is not #TYPE_ASCII or the component count of this tag is not 20 or undefined.

Parameters

time - Long: the number of milliseconds since Jan. 1, 1970 GMT

Return
Boolean: true on success