Class VNDetectBarcodesRequest

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class VNDetectBarcodesRequest
extends VNImageBasedRequest
Since:
Available in iOS 11.0 and later.
  • Field Details

  • Constructor Details

    • VNDetectBarcodesRequest

      public VNDetectBarcodesRequest()
    • VNDetectBarcodesRequest

      protected VNDetectBarcodesRequest​(NSObject.Handle h, long handle)
    • VNDetectBarcodesRequest

      protected VNDetectBarcodesRequest​(NSObject.SkipInit skipInit)
    • VNDetectBarcodesRequest

      public VNDetectBarcodesRequest​(VoidBlock2<VNRequest,​NSError> completionHandler)
  • Method Details

    • getSupportedSymbologies

      @Deprecated public static NSArray<NSString> getSupportedSymbologies()
      Deprecated.
      Deprecated in iOS 15.0. Use -supportedSymbologiesAndReturnError:
      Since:
      Available in iOS 11.0 and later.
    • getSymbologies

      public NSArray<NSString> getSymbologies()
    • setSymbologies

      public void setSymbologies​(NSArray<NSString> v)
    • getResults

      public NSArray<VNBarcodeObservation> getResults()
      Overrides:
      getResults in class VNRequest
    • getSupportedRevisions

      public static NSIndexSet getSupportedRevisions()
      Since:
      Available in iOS 12.0 and later.
    • getDefaultRevision

      public static long getDefaultRevision()
      Since:
      Available in iOS 12.0 and later.
    • getCurrentRevision

      public static long getCurrentRevision()
      Since:
      Available in iOS 12.0 and later.
    • supportedSymbologiesAndReturnError

      public NSArray<NSString> supportedSymbologiesAndReturnError​(NSError.NSErrorPtr error)
      Since:
      Available in iOS 15.0 and later.