2023-01-18 14:22:51 +01:00
|
|
|
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
2021-05-13 17:07:16 +02:00
|
|
|
|
|
|
|
namespace TINK.Services.BluetoothLock.Exception
|
|
|
|
{
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary>
|
|
|
|
/// If fired if app is disconnected from bluetooth.
|
|
|
|
/// </summary>
|
|
|
|
/// <remarks>
|
|
|
|
/// Member to determine if app is disconnected: IDevice.State from server Plugin.BLE. If DeviceState.Disconnected exception is fired.
|
|
|
|
/// All possible states: Disconnected, Connecting, Connected, Limited.
|
|
|
|
/// </remarks>
|
|
|
|
public class BluetoothDisconnectedException : StateAwareException
|
|
|
|
{
|
2023-01-18 14:22:51 +01:00
|
|
|
public BluetoothDisconnectedException() : base(
|
|
|
|
LockingState.UnknownDisconnected,
|
2023-08-31 12:20:06 +02:00
|
|
|
MultilingualResources.Resources.LockItExceptionBluetoothDisconnected)
|
2022-09-06 16:08:19 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
2021-05-13 17:07:16 +02:00
|
|
|
}
|