الانتقال إلى وحدة التحكم

Crashlytics

public class Crashlytics extends Kit<Void>
implements KitGroup

Nested Class Summary

class Crashlytics.Builder Fluent API for creating Crashlytics instances. 

Constant Summary

String TAG

Field Summary

public final Answers answers
public final Beta beta
public final CrashlyticsCore core
public final Collection<? extends Kit> kits

Public Constructor Summary

Public Method Summary

void
crash()
The easiest way to cause a crash - great for testing!
boolean
getDebugMode()
This method was deprecated. use isDebuggable() instead.
String
getIdentifier()
Must be implemented by Kit to allow plugin on-boarding
static Crashlytics
getInstance()
Gets the Crashlytics singleton object initialized with Fabric.with().
Collection<? extends Kit>
static PinningInfoProvider
getPinningInfoProvider()

Static convenience method which delegates to getPinningInfoProvider()

For testability, direct use of Crashlytics.getInstance().core.getPinningInfoProvider() is recommended.

String
static void
log(int priority, String tag, String msg)

Static convenience method which delegates to log(int, String, String)

For testability, direct use of Crashlytics.getInstance().core.log(priority, tag, message) is recommended.

static void
log(String msg)

Static convenience method which delegates to log(String)

For testability, direct use of Crashlytics.getInstance().core.log(msg) is recommended.

static void
logException(Throwable throwable)

Static convenience method which delegates to logException(Throwable)

For testability, direct use of Crashlytics.getInstance().core.logException(throwable) is recommended.

static void
setBool(String key, boolean value)

Static convenience method which delegates to setBool(String, boolean)

For testability, direct use of Crashlytics.getInstance().core.setBool(key, value) is recommended.

void
setDebugMode(boolean debug)
This method was deprecated. use debuggable(boolean) instead.
static void
setDouble(String key, double value)

Static convenience method which delegates to setDouble(String, double)

For testability, direct use of Crashlytics.getInstance().core.setDouble(key, value) is recommended.

static void
setFloat(String key, float value)

Static convenience method which delegates to setFloat(String, float)

For testability, direct use of Crashlytics.getInstance().core.setFloat(key, value) is recommended.

static void
setInt(String key, int value)

Static convenience method which delegates to setInt(String, int)

For testability, direct use of Crashlytics.getInstance().core.setInt(key, value) is recommended.

synchronized void