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)

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

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

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

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

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

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

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

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

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

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

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

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.

key

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

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

key

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

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

key

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

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

key

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

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

key

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

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