KeyValueBuilder

public final class KeyValueBuilder


Helper class to enable fluent syntax in setCustomKeys

Summary

Public constructors

Public methods

final void
key(@NonNull String key, boolean value)

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

final void
key(@NonNull String key, double value)

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

final void
key(@NonNull String key, float value)

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

final void
key(@NonNull String key, int value)

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

final void
key(@NonNull String key, long value)

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

final void
key(@NonNull String key, @NonNull String value)

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

Public constructors

KeyValueBuilder

public KeyValueBuilder(@NonNull FirebaseCrashlytics crashlytics)

Public methods

key

public final void key(@NonNull String key, boolean value)

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

public final void key(@NonNull String key, double value)

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

public final void key(@NonNull String key, float value)

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

public final void key(@NonNull String key, int value)

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

public final void key(@NonNull String key, long value)

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

public final void key(@NonNull String key, @NonNull String value)

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.