ktx / com.google.firebase.crashlytics.ktx / KeyValueBuilder

KeyValueBuilder

class KeyValueBuilder

Helper class to enable fluent syntax in setCustomKeys

Constructors

<init>

KeyValueBuilder(crashlytics: FirebaseCrashlytics)

Helper class to enable fluent syntax in setCustomKeys

Functions

key

fun key(    key: String,     value: Boolean): Unit
fun key(    key: String,     value: Double): Unit
fun key(    key: String,     value: Float): Unit
fun key(    key: String,     value: Int): Unit
fun key(    key: String,     value: Long): Unit
fun key(    key: String,     value: String): Unit

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