Inherits from QBCEntity : NSObject
Conforms to NSCoding
NSCopying
Declared in QBMSubscription.h

Overview

QBMSubscription class interface. Class represents user subscription to push channel.

Tasks

Properties

devicePlatform

@property (nonatomic, copy, nullable) NSString *devicePlatform
Discussion

Device platform name.

Declared In

QBMSubscription.h

deviceToken

@property (nonatomic, strong, nullable) NSData *deviceToken
Discussion

Identifies client device in 3-rd party service like APNS, APNSVOIP C2DM, MPNS, BBPS.

Declared In

QBMSubscription.h

deviceUDID

@property (nonatomic, copy, nullable) NSString *deviceUDID
Discussion

Device UDID.

Declared In

QBMSubscription.h

notificationChannel

@property (nonatomic, assign) QBMNotificationChannel notificationChannel
Discussion

Declare which notification channels could be used to notify user about events.

Declared In

QBMSubscription.h

Class Methods

notificationChannelFromString:

+ (QBMNotificationChannel)notificationChannelFromString:(nullable NSString *)notificationChannel

notificationChannelToString:

+ (nullable NSString *)notificationChannelToString:(QBMNotificationChannel)notificationChannel

subscription

+ (QBMSubscription *)subscription
Discussion

Create new subscription.

Return Value

New instance of QBMSubscription

Declared In

QBMSubscription.h