using System.Threading.Tasks;
namespace ShareeBike.ViewModel.Bikes.Bike.BluetoothLock
{
public interface IRequestHandler : IRequestHandlerBase
{
/// Gets a value indicating whether the ILockIt button which is managed by request handler is visible or not.
bool IsLockitButtonVisible { get; }
/// Gets the text of the ILockIt button which is managed by request handler.
string LockitButtonText { get; }
///
/// Performs the copri action to be executed when user presses the copri button managed by request handler.
///
/// New handler object if action succeeded, same handler otherwise.
Task HandleRequestOption1();
Task HandleRequestOption2();
///
/// Holds error description (invalid state).
///
string ErrorText { get; }
}
}