FrameInfo

actual data class FrameInfo(val duration: Duration, val timestamp: Duration) : Comparable<FrameInfo> (source)

Information about a single frame.

Parameters

duration

The duration of the frame.

timestamp

The timestamp of the frame.

expect class FrameInfo(duration: Duration, timestamp: Duration) : Comparable<FrameInfo> (source)

Information about a single frame.

Parameters

duration

The duration of the frame.

timestamp

The timestamp of the frame.

actual data class FrameInfo(val duration: Duration, val timestamp: Duration) : Comparable<FrameInfo> (source)

Information about a single frame.

Parameters

duration

The duration of the frame.

timestamp

The timestamp of the frame.

Constructors

Link copied to clipboard
actual constructor(duration: Duration, timestamp: Duration)
expect constructor(duration: Duration, timestamp: Duration)
actual constructor(duration: Duration, timestamp: Duration)

Properties

Link copied to clipboard
actual val duration: Duration
expect val duration: Duration

The duration of the frame.

actual val duration: Duration
Link copied to clipboard
val javaDuration: ERROR CLASS: Symbol not found for JavaDuration

The duration of the frame.

Link copied to clipboard
val javaTimestamp: ERROR CLASS: Symbol not found for JavaDuration

The timestamp of the frame.

Link copied to clipboard
actual val timestamp: Duration
expect val timestamp: Duration

The timestamp of the frame.

actual val timestamp: Duration

Functions

Link copied to clipboard
actual open operator override fun compareTo(other: FrameInfo): Int

Compares this frame to another frame based on their timestamps.

expect open operator override fun compareTo(other: FrameInfo): Int

Compares this frame to another frame based on their timestamps.

actual open operator override fun compareTo(other: FrameInfo): Int

Compares this frame to another frame based on their timestamps.

Link copied to clipboard
expect operator fun component1(): Duration

The duration of the frame.

Link copied to clipboard
expect operator fun component2(): Duration

The timestamp of the frame.

Link copied to clipboard
fun FrameInfo.copy(duration: Duration = this.duration, timestamp: Duration = this.timestamp): FrameInfo

Creates a copy of this FrameInfo with the specified properties.