Show:

Q.Camera Class

Class to handle with cameras.

Item Index

Methods

Methods

cordova

(
  • audio
  • callback
  • options
)
static

Using to scan QR codes using QRScanner Cordova plugin

Parameters:

  • audio Object

    Q.audio with loaded audio file to play when QR code found

  • callback Function

    function to execute when QR code found and provide text as argument

  • options Object

    object with options to replace default

instascan

(
  • audio
  • callback
  • options
)
static

Using to scan QR code with first camera found on device (using Instascan library dynamically loaded)

Parameters:

  • audio Object

    Q.audio with loaded audio file to play when QR code found

  • callback Function

    function to execute when QR code found and provide text as argument

  • options Object

    object with options to replace default

qr

(
  • callback
  • options
)
static

Method - interface for QR code scan action. It decide which plugin or library to use and handle callback (when QR code found) to mark participants as "checked".

Parameters:

  • callback Function

    Executed when QR code found with text of this code in arguments

  • options Object

    Object with options to replace default