Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sound

Hierarchy

  • Sound

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Sound(uri: string, options?: ISoundOptions): Sound
  • Parameters

    • uri: string
    • Default value options: ISoundOptions = {}

    Returns Sound

Properties

uri

uri: string

Accessors

playing

playing:

sinkId

sinkId:

volume

volume:

Methods

play

  • play(__namedParameters?: object): Promise<void>
  • Parameters

    • Default value __namedParameters: object = { loop: false, timeout: undefined }

    Returns Promise<void>

stop

  • stop(): void

Generated using TypeDoc