Class AmountInputService


  • @Singleton
    public final class AmountInputService
    extends java.lang.Object
    Owns one numeric prompt from opening action through native input submission.
    • Method Detail

      • begin

        public AmountInputService.Operation begin​(OperationOwner owner,
                                                  int amount,
                                                  int mode,
                                                  java.lang.Runnable open,
                                                  java.util.function.BooleanSupplier context,
                                                  java.util.function.Predicate<java.lang.String> prompt)
        No queue: contention rejects before the opening action. Input closure is not server success.
      • submitCurrent

        public void submitCurrent​(int amount)
      • advance

        public void advance()
      • cancelSession

        public void cancelSession()