Annotating Extension Functions to more controlled usage

The getFormat() function and Barcode.BarcodeFormat annotation are from the Google MLKit Library. Apologies for not making that clear, I have updated my post :slight_smile:

Basically there is a callback in the MLKit library that returns a Barcode when an image is captured - this Barcode can be queried with the getFormat() method.

I’ll need to check this out, do you have any resources for this area?

Thanks for replying :smiley: