Constructors
constructor
- new Sound(uri: string, options?: ISoundOptions): Sound
-
Parameters
-
uri: string
-
Default value options: ISoundOptions = {}
Methods
play
- play(__namedParameters?: object): Promise<void>
-
Parameters
-
Default value __namedParameters: object = { loop: false, timeout: undefined }
Returns Promise<void>