chore: Rename CodeScanner to CodeScannerOptions in native (#2010)

* chore: Rename `CodeScanner` to `CodeScannerOptions` on native

* chore: Rename `CodeScanner` on iOS

* fix: Unwrap `options`

* Format
This commit is contained in:
Marc Rousavy
2023-10-16 16:56:39 +02:00
committed by GitHub
parent e8ae11e30b
commit 5e20f9c8fa
10 changed files with 31 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
//
// CodeScanner.swift
// CodeScannerOptions.swift
// VisionCamera
//
// Created by Marc Rousavy on 03.10.23.
@@ -9,7 +9,7 @@
import AVFoundation
import Foundation
struct CodeScanner: Equatable {
struct CodeScannerOptions: Equatable {
let codeTypes: [AVMetadataObject.ObjectType]
let interval: Int
let regionOfInterest: CGRect?