API Contracts (or How I Learned to Stop Checking OS Versions and Love Feature Detection)

Sign in to queue


Learn how to create an adaptive Universal Windows app that runs on multiple Windows 10 device families. While many APIs are present on all devices, sometimes you want your app to take advantage of device-specific APIs when the app is running on that device. Adaptive apps allow you to do that and more! An adaptive app takes advantage of optionally present features when the app is running on a device that supports the feature without requiring device-testing or an inference of device functionality. Using API Contracts and Platform Extension SDKs, your apps can statically reference optionally present APIs and get Intellisense and compile-time diagnostics for them. This allows your apps to “light-up” when those features are present on a device at runtime.



Session Type:





Room 2001



The Discussion

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.