Properties
The Android-SDK-shaped com.google.firebase.perf.metrics.Trace this wraps.
The underlying Firebase JS SDK object.
The underlying Firebase JS SDK object.
Functions
Returns the value of the custom attribute with the given attribute name.
Returns all custom attributes associated with this trace.
Gets the value of the metric with the given name in the current trace. If a metric with the given name doesn't exist, it is NOT created and a 0 is returned. This method is atomic.
Atomically increments the metric with the given name in this trace by the incrementBy value. If the metric does not exist, a new one will be created. If the trace has not been started or has already been stopped, returns immediately without taking action.
Sets the value of the metric with the given name in this trace to the value provided. If a metric with the given name doesn't exist, a new one will be created. If the trace has not been started or has already been stopped, returns immediately without taking action. This method is atomic.
Removes the custom attribute with the given attribute name from this trace.
Android-only: associates this trace with a PerfSession.