Skip to main content
Version: Next

Type Alias: PersistLastDeviceHandlers

PersistLastDeviceHandlers = object

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

Properties

getLastDevice()

getLastDevice: (deviceType) => MediaDeviceInfo | null

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

Parameters

ParameterType
deviceType"audio" | "video"

Returns

MediaDeviceInfo | null


saveLastDevice()

saveLastDevice: (info, deviceType) => void

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

Parameters

ParameterType
infoMediaDeviceInfo
deviceType"audio" | "video"

Returns

void