Skip to main content

displayQRCodes

Description

Enables or disables QR code display in overlays and panels.

Type

boolean

Usage

m.lib.displayQRCodes = true  ' Enable QR codes
m.lib.displayQRCodes = false ' Disable QR codes

Example

sub onLibraryLoadStatusChanged()
if m.componentLibrary.loadStatus = "ready"
m.lib = createObject("roSGNode", "MaestroPanelLib:MaestroPanel")

' Enable QR codes
m.lib.displayQRCodes = true

m.lib.config = {
siteID: "your-site-id",
useProdEnv: true
}

m.top.appendChild(m.lib)
end if
end sub

Best Practices

  • Set this field before setting the config
  • Consider user preferences when enabling/disabling QR codes
  • QR codes can be useful for cross-device interactions