Skip to main content

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

ParameterType
deviceType"audio" | "video"

Returns

MediaDeviceInfo | null


saveLastDevice()

saveLastDevice: (info, deviceType) => void

Defined in: packages/react-client/src/types/public.ts:50

Parameters

ParameterType
infoMediaDeviceInfo
deviceType"audio" | "video"

Returns

void