the method AvailableMetadataObjectTypes in the class AVCaptureMetadataOutput looks like it is declared wrongly

Published

in Xamarin for iOS the class AVCaptureMetadataOutput has a method AvailableMetadataObjectTypes which according to the Microsoft docs and assembly is declared as this

public AVMetadataObjectType AvailableMetadataObjectTypes {
    [MethodImpl (MethodImplOptions.NoInlining)]
    get

but the Apple documentation and sample objective C code suggest it should return an NSArray

@property(nonatomic, readonly) NSArray<AVMetadataObjectType> *availableMetadataObjectTypes;

Question which is correct and how would I use this method in C# (xamarin)

As a side question what is the C# equivalent of NSSet.

thanks all

Christian Stœr Arild Andersen

Source: Xamarin.ios Questions

Published
Categorised as Uncategorised Tagged , ,

Answers

Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq