Fluent API for creating Fabric instances.
Public Constructor Summary
|
Fabric.Builder(Context context)
Start building a new
Fabric instance. |
Public Method Summary
| Fabric.Builder |
appIdentifier(String appIdentifier)
Sets the Application Identifier to build with.
|
| Fabric.Builder |
appInstallIdentifier(String appInstallIdentifier)
Sets the Application Install Identifier to build with
|
| Fabric |
build()
Build the fabric instance
|
| Fabric.Builder |
debuggable(boolean enabled)
Enable Logging
|
| Fabric.Builder |
executorService(ExecutorService executorService)
This method was deprecated.
Use
threadPoolExecutor(io.fabric.sdk.android.services.concurrency.PriorityThreadPoolExecutor)
|
| Fabric.Builder |
handler(Handler handler)
This method was deprecated.
this always uses the main handler
|
| Fabric.Builder |
initializationCallback(InitializationCallback<Fabric> initializationCallback)
Specify the
InitializationCallbackto build with
|
| Fabric.Builder | |
| Fabric.Builder | |
| Fabric.Builder |
threadPoolExecutor(PriorityThreadPoolExecutor threadPoolExecutor)
Sets the
PriorityThreadPoolExecutor to build with. |
Inherited Method Summary
Public Constructors
Public Methods
public Fabric.Builder appIdentifier (String appIdentifier)
Sets the Application Identifier to build with. This allows Fabric to report to another application in your organization. This must be set to an app identifier (package name) that has already been onboarded into the Fabric backend. This is usually your main package name ex: "com.example" has been onboarded into fabric.io and crashes from "com.example.free" should be reported to "com.example" as well
Parameters
| appIdentifier |
public Fabric.Builder appInstallIdentifier (String appInstallIdentifier)
Sets the Application Install Identifier to build with
Parameters
| appInstallIdentifier |
public Fabric.Builder executorService (ExecutorService executorService)
This method was deprecated.
Use threadPoolExecutor(io.fabric.sdk.android.services.concurrency.PriorityThreadPoolExecutor)
Parameters
| executorService |
public Fabric.Builder handler (Handler handler)
This method was deprecated.
this always uses the main handler
Parameters
| handler |
public Fabric.Builder initializationCallback (InitializationCallback<Fabric> initializationCallback)
Specify the InitializationCallbackto build with
Parameters
| initializationCallback |
public Fabric.Builder threadPoolExecutor (PriorityThreadPoolExecutor threadPoolExecutor)
Sets the PriorityThreadPoolExecutor to build with.
Parameters
| threadPoolExecutor |