TriggerType

DesktopOperating SystemUWPWin32Windows

Properties

Name Type Description
type string Trigger type name
description string What triggers the background task
requiresLockScreen boolean Whether the trigger requires lock screen access
supportsOneShot boolean Whether the trigger supports one-shot mode
View JSON Schema on GitHub

JSON Schema

microsoft-windows-10-triggertype-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TriggerType",
  "title": "TriggerType",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Trigger type name"
    },
    "description": {
      "type": "string",
      "description": "What triggers the background task"
    },
    "requiresLockScreen": {
      "type": "boolean",
      "description": "Whether the trigger requires lock screen access"
    },
    "supportsOneShot": {
      "type": "boolean",
      "description": "Whether the trigger supports one-shot mode"
    }
  }
}