Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class AddTrace(val name: String, val enabled: Boolean = true)

Marks a method to be traced by the Firebase Performance Gradle plugin on Android, as the Android SDK's com.google.firebase.perf.metrics.AddTrace. It is a plain annotation on the other platforms, where nothing reads it.

Link copied to clipboard
actual class HttpMetric

Header stub; see FirebasePerformance.android.kt.

actual class HttpMetric
expect class HttpMetric

A metric of one HTTP request, as the Android SDK's com.google.firebase.perf.metrics.HttpMetric; created with com.google.firebase.perf.FirebasePerformance.newHttpMetric. The JS SDK has no custom HTTP metrics (it records network requests itself), so on JS and wasmJs the metric keeps its attributes and values but reports nothing.

actual class HttpMetric

An HTTP metric that keeps its attributes and values but reports nothing: the JS SDK has no custom HTTP metrics.

actual class HttpMetric

An in-memory HTTP metric (see FirebasePerformance.jvm.kt).

actual class HttpMetric

An HTTP metric that keeps its attributes and values but reports nothing: the JS SDK has no custom HTTP metrics.

Link copied to clipboard
actual class Trace

Header stub; see FirebasePerformance.android.kt.

actual class Trace
expect class Trace

A custom trace: a period of time between start and stop that is reported with its metrics and custom attributes, as the Android SDK's com.google.firebase.perf.metrics.Trace.

actual class Trace
actual class Trace

An in-memory trace (see FirebasePerformance.jvm.kt); its operations are atomic, as the Android SDK's.

actual class Trace