UNErrorCode Enum


Enumerates attached file errors that can occur when making a notification request.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public enum UNErrorCode
type UNErrorCode = 


AttachmentCorrupt 105

The attached file is corrupt.

AttachmentInvalidFileSize 102

The attached file is too big.

AttachmentInvalidUrl 100

The URL for the file is not valid.

AttachmentMoveIntoDataStoreFailed 104

The attachment could not be moved onto the system data store.

AttachmentNotInDataStore 103

The local attached file was not present.

AttachmentUnrecognizedType 101

The type of the attached file was not recognized.

NotificationInvalidNoContent 1401
NotificationInvalidNoDate 1400
NotificationsNotAllowed 1

The app is not allowed to submit notification requests.

Applies to