UNErrorCode 枚举

定义

枚举发出通知请求时可能发生的附加文件错误。

[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 = 
继承
UNErrorCode
属性

字段

AttachmentCorrupt 105

附加的文件已损坏。

AttachmentInvalidFileSize 102

附加文件太大。

AttachmentInvalidUrl 100

文件的 URL 无效。

AttachmentMoveIntoDataStoreFailed 104

无法将附件移动到系统数据存储区。

AttachmentNotInDataStore 103

本地附加文件不存在。

AttachmentUnrecognizedType 101

无法识别附加文件的类型。

NotificationInvalidNoContent 1401
NotificationInvalidNoDate 1400
NotificationsNotAllowed 1

不允许应用提交通知请求。

适用于