Edytuj

Udostępnij za pośrednictwem


UNErrorCode Enum

Definition

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 = 
Inheritance
UNErrorCode
Attributes

Fields

Name Value Description
NotificationsNotAllowed 1

The app is not allowed to submit notification requests.

AttachmentInvalidUrl 100

The URL for the file is not valid.

AttachmentUnrecognizedType 101

The type of the attached file was not recognized.

AttachmentInvalidFileSize 102

The attached file is too big.

AttachmentNotInDataStore 103

The local attached file was not present.

AttachmentMoveIntoDataStoreFailed 104

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

AttachmentCorrupt 105

The attached file is corrupt.

NotificationInvalidNoDate 1400
NotificationInvalidNoContent 1401

Applies to