PreEmptive Analytics iOS API  2.0
The official iOS API for sending PreEmptive Analytics data.
PAExtendedKeys.h
1 //
2 // PAExtendedKeys.h
3 // PreEmptiveAnalyticsClient
4 //
5 // Copyright (c) 2013 PreEmptive Solutions. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import "PAExtendedKey.h"
10 
14 @interface PAExtendedKeys : NSObject
15 
20 -(id)init;
21 
26 -(void) addKey:(PAExtendedKey*)key;
27 
33 -(void) addKey:(NSString*)key string:(NSString*)aString;
34 
40 -(void) addKey:(NSString*)key decimal:(NSDecimalNumber*)aDecimal;
41 
47 -(void) addKey:(NSString*)key number:(NSNumber*)aNumber;
48 
54 -(void) addKey:(NSString *)key int:(int)anInt;
55 
61 -(void) addKey:(NSString *)key integer:(NSInteger)anInt;
62 
68 -(void) addKey:(NSString *)key long:(long)aLong;
69 
75 -(void) addKey:(NSString *)key float:(float)aFloat;
76 
82 -(void) addKey:(NSString *)key double:(double)aDouble;
83 
89 -(void) addKey:(NSString *)key boolean:(BOOL)aBool;
90 
95 -(NSUInteger) count;
96 
101 -(NSArray*) allKeys;
102 
107 -(NSArray*) allExtendedKeys;
108 
114 -(PAExtendedKey*) getExtendedKeyForKey:(NSString*)key;
115 @end
Class that handles the creation of extended key data used for sending additional information with mes...
Definition: PAExtendedKey.h:13
NSUInteger count()
Retrieves the number of PAExtendedKeys.
NSArray * allKeys()
Retrieves an array the keys used.
Class that handles extended key data used for sending additional information with messages...
NSArray * allExtendedKeys()
Retrieves an array the ExtendedKey objects.
id init()
Initializes PAExtendedKeys.