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