CorePushRemoteNotificationType
enum CorePushRemoteNotificationType : NSUInteger {}
プッシュ通知受信時の通知表示に関する定数
- CorePushRemoteNotificationTypeNone: 通知表示なし
- CorePushRemoteNotificationTypeBadge: バッジあり
- CorePushRemoteNotificationTypeSound: サウンドあり
- CorePushRemoteNotificationTypeAlert: アラートあり
-
通知表示なし
Declaration
Objective-C
CorePushRemoteNotificationTypeNone = 0
-
バッジあり
Declaration
Objective-C
CorePushRemoteNotificationTypeBadge = 1 << 0
Swift
static var badge: CorePushRemoteNotificationType { get }
-
サウンドあり
Declaration
Objective-C
CorePushRemoteNotificationTypeSound = 1 << 1
Swift
static var sound: CorePushRemoteNotificationType { get }
-
アラートあり
Declaration
Objective-C
CorePushRemoteNotificationTypeAlert = 1 << 2
Swift
static var alert: CorePushRemoteNotificationType { get }