@@ -341,6 +341,60 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
341
341
}
342
342
343
343
/**
344
+ * Get the details of a specific event
345
+ *
346
+ * @param eventName {string} - The name of the event
347
+ * @returns {Promise<any> }
348
+ */
349
+ @Cordova ( )
350
+ getUserEventLog ( eventName : string ) : Promise < any > {
351
+ return ;
352
+ }
353
+
354
+ /**
355
+ * Get the count of times an event occurred
356
+ *
357
+ * @param eventName {string} - The name of the event
358
+ * @returns {Promise<any> }
359
+ */
360
+ @Cordova ( )
361
+ getUserEventLogCount ( eventName : string ) : Promise < any > {
362
+ return ;
363
+ }
364
+
365
+ /**
366
+ * Get timestamp of user's last app visit
367
+ *
368
+ * @returns {Promise<any> } - Returns epoch seconds or -1
369
+ */
370
+ @Cordova ( )
371
+ getUserLastVisitTs ( ) : Promise < any > {
372
+ return ;
373
+ }
374
+
375
+ /**
376
+ * Get the total number of times the user has launched the app
377
+ *
378
+ * @returns {Promise<any> }
379
+ */
380
+ @Cordova ( )
381
+ getUserAppLaunchCount ( ) : Promise < any > {
382
+ return ;
383
+ }
384
+
385
+ /**
386
+ * Get full event history for the current user
387
+ *
388
+ * @returns {Promise<any> }
389
+ */
390
+ @Cordova ( )
391
+ getUserEventLogHistory ( ) : Promise < any > {
392
+ return ;
393
+ }
394
+
395
+
396
+ /**
397
+ * @deprecated - Use getUserEventLog() instead
344
398
* Get Event First Time
345
399
*
346
400
* @param eventName {string}
@@ -353,6 +407,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
353
407
}
354
408
355
409
/**
410
+ * @deprecated - Use getUserEventLog() instead
356
411
* Get Event Last Time
357
412
*
358
413
* @param eventName {string}
@@ -365,6 +420,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
365
420
}
366
421
367
422
/**
423
+ * @deprecated - Use getUserEventLogCount() instead
368
424
* Get Event Number of Occurrences
369
425
*
370
426
* @param eventName {string}
@@ -377,6 +433,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
377
433
}
378
434
379
435
/**
436
+ * * @deprecated - Use getUserEventLog() instead
380
437
* Get Event Details
381
438
*
382
439
* @param eventName {string}
@@ -389,6 +446,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
389
446
}
390
447
391
448
/**
449
+ * @deprecated - Use getUserEventLogHistory() instead
392
450
* Get Event History
393
451
* calls back with object {"eventName1":<event1 details object>, "eventName2":<event2 details object>}
394
452
*
@@ -700,6 +758,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
700
758
}
701
759
702
760
/**
761
+ * @deprecated - Use getUserAppLaunchCount() instead
703
762
* Get Session Total Visits
704
763
* calls back with with int or -1
705
764
*
@@ -722,6 +781,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
722
781
}
723
782
724
783
/**
784
+ * @deprecated - Use getUserLastVisitTs() instead
725
785
* Get Session Previous Visit Time
726
786
* calls back with with epoch seconds or -1
727
787
*
0 commit comments