-
Notifications
You must be signed in to change notification settings - Fork 0
/
KochavaEvent.h
881 lines (470 loc) · 26 KB
/
KochavaEvent.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
//
// KochavaEvent.h
// KochavaTracker
//
// Created by John Bushnell on 9/13/16.
// Copyright © 2017 - 2018 Kochava, Inc. All rights reserved.
//
#if WHTLBL_REVEAL_TARGET == 1
#warning KochavaEvent.h: libKochavaTrackeriOS
#endif
#pragma mark - DEFINE
#define WHTLBLEventTypeEnum WHTLBL_CLASS(EventTypeEnum)
#define WHTLBLEventTypeEnumUndefined WHTLBL_CLASS(EventTypeEnumUndefined)
#define WHTLBLEventTypeEnumAddToCart WHTLBL_CLASS(EventTypeEnumAddToCart)
#define WHTLBLEventTypeEnumAddToWishList WHTLBL_CLASS(EventTypeEnumAddToWishList)
#define WHTLBLEventTypeEnumAchievement WHTLBL_CLASS(EventTypeEnumAchievement)
#define WHTLBLEventTypeEnumCheckoutStart WHTLBL_CLASS(EventTypeEnumCheckoutStart)
#define WHTLBLEventTypeEnumCustom WHTLBL_CLASS(EventTypeEnumCustom)
#define WHTLBLEventTypeEnumLevelComplete WHTLBL_CLASS(EventTypeEnumLevelComplete)
#define WHTLBLEventTypeEnumPurchase WHTLBL_CLASS(EventTypeEnumPurchase)
#define WHTLBLEventTypeEnumRating WHTLBL_CLASS(EventTypeEnumRating)
#define WHTLBLEventTypeEnumRegistrationComplete WHTLBL_CLASS(EventTypeEnumRegistrationComplete)
#define WHTLBLEventTypeEnumSearch WHTLBL_CLASS(EventTypeEnumSearch)
#define WHTLBLEventTypeEnumTutorialComplete WHTLBL_CLASS(EventTypeEnumTutorialComplete)
#define WHTLBLEventTypeEnumView WHTLBL_CLASS(EventTypeEnumView)
#define WHTLBLEventTypeEnumAdView WHTLBL_CLASS(EventTypeEnumAdView)
#define WHTLBLEventTypeEnumPushReceived WHTLBL_CLASS(EventTypeEnumPushReceived)
#define WHTLBLEventTypeEnumPushOpened WHTLBL_CLASS(EventTypeEnumPushOpened)
#define WHTLBLEvent WHTLBL_CLASS(Event)
#pragma mark - INTERFACE
/*!
@class KochavaEvent
@brief A class that stores standardized parameters for an event.
@discussion This class is used to store and pass standardized parameters when sending an event to the server. The proper use of this class is to instantiate an object using the designated initializer, and then to assign values to each property that you wish to send. You may then pass this object as a parameter to sendEvent.
Inherits from: NSObject
@author John Bushnell
@copyright 2017 Kochava, Inc.
*/
@interface KochavaEvent : NSObject
#pragma mark - NS_ENUM
#pragma mark KochavaEventTypeEnum
typedef NS_ENUM(NSUInteger, KochavaEventTypeEnum)
{
/*!
@brief Undefined
@discussion This is an enumerated value which signifies that an the event type has not been defined.
*/
KochavaEventTypeEnumUndefined = 0,
/*!
@brief Add to Cart
@discussion This is an enumerated value which signifies that an item was added to a cart. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumAddToCart = 100,
/*!
@brief Add to Wish List
@discussion This is an enumerated value which signifies that an item was added to a wish list. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumAddToWishList = 101,
/*!
@brief Achievement
@discussion This is an enumerated value which signifies that an achievement was achieved. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumAchievement = 102,
/*!
@brief Checkout Start
@discussion This is an enumerated value which signifies that a checkout was started. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumCheckoutStart = 103,
/*!
@brief Custom
@discussion This is an enumerated value which signifies that a customEventNameString will be supplied.
*/
KochavaEventTypeEnumCustom = 1,
/*!
@brief Level Complete
@discussion This is an enumerated value which signifies that a level was completed. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumLevelComplete = 104,
/*!
@brief Purchase
@discussion This is an enumerated value which signifies that a purchase was completed. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumPurchase = 105,
/*!
@brief Rating
@discussion This is an enumerated value which signifies that an item was rated. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumRating = 106,
/*!
@brief Registration Complete
@discussion This is an enumerated value which signifies that a registration was completed. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumRegistrationComplete = 107,
/*!
@brief Search
@discussion This is an enumerated value which signifies that a search was performed. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumSearch = 108,
/*!
@brief Tutorial Complete
@discussion This is an enumerated value which signifies that a tutorial was completed. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumTutorialComplete = 109,
/*!
@brief View
@discussion This is an enumerated value which signifies that an item was viewed. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumView = 110,
/*!
@brief Ad View
@discussion This is an enumerated value which signifies that an ad was viewed. You may use this in any equivalent circumstance.
*/
KochavaEventTypeEnumAdView = 111,
/*!
@brief Push Received
@discussion This is an enumerated value which signifies that a push notification was received.
*/
KochavaEventTypeEnumPushReceived = 112,
/*!
@brief Push Opened
@discussion This is an enumerated value which signifies that a push notification was opened.
*/
KochavaEventTypeEnumPushOpened = 113,
};
#pragma mark - PARAMETERS
/*!
@property actionString
@brief A property containing an action string.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *actionString;
/*!
@property adCampaignIdString
@brief A property containing an ad campaign identifier string.
@discussion This is expected to contain a string corresponding to an ad campaign identifier.
*/
@property (strong, nonatomic, nullable) NSString *adCampaignIdString;
/*!
@property adCampaignNameString
@brief A property containing an ad campaign name string.
@discussion This is expected to contain a string corresponding to an ad campaign name.
*/
@property (strong, nonatomic, nullable) NSString *adCampaignNameString;
/*!
@property adDeviceTypeString
@brief A property containing an ad device type string.
@discussion This is expected to contain a string corresponding to a device type.
*/
@property (strong, nonatomic, nullable) NSString *adDeviceTypeString;
/*!
@property adGroupIdString
@brief A property containing an ad group identifier string.
@discussion This is expected to contain a string corresponding to an ad group identifier.
*/
@property (strong, nonatomic, nullable) NSString *adGroupIdString;
/*!
@property adGroupNameString
@brief A property containing an ad group name string.
@discussion This is expected to contain a string corresponding to an ad group name.
*/
@property (strong, nonatomic, nullable) NSString *adGroupNameString;
/*!
@property adMediationNameString
@brief A property containing an ad mediation network name string.
@discussion This is expected to contain a standardized string corresponding to an advertising network. It is the name of the network that was used during mediation.
*/
@property (strong, nonatomic, nullable) NSString *adMediationNameString;
/*!
@property adNetworkNameString
@brief A property containing an ad network name string.
@discussion This is expected to contain a standardized string corresponding to an advertising network.
*/
@property (strong, nonatomic, nullable) NSString *adNetworkNameString;
/*!
@property adPlacementString
@brief A property containing an ad placement string.
@discussion This is expected to contain a string corresponding to an ad placement, ad unit, etc.
*/
@property (strong, nonatomic, nullable) NSString *adPlacementString;
/*!
@property adSizeString
@brief A property containing an ad size string.
@discussion This is expected to contain a string corresponding to an ad size.
*/
@property (strong, nonatomic, nullable) NSString *adSizeString;
/*!
@property adTypeString
@brief A property containing an ad type string.
@discussion This is expected to contain a string corresponding to an ad type.
*/
@property (strong, nonatomic, nullable) NSString *adTypeString;
/*!
@property appStoreReceiptBase64EncodedString
@brief A property containing an App Store receipt which has been converted into a base64 encoded string.
@discussion The format of the information is expected to be that which is provided by the main bundle's appStoreReceiptURL method, the data of which being loaded and base-64-string-encoded.
*/
@property (strong, nonatomic, nullable) NSString *appStoreReceiptBase64EncodedString;
/*!
@property backgroundBoolNumber
@brief A property containing a boolean wrapped in an NSNumber which indicates that something is background.
@discussion This is expected to contain a boolean which indicates if something is background, or occurred while in the background. This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSNumber *backgroundBoolNumber;
/*!
@property checkoutAsGuestString
@brief A property indicating whether a checkout took place as a guest.
@discussion This is generally taken to be a boolean, but it is passed as a string so that you can provide more than two states. Suggested values are "true" and "false", but can also be values such as "yes", "no", or "partial".
*/
@property (strong, nonatomic, nullable) NSString *checkoutAsGuestString;
/*!
@property completedBoolNumber
@brief A property containing a boolean wrapped in an NSNumber which indicates that something is completed.
@discussion This is expected to contain a boolean which indicates if something is completed. This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSNumber *completedBoolNumber;
/*!
@property contentIdString
@brief A property containing a content identifier string.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *contentIdString;
/*!
@property contentTypeString
@brief A property containing a content type string.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *contentTypeString;
/*!
@property currencyString
@brief A property containing a currency type string.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *currencyString;
/*!
@property customEventNameString
@brief A property containing a custom event name string.
@discussion Standardized event names are automatically determined from the event type enum. If an appropriate event type is not present, you may set the event type to KochavaEventTypeEnumCustom and the customEventNameString property to your custom event name string. Event names do not need to be pre-registered. They can be any alphanumeric string value which does not begin with an underscore. NOTE: Prepending an event name with an underscore is a convention reserved for Kochava system events. (i.e. _INSTALL)
*/
@property (strong, nonatomic, nullable) NSString *customEventNameString;
/*!
@property date
@brief A property containing a date.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSDate *date;
/*!
@property dateString
@brief A property containing a date string. "dateString" can be used as an alternate to "date" when a specific date format is desired.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *dateString;
/*!
@property descriptionString
@brief A property containing a description. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *descriptionString;
/*!
@property destinationString
@brief A property containing a destination. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *destinationString;
/*!
@property durationTimeIntervalNumber
@brief A property that contains a duration. It is a time interval that is wrapped in an NSNumber.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSNumber *durationTimeIntervalNumber;
/*!
@property endDate
@brief A property that contains an end date.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSDate *endDate;
/*!
@property endDateString
@brief A property that contains an end date. "endDateString" can be used as an alternate to "endDate" when a specific date format is desired.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *endDateString;
/*!
@property infoDictionary
@brief A property containing an informational dictionary of key/value pairs.
@discussion A information dictionary. The keys and values can be any alphanumeric string value. This field has an entirely generic quality, in that it can contain whatever you consider to be fitting value. The dictionary should not contain sub-dictionaries.
*/
@property (strong, nonatomic, nullable) NSDictionary *infoDictionary;
/*!
@property infoString
@brief A property containing an informational string.
@discussion A informational string. This can be any alphanumeric string value. This field has an entirely generic quality, in that it can contain whatever you consider to be fitting value.
If the string passed is all numeric (and may include a decimal point), Kochava will automatically sum the amounts passed for the same nameString. For example, if you sent the purchase amount of in-app purchases in infoString and named nameString “IAP – Purchase Price”, Kochava would add up all the purchase amounts for you and present them as a total for “IAP – Purchase Price”. Regardless of what is passed in infoString, Kochava’s user dashboard will let you access all the data passed in infoString for any nameString, and present a count of all times an event was sent passing any given nameString.
NOTE: If you pass a string of JSON represented data, only the root level (no nested chunks) is stored. Also, a limit of 75 characters is applied for a non-JSON-decodable string passed as an event infoString.
*/
@property (strong, nonatomic, nullable) NSString *infoString;
/*!
@property itemAddedFromString
@brief A property that contains an indication of where an item as added from. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *itemAddedFromString;
/*!
@property levelString
@brief A property that contains a level. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *levelString;
/*!
@property maxRatingValueDoubleNumber
@brief A property that contains a maximum rating value. It is a double that is wrapped in an NSNumber. This property is used in conjunction with ratingValueDoubleNumber.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSNumber *maxRatingValueDoubleNumber;
/*!
@property nameString
@brief A property that contains a name. It can be a human name or the name of any other item type. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value. It can be a person's name or the name of any other object.
*/
@property (strong, nonatomic, nullable) NSString *nameString;
/*!
@property orderIdString
@brief A property that contains an order id. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *orderIdString;
/*!
@property originString
@brief A property that contains an origin. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *originString;
/*!
@property payloadDictionary
@brief A property that contains a payload in the form of a dictionary.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSDictionary *payloadDictionary;
/*!
@property priceDecimalNumber
@brief A property that contains a price.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value. Because it uses an NSDecimalNumber, it is better suited for preserving decimal precision than priceDoubleNumber. priceDecimalNumber and priceDoubleNumber share the same key when sent to the server. If both are set, the value within priceDecimalNumber will win.
*/
@property (strong, nonatomic, nullable) NSDecimalNumber *priceDecimalNumber;
/*!
@property priceDoubleNumber
@brief A property that contains a price. It is a double that is wrapped in an NSNumber.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value. In order to better preserve decimal precision, see priceDecimalNumber. priceDecimalNumber and priceDoubleNumber share the same key when sent to the server. If both are set, the value within priceDecimalNumber will win.
*/
@property (strong, nonatomic, nullable) NSNumber *priceDoubleNumber;
/*!
@property quantityDoubleNumber
@brief A property that contains a quantity. It is a double that is wrapped in an NSNumber.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSNumber *quantityDoubleNumber;
/*!
@property ratingValueDoubleNumber
@brief A property that contains a rating value. It is a double that is wrapped in an NSNumber.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSNumber *ratingValueDoubleNumber;
/*!
@property receiptIdString
@brief A property that contains a receipt id. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *receiptIdString;
/*!
@property referralFromString
@brief A property that contains where something was referred from. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *referralFromString;
/*!
@property registrationMethodString
@brief A property that contains a registration method. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *registrationMethodString;
/*!
@property resultsString
@brief A property that contains results. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *resultsString;
/*!
@property scoreString
@brief A property that contains a score. It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *scoreString;
/*!
@property searchTermString
@brief A property that contains a search term (or terms). It is a string that can contain any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *searchTermString;
/*!
@property spatialXDoubleNumber
@brief A property that contains a spatial coordinate’s x value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value. One such application is to record the occurrence of events in 3D Gamespace.
*/
@property (strong, nonatomic, nullable) NSNumber *spatialXDoubleNumber;
/*!
@property spatialYDoubleNumber
@brief A property that contains a spatial coordinate’s y value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value. One such application is to record the occurrence of events in 3D Gamespace.
*/
@property (strong, nonatomic, nullable) NSNumber *spatialYDoubleNumber;
/*!
@property spatialZDoubleNumber
@brief A property that contains a spatial coordinate’s z value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value. One such application is to record the occurrence of events in 3D Gamespace.
*/
@property (strong, nonatomic, nullable) NSNumber *spatialZDoubleNumber;
/*!
@property startDate
@brief A property that contains a start date.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSDate *startDate;
/*!
@property startDateString
@brief A property that contains a start date. "startDateString" is a string that can be used as an alternate to "startDate" when a specific display format is desired.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *startDateString;
/*!
@property successString
@brief A property that contains a success string. It is a string that can be any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *successString;
/*!
@property userIdString
@brief A property that contains a user id. It is a string that can be any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *userIdString;
/*!
@property userNameString
@brief A property that contains a username. This is intended to be used to store an account-syle username, as opposed to a user's name (compare "nameString"). It is a string that can be any alphanumeric value.
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *userNameString;
/*!
@property validatedString
@brief A property that contains a validated string. It is a string that is intended to contain a boolean-like value, such as "true" or "false". It can also contain other custom values such as "partial".
@discussion This field has a somewhat generic quality, in that it can contain whatever you consider to be fitting value.
*/
@property (strong, nonatomic, nullable) NSString *validatedString;
#pragma mark - GENERAL
/*!
@method - serverEventNameString
@brief A method that returns the event name which is suitable to send to the server (internal).
*/
- (nonnull NSString *)serverEventNameString;
/*!
@method - serverEventInfoObject
@brief A method that returns an info object which is suitable to send to the server (internal).
*/
- (nullable NSObject *)serverEventInfoObject;
#pragma mark - CLASS GENERAL
/*!
@method + eventWithEventTypeEnum:
@brief Create a KochavaEvent object.
@discussion The designated initializer.
*/
+ (nullable instancetype)eventWithEventTypeEnum:(KochavaEventTypeEnum)eventTypeEnum;
@end