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

Method getMetric

packages/firebase-performance/index.ios.ts:108–110  ·  view source on GitHub ↗
(metricName: string)

Source from the content-addressed store, hash-verified

106 return this.native.valueForAttribute(attribute);
107 }
108 getMetric(metricName: string): number {
109 return this.native.valueForIntMetric(metricName);
110 }
111 getMetrics(): { [key: string]: number } {
112 return deserialize(this.native.attributes);
113 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected