1 | export interface AmplitudeTrackingOptions {
|
2 | disableAdid?: boolean;
|
3 | disableCarrier?: boolean;
|
4 | disableCity?: boolean;
|
5 | disableCountry?: boolean;
|
6 | disableDeviceBrand?: boolean;
|
7 | disableDeviceManufacturer?: boolean;
|
8 | disableDeviceModel?: boolean;
|
9 | disableDMA?: boolean;
|
10 | disableIDFV?: boolean;
|
11 | disableIPAddress?: boolean;
|
12 | disableLanguage?: boolean;
|
13 | disableLatLng?: boolean;
|
14 | disableOSName?: boolean;
|
15 | disableOSVersion?: boolean;
|
16 | disablePlatform?: boolean;
|
17 | disableRegion?: boolean;
|
18 | disableVersionName?: boolean;
|
19 | }
|
20 | export declare function initializeAsync(apiKey: string): Promise<void>;
|
21 | export declare function setUserIdAsync(userId: string): Promise<void>;
|
22 | export declare function setUserPropertiesAsync(userProperties: {
|
23 | [name: string]: any;
|
24 | }): Promise<void>;
|
25 | export declare function clearUserPropertiesAsync(): Promise<void>;
|
26 | export declare function logEventAsync(eventName: string): Promise<void>;
|
27 | export declare function logEventWithPropertiesAsync(eventName: string, properties: {
|
28 | [name: string]: any;
|
29 | }): Promise<void>;
|
30 | export declare function setGroupAsync(groupType: string, groupNames: string[]): Promise<void>;
|
31 | export declare function setTrackingOptionsAsync(options: AmplitudeTrackingOptions): Promise<void>;
|
32 |
|
33 |
|
34 |
|
35 | export declare function initialize(apiKey: string): Promise<void>;
|
36 |
|
37 |
|
38 |
|
39 | export declare function setUserId(userId: string): Promise<void>;
|
40 |
|
41 |
|
42 |
|
43 | export declare function setUserProperties(userProperties: {
|
44 | [name: string]: any;
|
45 | }): Promise<void>;
|
46 |
|
47 |
|
48 |
|
49 | export declare function clearUserProperties(): Promise<void>;
|
50 |
|
51 |
|
52 |
|
53 | export declare function logEvent(eventName: string): Promise<void>;
|
54 |
|
55 |
|
56 |
|
57 | export declare function logEventWithProperties(eventName: string, properties: {
|
58 | [name: string]: any;
|
59 | }): Promise<void>;
|
60 |
|
61 |
|
62 |
|
63 | export declare function setGroup(groupType: string, groupNames: string[]): Promise<void>;
|
64 |
|
65 |
|
66 |
|
67 | export declare function setTrackingOptions(options: AmplitudeTrackingOptions): Promise<void>;
|