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

setTimeValue

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