Skip to main content
Version: Next

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

ParameterType
deviceType"audio" | "video"

Returns

MediaDeviceInfo | null


saveLastDevice()

saveLastDevice: (info, deviceType) => void

Defined in: packages/react-client/dist/types/public.d.ts:47

Parameters

ParameterType
infoMediaDeviceInfo
deviceType"audio" | "video"

Returns

void