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

Method fromNative

packages/firebase-performance/index.android.ts:70–77  ·  view source on GitHub ↗
(trace: com.google.firebase.perf.metrics.Trace)

Source from the content-addressed store, hash-verified

68export class Trace implements ITrace {
69 _native: com.google.firebase.perf.metrics.Trace;
70 static fromNative(trace: com.google.firebase.perf.metrics.Trace) {
71 if (trace instanceof com.google.firebase.perf.metrics.Trace) {
72 const result = new Trace();
73 result._native = trace;
74 return result;
75 }
76 return null;
77 }
78 get native() {
79 return this._native;
80 }

Callers 3

newHttpMetricMethod · 0.45
newTraceMethod · 0.45
appMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected