EMEmvDataObject
Objective-C
@protocol EMEmvDataObject
Swift
protocol EMEmvDataObject
Data object class providing the common interface.
-
Provides ID of the data object.
Declaration
Objective-C
- (Byte)identifier;Swift
func identifier() -> UInt8Return Value
Returns ID of the data object as byte.
-
Provides type of the data object.
Return Value
Returns type of the data object
-
Provides value of the
EMEmvPrimitivedata objects.Declaration
Objective-C
- (NSString *)value;Swift
func value() -> String!Return Value
Returns value of the data object as String if available. Null is provided for
EMEmvTemplatedata objects for which the getDataObjects method should be used instead. -
Provides inner structure for
EMEmvTemplatedata objects.Declaration
Objective-C
- (NSArray<id<EMEmvDataObject>> *)dataObjects;Swift
func dataObjects() -> [any EMEmvDataObject]!Return Value
Returns a list of inner data objects if any. Empty list is provided for
EMEmvPrimitivedata objects.
EMEmvDataObject Protocol Reference