Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes a position within a SyncMediaTimeline instance. A position is defined using a segment index and an offset within that segment in milliseconds.

Hierarchy

  • SyncMediaTimelinePosition

Implements

Index

Constructors

constructor

Methods

compareTo

  • Compares the given position with this position.

    Parameters

    Returns number

    Negative number if this position is less than otherPosition. 0 if positions are equal. Positive number if this position is greater than otherPosition

equals

getOffsetWithinSegmentMs

  • getOffsetWithinSegmentMs(): number

getSegment

getSegmentIndex

  • getSegmentIndex(): number

getTimeline

isAfter

isBefore

toJSON

toString

  • toString(): string
  • Prints this position a human readable string.

    Returns string

Static createFromData

Generated using TypeDoc