Microsoft Windows 10 · Schema
CaptureDevice
A media capture device
DesktopOperating SystemUWPWin32Windows
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Device identifier |
| name | string | Device display name |
| deviceClass | string | |
| enclosureLocation | object | Physical location on the device |
| isEnabled | boolean | |
| isDefault | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CaptureDevice",
"title": "CaptureDevice",
"type": "object",
"description": "A media capture device",
"properties": {
"id": {
"type": "string",
"description": "Device identifier"
},
"name": {
"type": "string",
"description": "Device display name"
},
"deviceClass": {
"type": "string",
"enum": [
"VideoCapture",
"AudioCapture",
"AudioRender"
]
},
"enclosureLocation": {
"type": "object",
"properties": {
"panel": {
"type": "string",
"enum": [
"Front",
"Back",
"Top",
"Bottom",
"Left",
"Right",
"Unknown"
]
}
},
"description": "Physical location on the device"
},
"isEnabled": {
"type": "boolean"
},
"isDefault": {
"type": "boolean"
}
},
"required": [
"id",
"name"
]
}