namespace SRDebugger.Services { using System; using System.Collections.Generic; public delegate void PinEntryCompleteCallback(bool validPinEntered); public interface IPinEntryService { bool IsShowingKeypad { get; } /// /// Show the pin entry form. /// /// List of digits 0-9, length 4. /// Message to display to the user on the form. /// Callback to invoke when the pin entry is complete or cancelled. /// True to allow the user to cancel the form. void ShowPinEntry(IList requiredPin, string message, PinEntryCompleteCallback callback, bool allowCancel = true); [Obsolete("blockInput param is deprecated (and ignored), please use overload without it.")] void ShowPinEntry(IList requiredPin, string message, PinEntryCompleteCallback callback, bool blockInput, bool allowCancel); } }