Classes

The following classes are available globally.

  • A model class which helps to get all the scanned QR details and which can have all the details about the scanned QR code. After the scan is success, this class will help to trigger the request to the backend server

    See more

    Declaration

    Objective-C

    @interface STAuthRequest : NSObject <NSCoding, NSCopying>

    Swift

    class STAuthRequest : NSObject, NSCoding, NSCopying
  • A model class which helps to get all the scan details from back end server response and which can have all the details about the scan

    See more

    Declaration

    Objective-C

    @interface STAuthResponse : NSObject <NSCoding, NSCopying>

    Swift

    class STAuthResponse : NSObject, NSCoding, NSCopying
  • A model class which represents the brand details and to represent the details about brand which was associcated to the scanned QR code

    See more

    Declaration

    Objective-C

    @interface STBrand : NSObject <NSCoding, NSCopying>

    Swift

    class STBrand : NSObject, NSCoding, NSCopying
  • A model class which represents the product details and to represent the details about product which was associcated to the scanned QR code

    See more

    Declaration

    Objective-C

    @interface STProduct : NSObject <NSCoding, NSCopying>

    Swift

    class STProduct : NSObject, NSCoding, NSCopying
  • The STCameraManager is a single point of the ScanTrust Processing and it does all the heavy lifting, setting up the camera and the preview, running the image processing on the incoming camera frames and reporting various outcomes

    See more

    Declaration

    Objective-C

    @interface STCameraManager : NSObject

    Swift

    class STCameraManager : NSObject
  • The STLimitedCameraManager does the same camera and preview view setup as the STCameraManager but does not perform the image and frame processing required for the ScanTrust authentication. It is limited to checking the ownership of the code based on its content.

    See more

    Declaration

    Objective-C

    @interface STLimitedCameraManager : NSObject

    Swift

    class STLimitedCameraManager : NSObject
  • The scan result from ScanTrust limited camera manager represents the processed frame result

    See more

    Declaration

    Objective-C

    @interface STScanResult : NSObject

    Swift

    class STScanResult : NSObject
  • A subclass of UIView to represent the camera preview and extendes from UIView Which hold the preview layer to customize and view the camera frames

    See more

    Declaration

    Objective-C

    @interface STPreviewView

    Swift

    class STPreviewView