EMInputPrimitive Protocol Reference
| Conforms to | EMPrimitive |
|---|---|
| Declared in | EMInputPrimitive.h |
minimumInputLength
required method
Returns the minimum allowed input characters for this input dialog, -1 if there is no minimum or not applicable.
@property (assign, nonatomic, readonly) NSInteger minimumInputLengthReturn Value
Minimum allowed input length.
Declared In
EMInputPrimitive.h
maximumInputLength
required method
Returns the maximum allowed input characters for this input dialog, -1 if there is no maximum or not applicable.
@property (assign, nonatomic, readonly) NSInteger maximumInputLengthReturn Value
Maximum allowed input length.
Declared In
EMInputPrimitive.h
inputFormat
required method
Returns the input format. see EMPrimitiveInputFormat
@property (assign, nonatomic, readonly) EMPrimitiveInputFormat inputFormatReturn Value
The input format for this input dialog primitive.
Declared In
EMInputPrimitive.h
– validateInputData:error:
required method
Check if the given input data is valid for this input dialog
- (BOOL)validateInputData:(id<EMSecureString>)data error:(NSError **)errorParameters
data |
The input data to check. |
|---|---|
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
YES if data valid, NO otherwise.
See Also
Declared In
EMInputPrimitive.h
– assertInputData:
required method
Assert that the given input data is valid for this input dialog.
- (void)assertInputData:(id<EMSecureString>)dataParameters
data |
The input data to check. |
|---|
Exceptions
DsDataFormatException |
If the data is not valid |
|---|
See Also
Declared In
EMInputPrimitive.h