Inherits from | QBCEntity : NSObject |
Conforms to | NSCoding NSCopying |
Declared in | QBMEvent.h |
Tasks
-
active
Event state. If you want to send specific notification more than once - just edit Event & set this field to ‘YES’, Then push will be send immediately, without creating a new one Event.
property -
notificationType
Notification type
property -
pushType
Push type
property -
usersIDs
Recipients - should contain a string of user ids divided by comas.
property -
usersExternalIDs
Recipients - should contain a string of user external ids divided by comas.
property -
usersTagsAny
Recipients tags - should contain a string of user tags divided by comas. Recipients (users) must have at LEAST ONE tag that specified in list.
property -
usersTagsAll
Recipients tags - should contain a string of user tags divided by comas. Recipients (users) must exactly have ONLY ALL tags that specified in list.
property -
usersTagsExclude
Recipients tags - should contain a string of user tags divided by comas. Recipients (users) mustn’t have tags that specified in list.
property -
name
The name of the event. Service information. Only for the user..
property -
)
Environment of the notification, default: YES
property -
message
Event message
property -
type
Event type
property -
date
The date of the event when it’ll fire. Required: No, if the envent’s ‘type’ = QBMEventTypeOneShot or QBMEventTypeMultiShot. Yes, if the envent’s ‘type’ = QBMEventTypeFixedDate or QBMEventTypePeriodDate.
property -
endDate
Date of completion of the event. Can’t be less than the ‘date’. Required: Yes, if the envent’s ‘type’ = QBMEventTypeMultiShot and ‘notificationType’ = QBMNotificationTypePull *
property -
period
The period of the event in seconds. Possible values: 86400 (1 day) 604800 (1 week) 2592000 (1 month) 31557600 (1 year). Required: No, if the envent’s ‘type’ = QBMEventTypeOneShot, QBMEventTypeMultiShot or QBMEventTypeFixedDate Yes, if the envent’s ‘type’ = QBMEventTypePeriodDate
property -
occuredCount
Event’s occured count
property -
senderID
Event’s sender ID
property -
+ event
Create new event
-
– prepareMessage
-
+ eventTypeFromString:
-
+ eventTypeToString:
-
+ notificationTypeFromString:
-
+ notificationTypeToString:
-
+ pushTypeFromString:
-
+ pushTypeToString:
-
+ messageToString:
-
+ messageFromString:
Properties
) 
@property (nonatomic) BOOL isDevelopmentEnvironment DEPRECATED_MSG_ATTRIBUTE ( "Deprecated in 2.4. There is no need to set this property manually if you are using automatic environment detection." )
Discussion
Environment of the notification, default: YES
Warning: Deprecated in 2.4. See ‘[QBApplication sharedApplication].autoDetectEnvironment’.
Declared In
QBMEvent.h
active 
@property (nonatomic) BOOL active
Discussion
Event state. If you want to send specific notification more than once - just edit Event & set this field to ‘YES’, Then push will be send immediately, without creating a new one Event.
Declared In
QBMEvent.h
date 
@property (nonatomic, retain) NSDate *date
Discussion
The date of the event when it’ll fire. Required: No, if the envent’s ‘type’ = QBMEventTypeOneShot or QBMEventTypeMultiShot. Yes, if the envent’s ‘type’ = QBMEventTypeFixedDate or QBMEventTypePeriodDate.
Declared In
QBMEvent.h
endDate 
@property (nonatomic, retain) NSDate *endDate
Discussion
Date of completion of the event. Can’t be less than the ‘date’. Required: Yes, if the envent’s ‘type’ = QBMEventTypeMultiShot and ‘notificationType’ = QBMNotificationTypePull *
Declared In
QBMEvent.h
name 
@property (nonatomic, retain) NSString *name
Discussion
The name of the event. Service information. Only for the user..
Declared In
QBMEvent.h
notificationType 
@property (nonatomic) QBMNotificationType notificationType
Discussion
Notification type
Declared In
QBMEvent.h
occuredCount 
@property (nonatomic) NSUInteger occuredCount
Discussion
Event’s occured count
Declared In
QBMEvent.h
period 
@property (nonatomic) NSUInteger period
Discussion
The period of the event in seconds. Possible values: 86400 (1 day) 604800 (1 week) 2592000 (1 month) 31557600 (1 year). Required: No, if the envent’s ‘type’ = QBMEventTypeOneShot, QBMEventTypeMultiShot or QBMEventTypeFixedDate Yes, if the envent’s ‘type’ = QBMEventTypePeriodDate
Declared In
QBMEvent.h
senderID 
@property (nonatomic) NSUInteger senderID
Discussion
Event’s sender ID
Declared In
QBMEvent.h
usersExternalIDs 
@property (nonatomic, retain) NSString *usersExternalIDs
Discussion
Recipients - should contain a string of user external ids divided by comas.
Declared In
QBMEvent.h
usersIDs 
@property (nonatomic, retain) NSString *usersIDs
Discussion
Recipients - should contain a string of user ids divided by comas.
Declared In
QBMEvent.h
usersTagsAll 
@property (nonatomic, retain) NSString *usersTagsAll
Discussion
Recipients tags - should contain a string of user tags divided by comas. Recipients (users) must exactly have ONLY ALL tags that specified in list.
Declared In
QBMEvent.h
Class Methods
event 
+ (QBMEvent *)event
Discussion
Create new event
Return Value
New instance of QBMEvent
Declared In
QBMEvent.h
notificationTypeFromString: 
+ (enum QBMNotificationType)notificationTypeFromString:(NSString *)notificationType