source: trip-planner-front/node_modules/@angular-devkit/core/src/analytics/multi.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 918 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Analytics, EventOptions, PageviewOptions, ScreenviewOptions, TimingOptions } from './api';
9/**
10 * Analytics implementation that reports to multiple analytics backend.
11 */
12export declare class MultiAnalytics implements Analytics {
13 protected _backends: Analytics[];
14 constructor(_backends?: Analytics[]);
15 push(...backend: Analytics[]): void;
16 event(category: string, action: string, options?: EventOptions): void;
17 screenview(screenName: string, appName: string, options?: ScreenviewOptions): void;
18 pageview(path: string, options?: PageviewOptions): void;
19 timing(category: string, variable: string, time: string | number, options?: TimingOptions): void;
20 flush(): Promise<void>;
21}
Note: See TracBrowser for help on using the repository browser.