Methods
add
- add(key: string): Promise<Audio>
-
Parameters
Returns Promise<Audio>
load
- load(key: string, url: string, ...formats: ("aac" | "caf" | "flac" | "mp3" | "mp4" | "ogg" | "wav" | "webm")[]): Promise<void>
-
Parameters
-
key: string
-
url: string
-
Rest ...formats: ("aac" | "caf" | "flac" | "mp3" | "mp4" | "ogg" | "wav" | "webm")[]
Returns Promise<void>