compareTo

open fun compareTo(cuePoint: CuePoint): Int

Compares this CuePoint object with the specified CuePoint object.

For all CuePoints: CuePoint.PositionType.BEFORE

When both cue points being compared are PositionType.POINT_IN_TIME, then this

Return

-1 if this CuePoint is earlier in the timeline than the specified CuePoint; 0 if the two CuePoints are at the same time; 1 if this CuePoint is later in the timeline than the specified CuePoint.

Parameters

cuePoint

The CuePoint to compare to this CuePoint.