クラス AsReader
java.lang.Object
jp.co.asterisk.asreader.a24d.sdk.AsReader
This class is the root of the SDK.
-
メソッドの概要
修飾子とタイプメソッド説明void
enableAutoLaunchApp
(boolean enable, String aliasName) Enable/Disable the auto launch settings dialog display.Gets BarcodeManager instance.Gets DeviceManager instance.static AsReader
Gets AsReader instance.Gets current LogLevel.Gets SDK version.void
initialize
(android.content.Context context) Initializesvoid
Removes all saved log files.void
setLog
(boolean enable) Sets the flag whether log output is enabled.void
setLogLevel
(LogLevel level) Sets LogLevel.
-
メソッドの詳細
-
getInstance
Gets AsReader instance.- 戻り値:
- AsReader instance
-
getDeviceManager
Gets DeviceManager instance.- 戻り値:
- DeviceManager instance.
-
getBarcodeManager
Gets BarcodeManager instance.- 戻り値:
- BarcodeManager instance.
-
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
Sets LogLevel.- パラメータ:
level
-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
Enable/Disable the auto launch settings dialog display.- パラメータ:
enable
- true : Show dialog when device is connected false : Do not show dialog when device is connectedaliasName
- : Specify the alias for the Activity listed in the Manifest file.
-