-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
39 lines (39 loc) · 1.09 KB
/
index.d.ts
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
import { IonicNativePlugin } from '@ionic-native/core';
/**
* @name jAnalytics
* @description
* This plugin does something
*
* @usage
* ```typescript
* import { JAnalytics } from '@ionic-native/JAnalytics';
*
*
* constructor(private jAnalytics: JAnalytics) { }
*
* ...
*
*
* this.jAnalytics.functionName('Hello', 123)
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
* ```
*/
export declare class JAnalytics extends IonicNativePlugin {
/**
* This function does something
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
init(): Promise<any>;
initCrashHandler(): Promise<any>;
stopCrashHandler(): Promise<any>;
onPageStart(params: any): Promise<any>;
onPageEnd(params: any): Promise<any>;
addCountEvent(params: any): Promise<any>;
addCalculateEvent(params: any): Promise<any>;
addLoginEvent(params: any): Promise<any>;
addRegisterEvent(params: any): Promise<any>;
addBrowseEvent(params: any): Promise<any>;
addPurchaseEvent(params: any): Promise<any>;
}