FIRVisionBarcodeDetectorOptions


@interface FIRVisionBarcodeDetectorOptions : NSObject

Options for specifying a Barcode detector.

  • The barcode formats detected in an image. Note that the detection time will increase for each additional format that is specified.

    Declaration

    Objective-C

    @property (readonly, nonatomic) FIRVisionBarcodeFormat formats;
  • Initializes an instance that detects all supported barcode formats.

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Return Value

    A new instance of Firebase barcode detector options.

  • Initializes an instance with the given barcode formats to look for.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFormats:(FIRVisionBarcodeFormat)formats;

    Parameters

    formats

    The barcode formats to initialize the barcode detector options.

    Return Value

    A new instance of Firebase barcode detector options.