public class SdkDetector
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
SdkDetector.DetectedSdkListener
The callback interface to deliver Sdk search results
back to the callee in EDT thread
|
Constructor and Description |
---|
SdkDetector() |
Modifier and Type | Method and Description |
---|---|
void |
detectSdks(SdkType type,
ProgressIndicator indicator,
SdkDetector.DetectedSdkListener callback)
Run Sdk detection assuming called in a background thread
|
void |
getDetectedSdksWithUpdate(Project project,
Disposable lifetime,
ModalityState callbackModality,
SdkDetector.DetectedSdkListener listener)
Checks and registers the of only is not
yet registered.
|
static SdkDetector |
getInstance() |
public static SdkDetector getInstance()
public void getDetectedSdksWithUpdate(Project project, Disposable lifetime, ModalityState callbackModality, SdkDetector.DetectedSdkListener listener)
public void detectSdks(SdkType type, ProgressIndicator indicator, SdkDetector.DetectedSdkListener callback)