SmartScanResult

@interface SmartScanResult : NSObject

This class is used to return the scanned results.

  • A string containing the scanned content.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull content;
  • The type of the result.

    Declaration

    Objective-C

    @property (readonly) enum SmartDecodingTypes type;
  • Subtype of the result

    Declaration

    Objective-C

    @property (readonly) enum SmartDecodingSubTypes subType;
  • The code type description.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull codeDescription;
  • Raw bytes as NSData

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSData *_Nonnull data;
  • Only used in qr code for now. If the warning isn’t nil, there has been an issue while trying to parse the raw data. (probably a decoding issues regarding the standard) Or it might also indicate that there are unprintable controle characters in the results.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull warning;
  • Contains metadata about the result. Depends on the type of code.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary *_Nonnull metadata;