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
actual class HttpMetric

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

expect class HttpMetric

A metric of one HTTP request, as the Android SDK's com.google.firebase.perf.metrics.HttpMetric. The JS SDK has no custom HTTP metrics (it records network requests itself), so this class exists on Android, the JVM and Apple platforms.

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). @property name The name given to com.google.firebase.perf.FirebasePerformance.newTrace.

actual class Trace