ProximityReading

Proximity sensor reading data

DesktopOperating SystemUWPWin32Windows

Properties

Name Type Description
isDetected boolean Whether an object is detected
distanceInMillimeters integer Distance to detected object (nullable)
timestamp string
View JSON Schema on GitHub

JSON Schema

microsoft-windows-10-proximityreading-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProximityReading",
  "title": "ProximityReading",
  "type": "object",
  "description": "Proximity sensor reading data",
  "properties": {
    "isDetected": {
      "type": "boolean",
      "description": "Whether an object is detected"
    },
    "distanceInMillimeters": {
      "type": "integer",
      "description": "Distance to detected object (nullable)"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}