Windows.UI.Notifications.Preview Namespace

Provides preview APIs for Windows notification features.

Classes

ToastOcclusionManagerPreview

Provides a preview API for requesting that the OS apply a vertical offset when displaying app notifications, to avoid obscuring the UI of the calling app.

Important

The Windows.UI.Notifications.Preview.ToastOcclusionManagerPreview API is part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, contact Microsoft Support.

Remarks

This API in this namespace are being released as a preview to enable testing of the feature by enterprise customers. This API is likely to be removed and/or modified in a future release. Before using the APIs in this namespace, apps should call LimitedAccessFeatures.TryUnlockFeature, passing in the feature ID and app token provided by Microsoft, to verify that the app is authorized to use the API. Calls by unauthorized apps will have no effect.