KeyValueBuilder

class KeyValueBuilder


Helper class to enable fluent syntax in setCustomKeys

Summary

Public constructors

Public functions

Unit
key(key: String, value: Boolean)

This function is deprecated. Use `com.google.firebase.crashlytics.KeyValueBuilder.key(key, value)` from the main module.

Unit
key(key: String, value: Double)

This function is deprecated. Use `com.google.firebase.crashlytics.KeyValueBuilder.key(key, value)` from the main module.

Unit
key(key: String, value: Float)

This function is deprecated. Use `com.google.firebase.crashlytics.KeyValueBuilder.key(key, value)` from the main module.

Unit
key(key: String, value: Int)

This function is deprecated. Use `com.google.firebase.crashlytics.KeyValueBuilder.key(key, value)` from the main module.

Unit
key(key: String, value: Long)

This function is deprecated. Use `com.google.firebase.crashlytics.KeyValueBuilder.key(key, value)` from the main module.

Unit
key(key: String, value: String)

This function is deprecated. Use `com.google.firebase.crashlytics.KeyValueBuilder.key(key, value)` from the main module.

Public constructors

KeyValueBuilder

KeyValueBuilder(crashlytics: FirebaseCrashlytics)

Public functions

key

fun key(key: String, value: Boolean): Unit

Sets a custom key and value that are associated with reports.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-crashlytics-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

key

fun key(key: String, value: Double): Unit

Sets a custom key and value that are associated with reports.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-crashlytics-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

key

fun key(key: String, value: Float): Unit

Sets a custom key and value that are associated with reports.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-crashlytics-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

key

fun key(key: String, value: Int): Unit

Sets a custom key and value that are associated with reports.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-crashlytics-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

key

fun key(key: String, value: Long): Unit

Sets a custom key and value that are associated with reports.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-crashlytics-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

key

fun key(key: String, value: String): Unit

Sets a custom key and value that are associated with reports.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-crashlytics-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.