Constructor and Description |
---|
KitStub() |
Modifier and Type | Method and Description |
---|---|
protected Result |
doInBackground()
For heavy work to be done in initialization process on a background thread.
|
Result |
get() |
String |
getIdentifier()
Must be implemented by Kit to allow plugin on-boarding
|
String |
getVersion() |
void |
init(Context context) |
compareTo, getContext, getDependencies, getFabric, getIdManager, getPath, onCancelled, onPostExecute, onPreExecute
public String getVersion()
getVersion
in class Kit<Result>
protected Result doInBackground()
Kit
Fabric.executorService
doInBackground
in class Kit<Result>
public String getIdentifier()
Kit
getIdentifier
in class Kit<Result>
public void init(Context context)
public Result get() throws ExecutionException, InterruptedException
ExecutionException
InterruptedException