We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5cf884 commit 8340394Copy full SHA for 8340394
1 file changed
src/main/kotlin/com/github/grishberg/android/layoutinspector/process/providers/DeviceProvider.kt
@@ -1,13 +1,17 @@
1
package com.github.grishberg.android.layoutinspector.process.providers
2
3
import com.android.ddmlib.IDevice
4
+import com.android.layoutinspector.common.AppLogger
5
+
6
7
interface DeviceProvider {
8
+ val deviceChangedActions: MutableSet<DeviceChangedAction>
9
+ val isReconnectionAllowed: Boolean
10
11
fun stop()
12
fun reconnect()
13
+ fun attachLogger(newLogger: AppLogger) {}
14
suspend fun requestDevices(): List<IDevice>
- val deviceChangedActions: MutableSet<DeviceChangedAction>
- val isReconnectionAllowed: Boolean
15
16
interface DeviceChangedAction {
17
fun deviceConnected(device: IDevice)
0 commit comments