2021-05-13 17:07:16 +02:00
|
|
|
|
using TINK.Model.Bike.BluetoothLock;
|
|
|
|
|
|
|
|
|
|
namespace TINK.Services.BluetoothLock.Exception
|
|
|
|
|
{
|
2022-04-10 17:38:34 +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>
|
2021-05-13 17:07:16 +02:00
|
|
|
|
public class BluetoothDisconnectedException : StateAwareException
|
|
|
|
|
{
|
2022-04-10 17:38:34 +02:00
|
|
|
|
public BluetoothDisconnectedException() : base(LockingState.UnknownDisconnected, MultilingualResources.Resources.ErrorBluetoothDisconnectedException)
|
2021-05-13 17:07:16 +02:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|