mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 23:56:26 +01:00
26 lines
988 B
C#
26 lines
988 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace TINK.ViewModel.Bikes.Bike.BluetoothLock
|
|
{
|
|
public interface IRequestHandler : IRequestHandlerBase
|
|
{
|
|
/// <summary> Gets a value indicating whether the ILockIt button which is managed by request hadnler is visible or not. </summary>
|
|
bool IsLockitButtonVisible { get; }
|
|
|
|
/// <summary> Gets the text of the ILockIt button which is managed by request handler. </summary>
|
|
string LockitButtonText { get; }
|
|
|
|
/// <summary>
|
|
/// Performs the copri action to be executed when user presses the copri button managed by request handler.
|
|
/// </summary>
|
|
/// <returns>New handler object if action suceeded, same handler otherwise.</returns>
|
|
Task<IRequestHandler> HandleRequestOption1();
|
|
|
|
Task<IRequestHandler> HandleRequestOption2();
|
|
|
|
/// <summary>
|
|
/// Holds error discription (invalid state).
|
|
/// </summary>
|
|
string ErrorText { get; }
|
|
}
|
|
}
|