using System.Threading.Tasks; namespace TINK.ViewModel.Bikes.Bike.BluetoothLock { public interface IRequestHandler : IRequestHandlerBase { /// Gets a value indicating whether the ILockIt button which is managed by request hadnler 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 suceeded, same handler otherwise. Task HandleRequestOption1(); Task HandleRequestOption2(); /// /// Holds error discription (invalid state). /// string ErrorText { get; } } }