mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 18:46:30 +01:00
18 lines
805 B
C#
18 lines
805 B
C#
|
|
|||
|
using TINK.MultilingualResources;
|
|||
|
|
|||
|
namespace TINK.Services.BluetoothLock.Exception
|
|||
|
{
|
|||
|
/// <summary> Exception which is fired when bluetooth is not on. </summary>
|
|||
|
/// <remarks>
|
|||
|
/// Member to determine if app is disconnected: IBluetoothLE.State from server Plugin.BLE. If current value is not BluetoothState.On exception is fired.
|
|||
|
/// All possible states: Unknown, Unavailable, Unauthorized, TurningOn, On, TurningOff, Off.
|
|||
|
/// </remarks>
|
|||
|
public class ConnectBluetoothNotOnException : System.Exception
|
|||
|
{
|
|||
|
public ConnectBluetoothNotOnException() : base(Resources.ErrorConnectLockBluetoothOffException) { }
|
|||
|
|
|||
|
public ConnectBluetoothNotOnException(object state) : base(string.Format(Resources.ErrorConnectLockBluetoothNotOnException, state.ToString())) { }
|
|||
|
}
|
|||
|
}
|