public static interface AndroidDebugBridge.IDebugBridgeChangeListener
AndroidDebugBridge changes (including restarts).| Modifier and Type | Method and Description |
|---|---|
void |
bridgeChanged(AndroidDebugBridge bridge)
Sent when a new
AndroidDebugBridge is connected. |
default void |
restartCompleted(boolean isSuccessful)
Sent when a restarted is finished.
|
default void |
restartInitiated()
Sent before trigger a restart.
|
void bridgeChanged(@Nullable
AndroidDebugBridge bridge)
AndroidDebugBridge is connected.
This is sent from a non UI thread.
bridge - the new AndroidDebugBridge object, null if there were errors while
initializing the bridgedefault void restartInitiated()
Note: Callback is inside a synchronized block so handler should be fast.
default void restartCompleted(boolean isSuccessful)
Note: Callback is inside a synchronized block so handler should be fast.
isSuccessful - if the bridge is successfully restarted.