Class: AudioDevices

domain/AudioDevices.AudioDevices

Constructors

constructor

new AudioDevices(availableTypes, selectedType)

Class representing the payload for event NewOrUpdatedAudioDeviceTypes.

Parameters

Name

Type

Description

availableTypes

AudioDevicesType[]

the available types of audio devices for phone calls

selectedType

AudioDevicesType

the selected audio device type for phone calls.

Properties

availableTypes

availableTypes: AudioDevicesType[]

the available types of audio devices for phone calls


selectedType

selectedType: AudioDevicesType

the selected audio device type for phone calls.

Methods

fromJSON

Static fromJSON(audioDevices): AudioDevices

Parameters

Name

Type

audioDevices

any

Returns

AudioDevices