docs: Update FrameProcessorPlugin's init method callsites (#2385)

* fix: Remove `FrameProcessorPlugin` init method

It was unused.

* fix: Update usage

* Revert "fix: Update usage"

This reverts commit 523f0606808afee998922241f01adf7fb40b0c7b.

* Revert "fix: Remove `FrameProcessorPlugin` init method"

This reverts commit 9025476a842c553d233de9c14f56d422270e98ef.

* Update FRAME_PROCESSOR_CREATE_PLUGIN_IOS.mdx
This commit is contained in:
Marc Rousavy 2024-01-12 16:11:43 +01:00 committed by GitHub
parent b9a69a20e5
commit 84598c24f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,8 +92,8 @@ import VisionCamera
@objc(FaceDetectorFrameProcessorPlugin)
public class FaceDetectorFrameProcessorPlugin: FrameProcessorPlugin {
public override init(options: [AnyHashable : Any]! = [:]) {
super.init(options: options)
public override init(proxy: VisionCameraProxyHolder, options: [AnyHashable : Any]! = [:]) {
super.init(proxy: proxy, options: options)
}
public override func callback(_ frame: Frame, withArguments arguments: [AnyHashable : Any]?) -> Any {