mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-19 07:24:22 +01:00
Fixing proximity sensor
This commit is contained in:
@@ -13,6 +13,10 @@ sealed class BleManagerResult <T> {
|
||||
fun hasBeenDisconnected(): Boolean {
|
||||
return this is LinkLossResult || this is DisconnectedResult || this is MissingServiceResult
|
||||
}
|
||||
|
||||
fun hasBeenDisconnectedWithoutLinkLoss(): Boolean {
|
||||
return this is DisconnectedResult || this is MissingServiceResult
|
||||
}
|
||||
}
|
||||
|
||||
class ConnectingResult<T> : BleManagerResult<T>()
|
||||
|
||||
Reference in New Issue
Block a user