MCPcopy Index your code
hub / github.com/NativeScript/firebase / Analytics

Class Analytics

packages/firebase-analytics/index.d.ts:6–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4export * from './common';
5
6export declare class Analytics implements IAnalytics {
7 readonly appInstanceId: Promise<string>;
8
9 logEvent(name: string, parameters: EventParameter): void;
10
11 setUserId(userId: string): void;
12
13 resetAnalyticsData(): void;
14
15 setAnalyticsCollectionEnabled(analyticsCollectionEnabled: boolean): void;
16
17 setUserProperty(name: string, value: string): void;
18
19 setSessionTimeoutInterval(sessionTimeoutInterval: number): void;
20
21 setDefaultEventParameters(parameters: EventParameter): void;
22
23 setConsent(consentSettings: Map<ConsentType, ConsentStatus>): void;
24
25 handleOpenURL(url: string): void;
26
27 handleUserActivity(userActivity: any): void;
28}
29
30declare module '@nativescript/firebase-core' {
31 export interface Firebase extends FirebaseAnalytics {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…