Share via


UNShowPreviewsSetting Enum

Definition

Enumerates times when notification previews are shown.

[ObjCRuntime.Native]
public enum UNShowPreviewsSetting
[<ObjCRuntime.Native>]
type UNShowPreviewsSetting = 
Inheritance
UNShowPreviewsSetting
Attributes

Fields

Name Value Description
Always 0

Previews are always shown.

WhenAuthenticated 1

Previews are shown when the device is unlocked.

Never 2

Previews are never shown.

Applies to