Mp4TimestampData
@UnstableApi
class Mp4TimestampData : Metadata.Entry
Stores MP4 timestamp data.
Summary
Constants |
|
|---|---|
const Int |
TIMESCALE_UNSET = -1Represents an unset or unknown timescale. |
Public constructors |
|---|
Mp4TimestampData(Creates an instance. |
Mp4TimestampData(Creates an instance. |
Public functions |
|
|---|---|
Boolean |
|
Int |
hashCode() |
String! |
toString() |
java-static Long |
unixTimeToMp4TimeSeconds(unixTimestampMs: Long)Returns an MP4 timestamp (in seconds since midnight, January 1, 1904) from a Unix epoch timestamp (in milliseconds since midnight, January 1, 1970). |
Public properties |
|
|---|---|
Long |
The creation timestamp. |
Long |
The modification timestamp. |
Long |
The timescale of the movie. |
Inherited functions |
||||||
|---|---|---|---|---|---|---|
|
Constants
Public constructors
Mp4TimestampData
Mp4TimestampData(
creationTimestampSeconds: Long,
modificationTimestampSeconds: Long
)
Creates an instance.
The timescale is set to TIMESCALE_UNSET.
Mp4TimestampData
Mp4TimestampData(
creationTimestampSeconds: Long,
modificationTimestampSeconds: Long,
timescale: Long
)
Creates an instance.
Public functions
unixTimeToMp4TimeSeconds
java-static fun unixTimeToMp4TimeSeconds(unixTimestampMs: Long): Long
Returns an MP4 timestamp (in seconds since midnight, January 1, 1904) from a Unix epoch timestamp (in milliseconds since midnight, January 1, 1970).