UNShowPreviewsSetting Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates times when notification previews are shown.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UNShowPreviewsSetting
type UNShowPreviewsSetting =
- Inheritance
-
UNShowPreviewsSetting
- Attributes
Fields
Always | 0 | Previews are always shown. |
Never | 2 | Previews are never shown. |
WhenAuthenticated | 1 | Previews are shown when the device is unlocked. |