public LockScreenSetupController(ILockScreenDelegate setupDelegate)
     : base(false, setupDelegate)
 {
     this.setupDelegate = setupDelegate;
     this.EnteredPin    = string.Empty;
     this.lockScreenView.DetailLabel.Text = "Please enter new pin.";
 }
 public LockScreenController(ILockScreenDelegate lockDelegate)
     : base(false, lockDelegate)
 {
     this.lockDelegate        = lockDelegate;
     RemainingAttempts        = -1;
     LockedOutString          = "You have been locked out.".Translate();
     PluralAttemptsLeftString = "attempts left".Translate();
     SingleAttempLeftString   = "attmpt left".Translate();
 }
 public void Initialize(int attemptsAllowed, ILockScreenDelegate locker,
                        UIColor backgroundColor)
 {
     Initialize(attemptsAllowed, locker);
     this.backgroundColor = backgroundColor;
 }
 public void Initialize(int attemptsAllowed, ILockScreenDelegate locker)
 {
     AttemptsAllowed = attemptsAllowed;
     Locker          = locker;
 }
예제 #5
0
 public BaseLockScreenController(bool complexPin, ILockScreenDelegate lockDelegate) : base()
 {
     this.isComplexPin = complexPin;
     this.lockDelegate = lockDelegate;
 }