sharee.bike-App/SharedBusinessLogic/ViewModel/Bikes/Bike/IRequestHandlerBase.cs
2024-04-09 12:53:23 +02:00

25 lines
769 B
C#

namespace ShareeBike.ViewModel.Bikes.Bike
{
/// <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; }
/// <summary>View model to be used for progress report and unlocking/ locking view.</summary>
IBikesViewModel BikesViewModel { get; }
/// <summary>
/// Gets the text of the copri button which is managed by request handler.
/// </summary>
string ButtonText { get; }
/// <summary>Gets the is connected state. </summary>
bool IsConnected { get; }
}
}