You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/3rd/StompyRobot/SRDebugger/Scripts/Services/IPinEntryService.cs

27 lines
1.1 KiB
C#

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);
}
}