クラス AsReader

java.lang.Object
jp.co.asterisk.asreader.a24d.sdk.AsReader

public class AsReader extends Object
This class is the root of the SDK.
  • メソッドの詳細

    • getInstance

      public static AsReader getInstance()
      Gets AsReader instance.
      戻り値:
      AsReader instance
    • getDeviceManager

      public DeviceManager getDeviceManager()
      Gets DeviceManager instance.
      戻り値:
      DeviceManager instance.
    • getBarcodeManager

      public BarcodeManager getBarcodeManager()
      Gets BarcodeManager instance.
      戻り値:
      BarcodeManager instance.
    • getVersion

      public String getVersion()
      Gets SDK version.
      戻り値:
      SDK version
    • initialize

      public void initialize(android.content.Context context)
      Initializes. ※ Attention : Be sure to initialize it once before using each function the SDK after when first time get a singleton.
      パラメータ:
      context - : Specifies the context of the application.
    • setLogLevel

      public void setLogLevel(LogLevel level)
      Sets LogLevel.
      パラメータ:
      level - LogLevel
    • getLogLevel

      public LogLevel getLogLevel()
      Gets current LogLevel.
      戻り値:
      LogLevel
    • setLog

      public void setLog(boolean enable)
      Sets the flag whether log output is enabled. Log file is output to "/sdcard/Android/data/Package Name/files/Documents/AsReaderLog".
      パラメータ:
      enable - true enables log output; false disables log output
    • removeSDKLog

      public void removeSDKLog()
      Removes all saved log files.
    • enableAutoLaunchApp

      public void enableAutoLaunchApp(boolean enable, String aliasName)
      Enable/Disable the auto launch settings dialog display.
      パラメータ:
      enable - true : Show dialog when device is connected false : Do not show dialog when device is connected
      aliasName - : Specify the alias for the Activity listed in the Manifest file.