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