Type Alias: PersistLastDeviceHandlers
PersistLastDeviceHandlers =
object
Defined in: packages/react-client/dist/types/public.d.ts:45
Properties
getLastDevice()
getLastDevice: (
deviceType) =>MediaDeviceInfo|null
Defined in: packages/react-client/dist/types/public.d.ts:46
Parameters
| Parameter | Type |
|---|---|
deviceType | "audio" | "video" |
Returns
MediaDeviceInfo | null
saveLastDevice()
saveLastDevice: (
info,deviceType) =>void
Defined in: packages/react-client/dist/types/public.d.ts:47
Parameters
| Parameter | Type |
|---|---|
info | MediaDeviceInfo |
deviceType | "audio" | "video" |
Returns
void