KeyValueBuilder

class KeyValueBuilder


Helper class to enable convenient syntax in setCustomKeys

Summary

Public constructors

This function is deprecated. Do not construct this directly.

Public functions

Unit
key(key: String, value: Boolean)

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

Unit
key(key: String, value: Double)

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

Unit
key(key: String, value: Float)

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

Unit
key(key: String, value: Int)

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

Unit
key(key: String, value: Long)

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

Unit
key(key: String, value: String)

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

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.

key

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

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

key

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

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

key

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

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

key

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

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

key

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

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