Skip to main content

Remote

An abstract interface used by RemoteTrack to represent remote system

Index

Accessors

progress

  • get progress(): number
  • The latest known progress of the remote system


    Returns number

stuck

  • get stuck(): boolean
  • Is the remote system stuck


    Returns boolean

updateTime

  • get updateTime(): number
  • The time of the latest known progress


    Returns number

Methods

pause

  • pause(): void
  • Send a signal to the remote system as a hint to pause


    Returns void

play

  • play(): void
  • Send a signal to the remote system as a hint to play


    Returns void

resume

  • resume(): void
  • Send a signal to the remote system as a hint to resume


    Returns void

suspend

  • suspend(): void
  • Send a signal to the remote system as a hint to suspend


    Returns void

sync

  • sync(time: number, progress: number): void
  • Send a signal to the remote system to synchronize progress


    Parameters

    • time: number
    • progress: number

    Returns void