docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.Background.DeviceUseTrigger

Preview meta tags from the docs.microsoft.com website.

Linked Hostnames

7

Thumbnail

Search Engine Appearance

Google

https://docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.Background.DeviceUseTrigger

DeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps

Represents an event that a Windows Runtime app can trigger to initiate a long-running operation with a device or sensor. DeviceUseTrigger lets your Windows Runtime app access sensors and peripheral devices in the background, even when your foreground app is suspended. For example, depending on where your app is running, it could use a background task to synchronize data with devices or monitor sensors. This class can be used in UWP app and Windows Phone 8.x app. However, a DeviceUseTrigger background task supports different APIs, and is subject to different policies, depending where it's running (PC or phone). To learn more about these differences, see Accessing sensors and devices from a background task. Important This trigger cannot be used with single-process background tasks. For a sample that shows how to use DeviceUseTrigger on a PC, see the Custom USB device sample. For a phone sample, see the Background Sensors sample.



Bing

DeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps

https://docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.Background.DeviceUseTrigger

Represents an event that a Windows Runtime app can trigger to initiate a long-running operation with a device or sensor. DeviceUseTrigger lets your Windows Runtime app access sensors and peripheral devices in the background, even when your foreground app is suspended. For example, depending on where your app is running, it could use a background task to synchronize data with devices or monitor sensors. This class can be used in UWP app and Windows Phone 8.x app. However, a DeviceUseTrigger background task supports different APIs, and is subject to different policies, depending where it's running (PC or phone). To learn more about these differences, see Accessing sensors and devices from a background task. Important This trigger cannot be used with single-process background tasks. For a sample that shows how to use DeviceUseTrigger on a PC, see the Custom USB device sample. For a phone sample, see the Background Sensors sample.



DuckDuckGo

https://docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.Background.DeviceUseTrigger

DeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps

Represents an event that a Windows Runtime app can trigger to initiate a long-running operation with a device or sensor. DeviceUseTrigger lets your Windows Runtime app access sensors and peripheral devices in the background, even when your foreground app is suspended. For example, depending on where your app is running, it could use a background task to synchronize data with devices or monitor sensors. This class can be used in UWP app and Windows Phone 8.x app. However, a DeviceUseTrigger background task supports different APIs, and is subject to different policies, depending where it's running (PC or phone). To learn more about these differences, see Accessing sensors and devices from a background task. Important This trigger cannot be used with single-process background tasks. For a sample that shows how to use DeviceUseTrigger on a PC, see the Custom USB device sample. For a phone sample, see the Background Sensors sample.

  • General Meta Tags

    71
    • title
      DeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps | Microsoft Learn
    • charset
      utf-8
    • viewport
      width=device-width, initial-scale=1.0
    • color-scheme
      light dark
    • description
      Represents an event that a Windows Runtime app can trigger to initiate a long-running operation with a device or sensor. DeviceUseTrigger lets your Windows Runtime app access sensors and peripheral devices in the background, even when your foreground app is suspended. For example, depending on where your app is running, it could use a background task to synchronize data with devices or monitor sensors. This class can be used in UWP app and Windows Phone 8.x app. However, a DeviceUseTrigger background task supports different APIs, and is subject to different policies, depending where it's running (PC or phone). To learn more about these differences, see Accessing sensors and devices from a background task. Important This trigger cannot be used with single-process background tasks. For a sample that shows how to use DeviceUseTrigger on a PC, see the Custom USB device sample. For a phone sample, see the Background Sensors sample.
  • Open Graph Meta Tags

    6
    • og:type
      website
    • og:image:alt
      Microsoft Learn
    • og:image
      https://learn.microsoft.com/en-us/media/open-graph-image.png
    • og:title
      DeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps
    • og:url
      https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.background.deviceusetrigger?view=winrt-26100
  • Twitter Meta Tags

    2
    • twitter:card
      summary_large_image
    • twitter:site
      @MicrosoftLearn
  • Link Tags

    6
    • canonical
      https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.background.deviceusetrigger?view=winrt-26100
    • dns-prefetch
      //target.microsoft.com
    • dns-prefetch
      //microsoftmscompoc.tt.omtrdc.net
    • preconnect
      //mscom.demdex.net
    • preload
      /static/third-party/adobe-target/at-js/2.9.0/at.js

Links

16