EMSecureInputUiOkButtonBehavior Constants Reference
| Declared in | EMSecureInputBuilderV2.h |
|---|---|
| Availability | 4.4 |
EMSecureInputUiOkButtonBehavior
Secure Input UI OK button behavior.
Definition
typedef NS_ENUM(NSInteger, EMSecureInputUiOkButtonBehavior ) {
EMSecureInputUiOkButtonNone = 0,
EMSecureInputUiOkButtonAutomaticallyEnabled = 1,
EMSecureInputUiOkButtonAlwaysEnabled = 2,
EMSecureInputUiOkButtonCustom = 3,
EMSecureInputUiOkButtonNoneDisabled = 4,
};
Constants
EMSecureInputUiOkButtonNone-
OK button is not visible on screen.
OK button is automatically triggered when the input length reaches minimum/maximum input length.
Runtime exception is thrown if the minimum input length does not equal to maximum input length.
Declared In
EMSecureInputBuilderV2.h. EMSecureInputUiOkButtonAutomaticallyEnabled-
OK button is visible on screen. OK button is grayed out (disabled state) by default.
OK button is automatically enabled (normal state) when the input length reaches minimum input length.
Declared In
EMSecureInputBuilderV2.h. EMSecureInputUiOkButtonAlwaysEnabled-
OK button is always visible on screen.
User have to manually trigger the OK button.
Declared In
EMSecureInputBuilderV2.h. EMSecureInputUiOkButtonCustom-
OK button is always visible on screen.
OK button is automatically triggered when the input length reaches minimum/maximum input length. To override the OK button behavior, do set the [EMSecureInputUi customUiDelegate] and handle the [EMSecureInputCustomUiDelegate secureInputUiOkButtonPressed:] callback respectively.
Runtime exception is thrown if the minimum input length does not equal to maximum input length.
Declared In
EMSecureInputBuilderV2.h. EMSecureInputUiOkButtonNoneDisabled-
OK button does not exist.
No automatic simulation of OK button is done. Ok button is never automatically simulated, everything needs to be done programmatically both in single input and double input mode.
Declared In
EMSecureInputBuilderV2.h.
Availability
4.4
Declared In
EMSecureInputBuilderV2.h