EMEmvTemplate Protocol Reference

Conforms to EMEmvDataObject
Declared in EMEmvTemplate.h

Overview

Implementation of template data object type as defined by EMV specification. Template data object contains an inner structure of other templates or primitive data objects which could be retrieved by {@link EMEmvTemplate#dataObject} method.

– dataObjectsWithinIdRange:idMaxInclusive: required method

Provides an unmodifiable list of data objects within a range of given IDs.

- (NSArray<id<EMEmvDataObject> > *)dataObjectsWithinIdRange:(NSInteger)anIdMinInclusive idMaxInclusive:(NSInteger)anIdMaxInlcusive

Parameters

anIdMinInclusive

Minimum ID value (inclusive) for data objects to be provided.

anIdMaxInlcusive

Maximum ID value (inclusive) for data objects to be provided.

Return Value

an unmodifiable list of data objects within a range of given IDs.

Declared In

EMEmvTemplate.h

– dataObject: required method

ID of the data object to be retrieved from the inner list of data objects.

- (id<EMEmvDataObject>)dataObject:(Byte)anId

Parameters

anId

ID of the data object to be retrieved from the inner list of data objects.

Return Value

inner {@link EMEmvDataObject} with specified ID or null if not found.

Declared In

EMEmvTemplate.h