mirror of
https://invent.kde.org/network/kdeconnect-android.git
synced 2025-10-06 00:23:01 +02:00
Device: Add toString to help debug
This commit is contained in:
@@ -643,4 +643,8 @@ class Device : PacketReceiver {
|
|||||||
fun disconnect() {
|
fun disconnect() {
|
||||||
links.forEach(BaseLink::disconnect)
|
links.forEach(BaseLink::disconnect)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun toString(): String {
|
||||||
|
return "Device(name=$name, id=$deviceId)"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user