Package-level declarations

Types

Link copied to clipboard
actual class FirebasePerformance
actual class FirebasePerformance
expect class FirebasePerformance

Firebase Performance Monitoring, as the Android SDK's com.google.firebase.perf.FirebasePerformance: the entry point for custom traces and HTTP metrics.

actual class FirebasePerformance
actual class FirebasePerformance
actual class FirebasePerformance

Properties

Link copied to clipboard
val <Error class: unknown class>.performance: FirebasePerformance

The FirebasePerformance singleton; the Android SDK's Firebase.performance.

Functions

Link copied to clipboard
inline fun <T> trace(name: String, block: Trace.() -> T): T

Creates a trace named name, runs block between its start and stop and returns the result.

Link copied to clipboard
inline fun HttpMetric.trace(block: HttpMetric.() -> Unit)

Runs block between HttpMetric.start and HttpMetric.stop of this metric.

inline fun <T> Trace.trace(block: Trace.() -> T): T

Runs block between Trace.start and Trace.stop of this trace and returns its result.