Interface: PlayOptions

January 9, 2021 · View on GitHub

andesitejs / Exports / api/types / PlayOptions

Interface: PlayOptions

api/types.PlayOptions

Hierarchy

  • PlayOptions

Table of contents

Properties

Properties

end

Optional end: undefined | number

Timestamp, in milliseconds, to end the track

Defined in: api/types.ts:659


noReplace

Optional noReplace: undefined | boolean

If true and a track is already playing/paused, this command is ignored

Defined in: api/types.ts:674


pause

Optional pause: undefined | boolean

Whether or not to pause the player

Defined in: api/types.ts:664


start

Optional start: undefined | number

Timestamp, in milliseconds, to start the track.

Defined in: api/types.ts:654


volume

Optional volume: undefined | number

Volume to set on the player

Defined in: api/types.ts:669