MCPcopy Create free account
hub / github.com/NativeScript/firebase / Trace

Class Trace

packages/firebase-performance/index.d.ts:27–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27export class Trace implements ITrace {
28 readonly native: any;
29 readonly ios: any;
30 readonly android: any;
31
32 getAttribute(attribute: string): string;
33
34 getMetric(metricName: string): number;
35
36 getMetrics(): { [key: string]: number };
37
38 incrementMetric(metricName: string, incrementBy: number): void;
39
40 putAttribute(attribute: string, value: string): void;
41
42 putMetric(metricName: string, value: number): void;
43
44 removeMetric(metricName: string): void;
45
46 start();
47
48 stop();
49}
50
51export class Performance implements IPerformance {
52 readonly native: any;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected