SlowMotionData.Segment


class SlowMotionData.Segment


Holds information about a single segment of slow motion playback within a track.

Summary

Public constructors

Segment(startTimeMs: Long, endTimeMs: Long, speedDivisor: Int)

Creates an instance.

Public functions

Boolean
equals(o: Any?)
Int
String!

Public properties

Long

The end time, in milliseconds, of the track segment that is intended to be slow motion.

Int

The speed reduction factor.

Long

The start time, in milliseconds, of the track segment that is intended to be slow motion.

Constants

BY_START_THEN_END_THEN_DIVISOR

const val BY_START_THEN_END_THEN_DIVISORComparator<SlowMotionData.Segment!>!

Public constructors

Segment

Segment(startTimeMs: Long, endTimeMs: Long, speedDivisor: Int)

Creates an instance.

Parameters
startTimeMs: Long

See startTimeMs. Must be less than endTimeMs.

endTimeMs: Long

See endTimeMs.

speedDivisor: Int

See speedDivisor.

Public functions

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String!

Public properties

endTimeMs

val endTimeMsLong

The end time, in milliseconds, of the track segment that is intended to be slow motion.

speedDivisor

val speedDivisorInt

The speed reduction factor.

For example, 4 would mean the segment should be played at a quarter (1/4) of the normal speed.

startTimeMs

val startTimeMsLong

The start time, in milliseconds, of the track segment that is intended to be slow motion.