KiiGCMFields Class Reference
| Inherits from | NSObject |
| Declared in | KiiGCMFields.h |
Tasks
-
collapseKeyproperty -
delayWhileIdleproperty -
timeToLiveproperty -
restrictedPackageNameproperty -
dryRunproperty -
+ createFields -
– setSpecificData: -
– generateFields
Properties
collapseKey
String. Not required. If provided, it will be used as the GCM notification collapse_key*
@property (nonatomic, nullable) NSString *collapseKeyDiscussion
String. Not required. If provided, it will be used as the GCM notification collapse_key*
Declared In
KiiGCMFields.hdelayWhileIdle
Boolean. Not required. If provided, it will be used as the GCM notification delay_while_idle*
@property (nonatomic, nullable) NSNumber *delayWhileIdleDiscussion
Boolean. Not required. If provided, it will be used as the GCM notification delay_while_idle*
Declared In
KiiGCMFields.hdryRun
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 *dryRunDiscussion
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.hInstance Methods
generateFields
Generate formatted fields
- (nonnull NSDictionary *)generateFieldsReturn Value
dictionary Generated fields, useful for testing purpose.
Discussion
Generate formatted fields
Declared In
KiiGCMFields.hsetSpecificData:
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 *)dictParameters
- 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