Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVCaptureMetadataOutputMBS class.
AVCaptureMetadataOutputMBS.availableMetadataObjectTypes as string()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | AVFoundation | MBS AVFoundation Plugin | 21.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Each string in the array corresponds to a possible value in the type property of the AVMetadataObjectMBS objects reported by the receiver. The available types are dependent on the capabilities of the AVCaptureInputPortMBS to which the receiver’s connection is attached.
Some examples using this method:
AVCaptureMetadataOutputMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | AVFoundation | MBS AVFoundation Plugin | 21.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
AVCaptureMetadataOutputMBS.EnableEvents
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | AVFoundation | MBS AVFoundation Plugin | 21.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
AVCaptureMetadataOutputMBS.metadataObjectTypes as String()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | AVFoundation | MBS AVFoundation Plugin | 21.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This property is used to filter the metadata objects reported by the receiver. Only metadata objects whose type matches one of the strings in this property are forwarded to the captureOutput:didOutputMetadataObjects event for processing.
When assigning a new array to this property, each of the type strings must be present in the array returned by the availableMetadataObjectTypes property; otherwise, the receiver raises an NSExceptionMBS.
The default is an empty array, and as a result, no metadata objects are forwarded to the event. The same result can be achieved by setting the property to nil. This default behavior maximizes both performance and battery life.
AVCaptureMetadataOutputMBS.SetMetadataObjectTypes(items() as String = nil)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | AVFoundation | MBS AVFoundation Plugin | 21.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This property is used to filter the metadata objects reported by the receiver. Only metadata objects whose type matches one of the strings in this property are forwarded to the captureOutput:didOutputMetadataObjects event for processing.
When assigning a new array to this property, each of the type strings must be present in the array returned by the availableMetadataObjectTypes property; otherwise, the receiver raises an NSExceptionMBS.
The default is an empty array, and as a result, no metadata objects are forwarded to the event. The same result can be achieved by setting the property to nil. This default behavior maximizes both performance and battery life.
Some examples using this method:
The items on this page are in the following plugins: MBS AVFoundation Plugin.
