Velocity API: Scanner.enable()

Version 2

    Return To Index

    Scanner.enable()

    Overview

    Allows the scanner to be switched on or off, effectively enabling or disabling the trigger.

    Format

     

    Scanner.enable(enableFlag);
    ParameterDescriptionTypeRequired
    enableFlagSet this parameter to true to enable the scanner, or false to disable the scanner.BooleanRequired

     

    ## Example

    /* Disable the scanner 
    */
      
    Scanner.enable(false);