EMEmvMpmDecoder Protocol Reference

Conforms to NSObject
Declared in EMEmvMpmDecoder.h

Overview

Decoder class providing method to decode a given content of a QR code.

– decode:error: required method

Decodes qr code.

- (nullable id<EMEmvTransactionInfo>)decode:(nonnull NSString *)aContent error:(EMEmvError *_Nullable *_Nullable)anError

Parameters

aContent

content of the QR code as NSString.

anError

NSError if QR code does not have the expected format.

Return Value

Instance of {@code EMEmvTransactionInfo} class with transaction details read from the QR code.

Declared In

EMEmvMpmDecoder.h