Skip to content

BarcodeScannerFormInput Class

  • BarcodeScannerFormInput
  • class Esri::ArcGISRuntime::BarcodeScannerFormInput

    A user interface for a barcode or QR code scanner. More...

    Header: #include <BarcodeScannerFormInput.h>
    Since: Esri::ArcGISRuntime 200.8
    Inherits: Esri::ArcGISRuntime::FormInput

    Public Functions

    virtual ~BarcodeScannerFormInput() override
    quint32 maxLength() const
    quint32 minLength() const

    Detailed Description

    A text value can be entered manually if the client doesn't support scanning or if the barcode or QR code cannot be scanned.

    Member Function Documentation

    [override virtual noexcept] BarcodeScannerFormInput::~BarcodeScannerFormInput()

    Destructor.

    quint32 BarcodeScannerFormInput::maxLength() const

    Defines and returns the maximum number of characters allowed.

    This only applies to string fields. If not supplied, the value is derived from the length property of the referenced field in the service.

    quint32 BarcodeScannerFormInput::minLength() const

    Defines and returns the minimum number of characters allowed.

    This only applies to string fields. If not supplied, the value is 0, meaning there is no minimum constraint.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.