sharee.bike-App/TINKLib/ViewModel/Bikes/Bike/IRequestHandlerBase.cs

26 lines
763 B
C#
Raw Normal View History

2023-06-06 12:00:24 +02:00
namespace TINK.ViewModel.Bikes.Bike
2021-05-13 20:03:07 +02:00
{
2022-09-06 16:08:19 +02:00
/// <summary>
/// Base interface for Copri and ILockIt request handler.
/// Copri communication is used by both handlers.
/// </summary>
public interface IRequestHandlerBase
{
/// <summary>
/// Gets a value indicating whether the copri button which is managed by request handler is visible or not.
/// </summary>
bool IsButtonVisible { get; }
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>View model to be used for progress report and unlocking/ locking view.</summary>
IBikesViewModel BikesViewModel { get; }
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// Gets the text of the copri button which is managed by request handler.
/// </summary>
string ButtonText { get; }
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>Gets the is connected state. </summary>
bool IsConnected { get; }
}
2021-05-13 20:03:07 +02:00
}