AVRecorder.CurrentQRCode
------------------------

Queries current QRCode.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVRecorder](component_AVRecorder.md) | [8.4](newinversion84.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "AVRecorder.CurrentQRCode"; AVSession ) 

**MBS**( **"AVRecorder.CurrentQRCode";** /\* Queries current QRCode. \*/  
**$AVSession**) /\* The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVSession | The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). | $AVSession |

### Result

Returns text or error.

### Description

Queries current QRCode.  
If you query this, a flag is cleared, which will start again the trigger to call script if new code is detected.  
Returns empty if no QRCode is detected.  
### Examples

Update field with current code:

 Set Field \[ AVRecorder::Barcode ; MBS ("AVRecorder.CurrentQRCode"; AVRecorder::Session ) \]  
### See also

- [AVRecorder.Init](AVRecorderInit.md)

### Release notes

- **Version 8.4**
    - Added [AVRecorder.CurrentQRCode](http://www.mbsplugins.eu/AVRecorderCurrentQRCode.shtml), [AVRecorder.HasQRCode](http://www.mbsplugins.eu/AVRecorderHasQRCode.shtml), [AVRecorder.StartQRCodeDetection](http://www.mbsplugins.eu/AVRecorderStartQRCodeDetection.shtml), [AVRecorder.StopQRCodeDetection](http://www.mbsplugins.eu/AVRecorderStopQRCodeDetection.shtml) functions for live barcode detection on MacOS and iOS.

### Blog Entries

- [MBS FileMaker Plugin, version 8.4pr6](https://www.mbsplugins.de/archive/2018-09-01/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 29th August 2018 , last changed 28th August 2025

  
[AVRecorder.ClosePreview](AVRecorderClosePreview.md) - [AVRecorder.EncoderCount](AVRecorderEncoderCount.md)

[HTML Version](AVRecorderCurrentQRCode.shtml)