useDevicesResult

Properties

allDevices

allDevices: DeviceTypeAndInfo<MediaDeviceInfo[]>

list of all devices by type


selectedDeviceIDs

selectedDeviceIDs: DeviceTypeAndInfo<string>

selected device ids for all types


updateDevice

updateDevice: (__namedParameters: { deviceId: string ; deviceType: DeviceType }) => Promise<void>

Type declaration

▸ («destructured»): Promise<void>

function to call to update device

Parameters
NameType
«destructured»Object
› deviceIdstring
› deviceTypeDeviceType
Returns

Promise<void>


Have a suggestion? Recommend changes ->

Was this helpful?

1234