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

Method getMetric

packages/firebase-performance/index.android.ts:88–90  ·  view source on GitHub ↗
(metricName: string)

Source from the content-addressed store, hash-verified

86 return this.native.getAttribute(attribute);
87 }
88 getMetric(metricName: string): number {
89 return this.native.getLongMetric(metricName);
90 }
91 getMetrics(): { [key: string]: number } {
92 return deserialize(this.native.getAttributes());
93 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected