Crashlytics.Builder

public static class Crashlytics.Builder extends Object

Fluent API for creating Crashlytics instances.

Public Constructor Summary

Public Method Summary

Crashlytics.Builder
answers(Answers answers)
Crashlytics.Builder
beta(Beta beta)
Crashlytics
build()
Crashlytics.Builder
Crashlytics.Builder
delay(float delay)
This method was deprecated. Use delay(float) and core(com.crashlytics.android.core.CrashlyticsCore) instead.
Crashlytics.Builder
disabled(boolean isDisabled)
This method was deprecated. Use disabled(boolean) and core(com.crashlytics.android.core.CrashlyticsCore) instead.
Crashlytics.Builder
Crashlytics.Builder
pinningInfo(PinningInfoProvider pinningInfoProvider)
This method was deprecated. Setting a PinningInfoProvider to use for sending crash reports has been deprecated.

Inherited Method Summary

Public Constructors

public Crashlytics.Builder ()

Public Methods

public Crashlytics.Builder answers (Answers answers)

Parameters
answers

public Crashlytics.Builder beta (Beta beta)

Parameters
beta

public Crashlytics build ()

public Crashlytics.Builder core (CrashlyticsCore core)

Parameters
core

public Crashlytics.Builder delay (float delay)

This method was deprecated.
Use delay(float) and core(com.crashlytics.android.core.CrashlyticsCore) instead.

Specify the time (seconds) to wait before attempting to send any cached crash reports

Parameters
delay

public Crashlytics.Builder disabled (boolean isDisabled)

This method was deprecated.
Use disabled(boolean) and core(com.crashlytics.android.core.CrashlyticsCore) instead.

Specify that this Crashlytics instance is disabled.

This is useful in situations where you want to use Crashlytics in a production build, but want to disable it in debug or development builds. For example,

new Crashlytics.Builder().disabled(BuildConfig.DEBUG).build();

Parameters
isDisabled

public Crashlytics.Builder listener (CrashlyticsListener listener)

This method was deprecated.
Use listener(com.crashlytics.android.core.CrashlyticsListener) and core(com.crashlytics.android.core.CrashlyticsCore) instead.

Specify a listener that listens to Crashes

Parameters
listener

public Crashlytics.Builder pinningInfo (PinningInfoProvider pinningInfoProvider)

This method was deprecated.
Setting a PinningInfoProvider to use for sending crash reports has been deprecated.

Parameters
pinningInfoProvider

Send feedback about...

Need help? Visit our support page.