# Print output for @column tags ?> Scanner2Factory | Android Developers

Most visited

Recently visited

Scanner2Factory

public class Scanner2Factory
extends Object

java.lang.Object
   ↳ com.vuzix.sdk.barcode.Scanner2Factory


Summary

Public constructors

Scanner2Factory()

Public methods

static Scanner2 getScanner(Context context, Bundle bundle)

Creates the Scanner engine

static Scanner2 getScanner(Context context)

Creates the Scanner engine

Public constructors

Scanner2Factory

public Scanner2Factory ()

Public methods

getScanner

public static Scanner2 getScanner (Context context, 
                Bundle bundle)

Creates the Scanner engine

Parameters
context Context: Context of the calling activity.

bundle Bundle: Engine specific data

Returns
Scanner2 Scanner2 instance or throws an exception on error

Throws
Exception

getScanner

public static Scanner2 getScanner (Context context)

Creates the Scanner engine

Parameters
context Context: Context of the calling activity.

Returns
Scanner2 Scanner2 instance or throws an exception on error

Throws
Exception