Primitives / foldkit-primitives/device
MediaDevicesModel
const · packages/primitives/src/device/media-devices.ts:16
const MediaDevicesModel: Schema.Struct<{
readonly status: Schema.Literals<readonly ['unknown', 'ready', 'denied']>
readonly devices: Schema.$Array<
Schema.Struct<{
readonly deviceId: Schema.String
readonly groupId: Schema.String
readonly kind: Schema.Literals<
readonly ['audioinput', 'audiooutput', 'videoinput']
>
readonly label: Schema.String
}>
>
readonly lastError: Schema.NullOr<Schema.String>
}>Its type
type MediaDevicesModel = typeof MediaDevicesModel.Type