Primitives / foldkit-primitives/device
MediaDevicesMessage
const · packages/primitives/src/device/media-devices.ts:23
const MediaDevicesMessage: MessageUnion<{
readonly Scan: {}
readonly DevicesChanged: {}
readonly Refreshed: {
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 Denied: {}
readonly Failed: { readonly message: Schema.String }
}>Its type
type MediaDevicesMessage = typeof MediaDevicesMessage.Type