Other Types

  • Readers are a family of classes with a synchronous interface for detection, meant for custom or offline/not realtime uses. DMSReader cannot be instantiated directly. Instead use one of the subclasses.

    Declaration

    Objective-C

    
    @interface DMSReader : NSObject

    Swift

    class Reader : NSObject
  • Capture readers are a family of classes meant to be used directly with AVFoundation capture trees. DMSCaptureReader cannot be instantiated directly. Instead use one of the subclasses.

    See more

    Declaration

    Objective-C

    
    @interface DMSCaptureReader : NSObject

    Swift

    class CaptureReader : NSObject
  • The ReaderResult class wraps data that is returned from a Reader class. This includes the payloads, which represent each different symbol found in the processed image frame. A ReaderResult may contain some or no payloads. In addition, a ReaderResult may contain additional metadata that is specific to the detection operation, such as timing information. A ReaderResult may asynchrounously add more Payloads after it’s been returned from a reader. Payloads that can be found locally on the device will be immediately available, while payloads that require additional resources such as cloud resources might be added asynchronously. The deferredPayloadResultsQueue contains an operation for each potential payload that is still being search for in the frame. If you would like to synchronize against any potential payloads that are still being processed, there are several options.

    • The waitForAllDeferredPayloads option will pause the current thread and continue execution once the remaining potential payloads have been processed.
    • The deferredPayloadResultsQueue that will contain an operation for each potential new payload, and can be inspected or have additional task dependencies added by a developer.
    • The payloads property is KVO compliant, so changes to the payloads can be observed.
    See more

    Declaration

    Objective-C

    
    @interface DMSReaderResult : NSObject

    Swift

    class ReaderResult : NSObject
  • The license manager provides a global place to provide DMSDK your API key. Setting the @link APIKey @/link property will make that API key available to all classes that normally expect a key. This includes classes like @link DMSResolver @/link and @link DMSVideoCaptureReader @/link.

    See more

    Declaration

    Objective-C

    
    @interface DMSLicenseManager : NSObject

    Swift

    class LicenseManager : NSObject