Platforms to show: All Mac Windows Linux Cross-Platform

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
Function: An array of strings identifying the types of metadata objects that can be captured.
Notes: 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.

Feedback, Comments & Corrections

AVCaptureMetadataOutputMBS.Constructor
Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 21.2 ❌ No ❌ No ❌ No ✅ Yes iOS only
Function: The constructor.

Feedback, Comments & Corrections

AVCaptureMetadataOutputMBS.EnableEvents
Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 21.2 ❌ No ❌ No ❌ No ✅ Yes iOS only
Function: Enables events, if you use addHandler to connect them.

Feedback, Comments & Corrections

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
Function: An array of strings identifying the types of metadata objects to process.
Notes:
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.

Feedback, Comments & Corrections

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
Function: Sets the array of strings identifying the types of metadata objects to process.
Example:
Dim o As New AVCaptureMetadataOutputMBS
Dim types() As String

Dim availableTypes() As String = o.availableMetadataObjectTypes

// check if we can do EAN 13 and then add it
If availableTypes.IndexOf(AVMetadataObjectMBS.AVMetadataObjectTypeEAN13Code) >= 0 Then
types.append(AVMetadataObjectMBS.AVMetadataObjectTypeEAN13Code)
End If

o.SetMetadataObjectTypes types
Notes:
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.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS AVFoundation Plugin.

The biggest plugin in space...




Links
MBS Xojo Chart Plugins

Start Chat