EMMspField Class Reference

Inherits from NSObject
Declared in EMMspField.h

Overview

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.

  value

The associated Msp data value of the field

@property (strong, nonatomic) id<EMSecureString> value

Availability

4.5

Declared In

EMMspField.h

– missingBytes

Retreives the missing bytes of a Msp field data, if any

- (NSDictionary *)missingBytes

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

Availability

4.5

Declared In

EMMspField.h

– visibleBytes

Retreives the missing bytes of a Msp field data, if any

- (NSDictionary *)visibleBytes

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

Availability

4.5

Declared In

EMMspField.h

– isComplete

Retreives the state for completeness of the Msp field

- (FieldCompleteness)isComplete

Return Value

One of the FieldCompleteness constant

Availability

4.5

Declared In

EMMspField.h

– updateMissingBytes:

Updates the missing bytes with a NSDictionary of new values

- (int)updateMissingBytes:(NSDictionary *)missingBytes

Parameters

missingBytes

NSDictionary 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

Availability

4.5

Declared In

EMMspField.h