UNShowPreviewsSetting Enum

Definition

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.

Applies to