KiiGCMFields Class Reference
Inherits from | NSObject |
Declared in | KiiGCMFields.h |
Tasks
-
collapseKey
property -
delayWhileIdle
property -
timeToLive
property -
restrictedPackageName
property -
dryRun
property -
+ createFields
-
– setSpecificData:
-
– generateFields
Properties
collapseKey
String. Not required. If provided, it will be used as the GCM notification collapse_key*
@property (nonatomic, nullable) NSString *collapseKey
Discussion
String. Not required. If provided, it will be used as the GCM notification collapse_key*
Declared In
KiiGCMFields.h
delayWhileIdle
Boolean. Not required. If provided, it will be used as the GCM notification delay_while_idle*
@property (nonatomic, nullable) NSNumber *delayWhileIdle
Discussion
Boolean. Not required. If provided, it will be used as the GCM notification delay_while_idle*
Declared In
KiiGCMFields.h
dryRun
Boolean. Not required. If true, the only system that can be enabled is “GCM” - no other system will be accepted. If provided, it will be used as the GCM dry_run*
@property (nonatomic, nullable) NSNumber *dryRun
Discussion
Boolean. Not required. If true, the only system that can be enabled is “GCM” - no other system will be accepted. If provided, it will be used as the GCM dry_run*
Declared In
KiiGCMFields.h
Instance Methods
generateFields
Generate formatted fields
- (nonnull NSDictionary *)generateFields
Return Value
dictionary Generated fields, useful for testing purpose.
Discussion
Generate formatted fields
Declared In
KiiGCMFields.h
setSpecificData:
Set Dictionary with the data that will be sent only to Android-GCM devices. This data must not contain GCM reserved payload keys, please check KiiPushMessage documentation.
- (void)setSpecificData:(nullable NSDictionary *)dict
Parameters
- dict
a Dictionary object contains one level json dictionary data
Discussion
Set Dictionary with the data that will be sent only to Android-GCM devices. This data must not contain GCM reserved payload keys, please check KiiPushMessage documentation.
Declared In
KiiGCMFields.h