EMMspField
Objective-C
@interface EMMspField : NSObject
Swift
class EMMspField : NSObject
Msp Field class
The class represents the MSP field which describes the field information such as field completeness. This class also is a helper class to work with UI components for the partial input from end users.
Since
4.5-
The associated Msp data value of the field
Since
4.5Declaration
Objective-C
@property (nonatomic, strong) id<EMSecureString> value;Swift
var value: (any EMSecureString)! { get set } -
retrieves the missing bytes of a Msp field data, if any
Since
4.5
Declaration
Objective-C
- (NSDictionary *)missingBytes;Swift
func missingBytes() -> [AnyHashable : Any]!Return Value
Return a NSDictionary representing the missing bytes fo the Msp field. Keys are NSNumber representing the position of the missing bytes and values are NSData containing the missing byte value
-
retrieves the missing bytes of a Msp field data, if any
Since
4.5
Declaration
Objective-C
- (NSDictionary *)visibleBytes;Swift
func visibleBytes() -> [AnyHashable : Any]!Return Value
Return a NSDictionary representing the visible bytes fo the Msp field. Keys are NSNumber representing the position of the visible bytes and values are NSData containing the visible byte value
-
retrieves the state for completeness of the Msp field
Since
4.5
Declaration
Objective-C
- (FieldCompleteness)isComplete;Swift
func isComplete() -> FieldCompletenessReturn Value
One of the FieldCompleteness constant
-
Updates the missing bytes with a NSDictionary of new values
Since
4.5
Declaration
Objective-C
- (int)updateMissingBytes:(NSDictionary *)missingBytes;Swift
func updateMissingBytes(_ missingBytes: [AnyHashable : Any]!) -> Int32Parameters
missingBytesNSDictionary representing the bytes which will replace the missing ones. Key are NSNumber representing location of the byte, values are NSData containing the byte to use for replacement.
Return Value
An int representing the success of the operation. 1 means it was successfull, 0 means it failed
EMMspField Class Reference