SerializableAuthenticationRequestData

Objective-C

@interface SerializableAuthenticationRequestData
    : NSObject <NSCoding, NSSecureCoding>

Swift

class SerializableAuthenticationRequestData : NSObject, NSCoding, NSSecureCoding

A serializable model object to perform request via APIManager

  • A parsed content of the scanned code

    Declaration

    Objective-C

    @property (nonatomic, readonly) int *_Nonnull parsedContent;

    Swift

    var parsedContent: UnsafeMutablePointer<Int32> { get }
  • A code origin of the scanned code

    Declaration

    Objective-C

    @property (nonatomic, readonly) int *_Nonnull codeOrigin;

    Swift

    var codeOrigin: UnsafeMutablePointer<Int32> { get }
  • A score on blur

    Declaration

    Objective-C

    @property (nonatomic, readonly) double blurScore;

    Swift

    var blurScore: Double { get }
  • A boolen to know scanned code comes from unreadable flow or not

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL comesFromUnreadableFlow;

    Swift

    var comesFromUnreadableFlow: Bool { get }
  • Timestamp of the scan made

    Declaration

    Objective-C

    @property (nonatomic, readonly) double timestamp;

    Swift

    var timestamp: Double { get }
  • Location details of the scan made

    Declaration

    Objective-C

    @property (nonatomic, readonly) int locationPositioning;

    Swift

    var locationPositioning: Int32 { get }
  • Exact location with long and lat of the scan

    Declaration

    Objective-C

    @property (nonatomic, readonly) int *_Nonnull location;

    Swift

    var location: UnsafeMutablePointer<Int32> { get }
  • A image of the secure QR

    Declaration

    Objective-C

    @property (nonatomic, readonly) int *_Nonnull secureGraphicImage;

    Swift

    var secureGraphicImage: UnsafeMutablePointer<Int32> { get }
  • A image of secure code

    Declaration

    Objective-C

    @property (nonatomic, readonly) int *_Nonnull secureCodeImage;

    Swift

    var secureCodeImage: UnsafeMutablePointer<Int32> { get }
  • A image of scanned code

    Declaration

    Objective-C

    @property (nonatomic, readonly) int *_Nonnull image;

    Swift

    var image: UnsafeMutablePointer<Int32> { get }
  • To initialise the model object

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAuthenticationScanCandidate:(id)candidate
                                        comesFromUnreadableFlow:
                                            (BOOL)comesFromUnreadableFlow;

    Swift

    init(authenticationScanCandidate candidate: Any!, comesFromUnreadableFlow: Bool)

    Parameters

    candidate

    a scan candiate for the scan

    comesFromUnreadableFlow

    a boolean to know scan comes from unreadable or not

  • To initialise the model object

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithAuthenticationScanCandidate:(id)candidate
                                   location:(id)location
                          geoLocationMethod:(id)geolocationMethod
                    comesFromUnreadableFlow:(BOOL)comesFromUnreadableFlow;

    Swift

    init(authenticationScanCandidate candidate: Any!, location: Any!, geoLocationMethod geolocationMethod: Any!, comesFromUnreadableFlow: Bool)

    Parameters

    candidate

    a scan candiate for the scan

    location

    Exact location with long and lat of the scan

    geolocationMethod

    Location details of the scan made

    comesFromUnreadableFlow

    a boolean to know scan comes from unreadable or not