Class: DyteNotificationsAudio
Handles notification sounds in a meeting
Constructors
constructor
• new DyteNotificationsAudio()
Properties
audio
• Private
audio: any
playing
• Private
playing: any
Methods
play
▸ play(sound
, duration?
): void
Parameters
Name | Type |
---|---|
sound | "joined" | "left" | "message" |
duration? | number |
Returns
void
setDevice
▸ setDevice(id
): Promise
<void
>
Parameters
Name | Type |
---|---|
id | string |
Returns
Promise
<void
>