KeyValueBuilder

public final class KeyValueBuilder


Helper class to enable convenient syntax in setCustomKeys and recordException

Summary

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 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.