iOS SDK  12.0.0
 All Classes Functions Enumerations Enumerator Groups Pages
FlurryUserProperties.h
1 //
2 // FlurryUserProperties.h
3 // Flurry
4 //
5 // Created by Hunter Hays on 4/11/19.
6 // Copyright (c) 2021 Yahoo. All rights reserved.
7 //
8 
9 /*
10  * Standard User Property: Preferred Currency.
11  * Standard User Property: Currency Preference.
12  * Follow ISO 4217: https://en.wikipedia.org/wiki/ISO_4217
13  * E.g., "USD", "EUR", "JPY", "CNY", ...
14  */
15 
16 extern NSString * _Nonnull const FlurryPropertyCurrencyPreference;
17 
18 /*
19  * Standard User Property: Purchaser.
20  * E.g., "true" or "false"
21  */
22 extern NSString * _Nonnull const FlurryPropertyPurchaser;
23 
24 /*
25  * Standard User Property: Registered user.
26  * E.g., "true" or "false"
27  */
28 extern NSString * _Nonnull const FlurryPropertyRegisteredUser;
29 
30 /*
31  * Standard User Property: Subscriber.
32  * E.g., "true" or "false"
33  */
34 extern NSString * _Nonnull const FlurryPropertySubscriber;
35 
36 
37 @interface FlurryUserProperties : NSObject
38 
49 + (void) set:(nonnull NSString*) propertyName values:(nonnull NSArray*) propertyValues;
50 
60 + (void) set:(nonnull NSString*) propertyName value:(nonnull NSString*) propertyValue;
61 
71 + (void) add:(nonnull NSString*) propertyName values:(nonnull NSArray*) propertyValues;
72 
82 + (void) add:(nonnull NSString*) propertyName value:(nonnull NSString*) propertyValue;
83 
93 + (void) remove:(nonnull NSString*) propertyName values:(nonnull NSArray*) propertyValues;
94 
104 + (void) remove:(nonnull NSString*) propertyName value:(nonnull NSString*) propertyValue;
105 
113 + (void) remove:(nonnull NSString*) propertyName;
114 
123 + (void) flag:(nonnull NSString*) propertyName;
124 
125 @end