2. メソッド一覧¶
2.1. getPlatformVersion¶
プラットフォームのバージョンを取得します。
Future<string?> getPlatformVersion()
戻り値¶
型 |
説明 |
Future<string?> |
プラットフォームのバージョン |
2.2. getSDKVersion¶
SDKのバージョンを取得します。
Future<string?> getSDKVersion()
戻り値¶
型 |
説明 |
Future<string?> |
SDKのバージョン |
2.3. showPrintNSLog¶
SDK Logを出力するかどうかを設定します。
Future<void> showPrintNSLog(bool isShow) async
パラメータ¶
引数名 |
型 |
説明 |
isShow |
bool |
Logを出力するかどうか |
2.4. getReaderInfo¶
AsReaderのデータ情報を取得します。
実行後に、コールバックメソッドREADER_INFO_RECEIVEDでAsReader のデータ情報を受信します。
Future<bool> getReaderInfo(int infoType)
パラメータ¶
引数名 |
型 |
説明 |
infoType |
int |
データタイプ
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.5. getCurrentBattery¶
AsReaderのバッテリー残量を取得します。
実行後に、コールバックメソッドBATTERY_RECEIVEDでAsReaderのバッテリー残量を受信します。
Future<int> getCurrentBattery()
戻り値¶
型 |
説明 |
Future<int> |
バッテリーの残量 |
2.6. setTriggerMode¶
AsReaderのトリガーモードを設定します。
Future<bool> setTriggerMode(bool isDefault)
パラメータ¶
引数名 |
型 |
説明 |
isDefault |
bool |
true:トリガーキーでデフォルト動作を実行する(スキャン)
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.7. setBeep¶
AsReaderのビープ音、バイブレーション、LED、エイミングを設定します。
実行後に、コールバックメソッドDID_SET_BEEPでAsReaderのビープ音、LED、エイミングの設定結果を受信します。
Future<bool> setBeep(bool isBeep,bool vibration,bool
batteryGaugeLed,bool barcodeAimer)
パラメータ¶
引数名 |
型 |
説明 |
isBeep |
bool |
ビープ音のオン/オフ
|
vibration |
bool |
バイブレーションのオン/オフ
|
batteryGaugeLed |
bool |
LEDのオン/オフ
|
barcodeAimer |
bool |
エイミングのオン/オフ
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.8. setBeepIncludePowerOnBeep¶
AsReaderのビープ音、バイブレーション、LED、エイミング、パワーオンビープ音を設定します。
Future<bool> setBeepIncludePowerOnBeep(bool isBeep,bool
vibration,bool batteryGaugeLed,bool barcodeAimer,bool barcodePowerOnBeep)
パラメータ¶
引数名 |
型 |
説明 |
isBeep |
bool |
ビープ音のオン/オフ
|
vibration |
bool |
バイブレーションのオン/オフ
|
batteryGaugeLed |
bool |
LEDのオン/オフ
|
barcodeAimer |
bool |
エイミングのオン/オフ
|
barcodePowerOnBeep |
bool |
パワーオンビープ音のオン/オフ
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.9. setReaderPower¶
AsReaderをパワーオンにするのと同時にビープ音、バイブ、LED、エイミング、パワーオンビープ音を設定します。
実行後に、コールバックメソッドCONNECTED_STATUSでAsReaderの接続ステータスを受信、POWER_ON_OFFでAsReaderの接続ステータスとハードウェアステータスを受信します。
Future<int> setReaderPower(bool isOn,bool beep,bool vibration,bool led,bool illumination,bool connectedBeep,int mode)
パラメータ¶
引数名 |
型 |
説明 |
isOn |
bool |
電源オン/オフ
|
beep |
bool |
ビープ音のオン/オフ
|
vibration |
bool |
バイブレーションのオン/オフ
|
led |
bool |
LEDのオン/オフ
|
illumination |
bool |
エイミングのオン/オフ
|
connectedBeep |
bool |
パワーオンビープ音のオン/オフ
|
mode |
int |
AsReaderタイプ
|
戻り値¶
型 |
説明 |
Future<int> |
0:コマンド送信に失敗
|
2.10. setTagCount¶
スキャンされたRFタグのカウント条件を設定します。
Future<void> setTagCount(int mtnu,int mtime,int repeatCycle) async
パラメータ¶
引数名 |
型 |
説明 |
引数名mtnu |
型int |
読み取るRFタグの最大数 |
引数名mtime |
型int |
読み取りの最大時間 |
引数名repeatCycle |
型int |
読み取りの繰り返し回数 |
2.11. setChargingControl¶
MagconnケーブルでAsReaderに充電する際に、スマートフォンにも同時に充電するかどうかを設定します。
Future<void> setChargingControl(bool isOn)
パラメータ¶
引数名 |
型 |
説明 |
isOn |
bool |
充電の設定
|
2.12. getDelayDisconnectOnBackground¶
アプリをバックグラウンドにしてから、AsReaderとの接続が切断されるまでの時間を取得します。
Future<double> getDelayDisconnectOnBackground()
戻り値¶
型 |
説明 |
Future<double> |
アプリをバックグラウンドにしてから、切断されるまでの時間 |
2.13. isOpened¶
AsReaderの接続ステータスを取得します。
Future<bool> isOpened()
戻り値¶
型 |
説明 |
Future<bool> |
true:接続中
|
2.14. setStopTagNum¶
RFタグの読取停止条件を設定します。
Future<bool> setStopTagNum(int maxTags,int maxTime,int repeatCycle)
パラメータ¶
引数名 |
型 |
説明 |
maxTags |
int |
読み取るRFタグの最大数 |
maxTime |
int |
読み取りの最大時間 |
repeatCycle |
int |
読み取りの繰り返し回数 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.15. getStopCondition¶
StopConditionの値を取得します。
実行後に、コールバックメソッドSTOP_CONDITIONS_RECEIVEDでStopConditionの値を受信します。
Future<bool> getStopCondition()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.16. reset¶
AsReaderをリセットします。
Future<bool> reset()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.17. getAutoLaunch¶
AsReaderに接続時に、アプリの自動起動ステータスを取得します。(M24D専用)
実行後に、コールバックメソッドRECEIVED_GET_AUTO_LAUNCHでアプリの自動起動ステータスを受信します。
Future<bool> getAutoLaunch()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.18. setAutoLaunch¶
AsReaderに接続時に、デモアプリは自動起動するかどうかを設定します。(M24D専用)
Future<bool> setAutoLaunch(bool enable,String bundleId)
パラメータ¶
引数名 |
型 |
説明 |
引数名enable |
型bool |
アプリの自動起動
|
引数名bundleId |
型String |
バンドルID |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.19. setSleepBeep¶
AsReaderの自動スリープ機能を設定します。(M24D専用)
実行後に、コールバックメソッドRECEIVED_SLEEP_BEEPでAsReaderの自動スリープ機能の設定結果を受信します。
Future<bool> setSleepBeep(bool isOn)
パラメータ¶
引数名 |
型 |
説明 |
isOn |
bool |
true:オン
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.20. setSleepTime¶
AsReaderの自動スリープ時間を設定します。(M24D専用)
実行後に、コールバックメソッドRECEIVED_SLEEP_BEEPでAsReaderの自動スリープ時間の設定結果を受信します。
Future<bool> setSleepTime(int time)
パラメータ¶
引数名 |
型 |
説明 |
time |
int |
スリープ時間 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.21. getSleepTime¶
AsReaderの自動スリープ時間を取得します。(M24D専用)
Future<bool> getSleepTime()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.22. startBleScan¶
Bluetoothデバイスの検索を開始します。
実行後に、コールバックメソッドSCAN_BLE_STATUSでBluetoothデバイスの検索結果を受信し、SCANING_BLE_DEVICEでBluetooth名の検索結果を受信します。
Future<bool> startBleScan()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.23. stopBleScan¶
Bluetoothデバイスの検索を停止します。
Future<void> stopBleScan()
2.24. disConnectBLE¶
Bluetoothデバイスとの接続を切断します。
Future<bool> disConnectBLE()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.25. connectBLE¶
Bluetoothデバイスに接続します。
Future<bool> connectBLE(String deviceName)
パラメータ¶
引数名 |
型 |
説明 |
deviceName |
String |
iOS端末と接続したBluetoothデバイス名 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.26. getSleepTimeForBLEDevice¶
Bluetoothデバイスのスリープ時間を取得します。
実行後に、コールバックメソッドRECEIVED_SLEEP_TIME_AND_ISACK、RECEIVED_SLEEP_TIMEで取得/設定したBluetoothデバイスのスリープ時間を受信します。
Future<int> getSleepTimeForBLEDevice()
戻り値¶
型 |
説明 |
Future<int> |
メソッドの実行結果
|
2.27. setSleepTimeForBLEDeviceType¶
Bluetoothデバイスのスリープ時間を設定します。
実行後に、コールバックメソッドRECEIVED_SLEEP_TIME_AND_ISACK、RECEIVED_SLEEP_TIMEで取得/設定したBluetoothデバイスのスリープ時間を受信します。
Future<int> setSleepTimeForBLEDeviceType(int min,int type)
パラメータ¶
引数名 |
型 |
説明 |
min |
int |
Bluetoothデバイスのスリープ時間 |
type |
int |
保存方法 |
戻り値¶
型 |
説明 |
Future<int> |
メソッドの実行結果
|
2.28. startBarcodeScan¶
バーコードのスキャンを開始します。
実行後に、コールバックメソッドRECEIVED_SCAN_DATAでスキャンされたバーコードデータを受信、RECEIVED_SCAN_DATA_AND_DATA_TYPEでスキャンされたバーコードデータとデータタイプを受信します。
Future<bool> startBarcodeScan(int numberOfTags,int readUntilInSec)
パラメータ¶
引数名 |
型 |
説明 |
numberOfTags |
int |
読取バーコードの最大数 |
readUntilInSec |
int |
一回に読取可能な最大時間 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.29. stopBarcodeScan¶
バーコードスキャンを停止します。
Future<bool> stopBarcodeScan()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.30. doFactoryReset¶
バーコードモジュールを工場出荷時の設定に戻します。
Future<bool> doFactoryReset()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.31. setCustomPrefix¶
全てのタイプのバーコードに同じプレフィックスを設定します。
Future<bool> setCustomPrefix(String prefix)
パラメータ¶
引数名 |
型 |
説明 |
prefix |
String |
プレフィックスの文字列 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.32. setDisableCustomPrefix¶
setCustomPrefixで設定したプレフィックスを削除します。
Future<bool> setDisableCustomPrefix()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.33. setCustomSuffix¶
全てのタイプのバーコードに同じサフィックスを設定します。
Future<bool> setCustomSuffix(String suffix)
パラメータ¶
引数名 |
型 |
説明 |
suffix |
String |
サフィックス文字列 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.34. setDisableCustomSuffix¶
setCustomSuffixで指定したサフィックスを削除します。
Future<bool> setDisableCustomSuffix()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.35. setSymbologyPrefix¶
バーコードタイプによって、各バーコードタイプに相応のプレフィックスを設定します。
プレフィックスの一覧および対応するバーコードタイプは、
バーコード設定マニュアルの「5.1 シンボル表」を参照してください。
Future<bool> setSymbologyPrefix()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.36. setDisableSymbologyPrefix¶
setSymbologyPrefixで指定したプレフィックスを削除します。
Future<bool> setDisableSymbologyPrefix()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.37. setCodeID¶
CodeIDタイプを設定します。(M24D専用)
Future<bool> setCodeID(int type,bool isBeepOn)
パラメータ¶
引数名 |
型 |
説明 |
type |
int |
0:None、1:Aim、2:Symbol |
isBeepOn |
bool |
true:オン
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.38. setOCRType¶
OCRのタイプとオン/オフを設定します。(M24D専用)
Future<bool> setOCRType(int type,bool isBeepOn)
パラメータ¶
引数名 |
型 |
説明 |
type |
int |
0:NONE、1:A、2:B、3:AB |
isBeepOn |
bool |
true:オン
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.39. setAndroidHIDEnable¶
Android HIDモードをオンにするかどうかを設定します。(M24D専用)
Future<bool> setAndroidHIDEnable(int isOn)
パラメータ¶
引数名 |
型 |
説明 |
isOn |
int |
1:オン
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.40. setiOSHIDEnable¶
iOS HIDモードをオンにするかどうかを設定します。(M24D専用)
Future<bool> setiOSHIDEnable(int isOn)
パラメータ¶
引数名 |
型 |
説明 |
isOn |
int |
1:オン
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.41. setPresentationMode¶
プレゼンテーションモードのオン/オフを設定します。(M24D専用)
Future<bool> setPresentationMode(bool isOn,bool isBeepOn)
パラメータ¶
引数名 |
型 |
説明 |
isOn |
bool |
プレゼンテーションモードのステータス
|
isBeepOn |
bool |
1:オン
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.42. getCodeID¶
CodeIDを取得します。(M24D専用)
実行後に、コールバックメソッドRECEIVED_CODE_IDでCodeIDを受信します。
Future<bool> getCodeID()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.43. getHID¶
HIDモードのステータスを取得します。(M24D専用)
実行後に、コールバックメソッドRECEIVED_HIDでHIDモードのステータスを受信します。
Future<bool> getHID()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.44. getSymbologies¶
バーコードタイプの読取ステータスを取得します。(M24D専用)
実行後に、コールバックメソッドRECEIVED_SYMBOLOGIESでバーコードタイプの読取ステータスを受信します。
Future<bool> getSymbologies()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.45. setSsiParamWithData¶
SSIパラメータを設定します。(M24D専用)
Future<bool> setSsiParamWithData(Uint8List symbolData,bool beepOn)
パラメータ¶
引数名 |
型 |
説明 |
symbolData |
Uint8List |
データ |
beepOn |
bool |
true:オン
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.46. setSsiParamWithDictionary¶
SSIパラメータを設定します。(M24D専用)
実行後に、コールバックメソッドRECEIVED_BARCODE_SET_SSI_SUCCESSでSsiパラメータの設定結果を受信します。
Future<bool> setSsiParamWithDictionary(Map symbologies,bool beepOn)
パラメータ¶
引数名 |
型 |
説明 |
symbologies |
Map |
データ |
beepOn |
bool |
true:オン
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.47. getPresentationMode¶
プレゼンテーションモードのステータスを取得します。(M24D専用)
実行後に、コールバックメソッドRECEIVED_PRESENTATION_MODEでプレゼンテーションモードのステータスを受信します。
Future<bool> getPresentationMode()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.48. getSecurity¶
バーコードのセキュリティレベルを取得します。(M24D専用)
実行後に、コールバックメソッドRECEIVED_BARCODE_SECURITYでバーコードのセキュリティレベルを受信します。
Future<bool> getSecurity()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.49. startScan¶
RFタグの読み取りを開始します。
実行後に、コールバックメソッドRECEIVED_SCAN_DATAでスキャンされたデータを受信、RECEIVED_SCAN_DATA_AND_DATA_TYPEでデータとデータタイプを受信、
PC_EPC_RECEIVEDでRFタグのEPCデータを受信します。
Future<bool> startScan(int numberOfTags,int readUntilInSec,int repeatCycle)
パラメータ¶
引数名 |
型 |
説明 |
numberOfTags |
int |
読み取るRFタグの最大数 |
readUntilInSec |
int |
読み取りの最大時間 |
repeatCycle |
int |
読み取りの繰り返し回数 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.50. stopRfidScan¶
RFタグの読み取りを停止します。
Future<bool> stopRfidScan()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.52. startReadTagAndTidWithTagNum¶
AsReaderはRFタグを読み取る際に、TID機能をオンにします。
実行後に、コールバックメソッドEPC_RECEIVED_AND_TIDでRFタグのEPCとTIDデータを受信します。
Future<bool> startReadTagAndTidWithTagNum(int maxTags,int maxTime, int repeatCycle)
パラメータ¶
引数名 |
型 |
説明 |
maxTags |
int |
読み取るRFタグの最大数 |
maxTime |
int |
読み取りの最大時間 |
repeatCycle |
int |
読み取りの繰り返し回数 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.54. getSelectParameter¶
AsReaderのselect機能のパラメータを取得します。
実行後に、コールバックメソッドSELECT_PARAM_RECEIVEDでselectパラメータの取得結果を受信します。
Future<bool> getSelectParameter()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.55. setSelectParameter¶
RFタグを読み取る際のフィルター機能を設定します。
Future<bool> setSelectParameter(int target,int action,int memoryBank,int pointer, int length,int truncate,Uint8List mask)
パラメータ¶
引数名 |
型 |
説明 |
target |
int |
session:S0: 000、S1:001、S2:010、S3:011、SL:100 |
action |
int |
参考標準:ISO18000-6C |
memoryBank |
int |
メモリバンク:RFU:00、EPC:01、TID:10、User:11¥``` |
pointer |
int |
スタートアドレス |
length |
int |
データの長さ |
truncate |
int |
フィルターされたデータを切り取るかどうか:
|
mask |
Uint8List |
フィルターデータ |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.56. getChannel¶
ホッピングではないモード時に、RFチャンネルを取得します。
実行後に、コールバックメソッドCHANNEL_RECEIVED_AND_CHANNEL_OFFSETでRFチャンネルの取得結果を受信します。
Future<bool> getChannel()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.57. setReadTime¶
読取時間とアイドル時間を設定します。
実行後に、コールバックメソッドON_OFF_TIME_CHANGEDで読取時間とアイドル時間の設定結果を受信します。
Future<bool> setReadTime(int readTime,int idleTime)
パラメータ¶
引数名 |
型 |
説明 |
readTime |
int |
読取時間(ms) |
idleTime |
int |
アイドル時間(ms) |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.58. setChannel¶
ホッピングではないモード時に、RFチャンネルを設定します。
実行後に、コールバックメソッドDID_SET_CHANNEL_PARAM_RECEIVEDでRFチャンネルの設定結果を受信します。
Future<bool> setChannel(int channel,int channelOffset)
パラメータ¶
引数名 |
型 |
説明 |
channel |
int |
チャンネル値 |
channelOffset |
int |
ミラーサブキャリアのチャネルオフセット |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.59. getFhLbtParameter¶
FHとLBTのパラメータを取得します。
実行後に、コールバックメソッドFHLBT_RECEIVED、RFID_ON_OFF_TIME_RECEIVED、QUERY_PARAM_RECEIVED、FREQ_HP_TABLE_RECEIVEDでFHとLBTのパラメータの取得結果を受信します。
Future<bool> getFhLbtParameter()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.60. setFhLbtParameter¶
FHとLBTのパラメータを設定します。
実行後に、コールバックメソッドDID_SET_FREQ_HP_TABLEでFHとLBTのパラメータの設定結果を受信します。
Future<bool> setFhLbtParameter(int readTime, int idleTime,
int carrierSenseTime, int targetRFPowerLevel, int frequencyHopping,
int listenBeforeTalk, int continuousWave)
パラメータ¶
引数名 |
型 |
説明 |
readTime |
int |
読取時間(ms) |
idleTime |
int |
アイドル時間(ms) |
carrierSenseTime |
int |
キャリアセンス時間
|
targetRFPowerLevel |
int |
ターゲットRFパワーレベル
|
frequencyHopping |
int |
オン:1以上、オフ:0 |
listenBeforeTalk |
int |
オン:1以上、オフ:0 |
continuousWave |
int |
固定値:0 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.61. getOutputPowerLevel¶
現在のアウトプットパワーおよび最大、最小アウトプットパワーを取得します。
実行後に、コールバックメソッドTX_POWER_LEVEL_RECEIVED_POWERで現在のアウトプットパワーおよび最大、最小アウトプットパワーの取得結果を受信します。
Future<bool> getOutputPowerLevel()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.62. setOutputPowerLevel¶
現在のアウトプットパワーを設定します。
実行後に、コールバックメソッドDID_SET_OUTPUT_POWER_LEVELでパワーの設定結果を受信します。
Future<bool> setOutputPowerLevel(int powerLevel)
パラメータ¶
引数名 |
型 |
説明 |
powerLevel |
int |
アウトプットパワー
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.63. writeTagMemoryWithAccessPassword¶
RFタグにデータを書き込みます。
実行後に、コールバックメソッドERROR_RECEIVEDでエラー情報を受信、WRITTEN_RECEIVEDでRFタグに書き込んだデータを受信します。
Future<bool> writeTagMemoryWithAccessPassword(Int32 accessPassword, Uint8List epc, int memoryBank, int startAddress, Uint8List dataToWrite)
パラメータ¶
引数名 |
型 |
説明 |
accessPassword |
Int32 |
アクセスパスワード |
epc |
IUint8List |
対象タグ |
memoryBank |
Iint |
RFU:0、EPC:1、TID: 2、User:3 |
startAddress |
Iint |
スタートアドレス(単位:word) |
dataToWrite |
Uint8List |
書き込みデータ |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.64. killTagWithPassword¶
RFタグをキルします。
注:タグをキルする前に、キルパスワードを設定する必要があります。
実行後に、コールバックメソッドERROR_RECEIVEDでエラー情報を受信、KILL_RECEIVEDでRFタグのキル結果を受信します。
Future<bool> killTagWithPassword(Int32 accessPassword, Uint8List epc)
パラメータ¶
引数名 |
型 |
説明 |
accessPassword |
Int32 |
キルパスワード
|
epc |
Uint8List |
対象RFタグのEPCデータ |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.65. lockTagMemoryWithAccessPassword¶
RFタグをロックします。
実行後に、コールバックメソッドERROR_RECEIVEDでエラー情報を受信、LOCKED_RECEIVEDでRFタグのロック結果を受信します。
Future<bool> lockTagMemoryWithAccessPassword(Int32 accessPassword,Uint8List epc,int lockData)
パラメータ¶
引数名 |
型 |
説明 |
accessPassword |
Int32 |
アクセスパスワード
|
epc |
Uint8List |
対象RFタグのEPCデータ |
lockData |
int |
タグのロックデータ
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.66. getFrequencyHoppingTable¶
現在のホッピングテーブルを取得します。
実行後に、コールバックメソッドHOPPING_TABLE_RECEIVEDでホッピングテーブルの取得結果を受信します。
Future<bool> getFrequencyHoppingTable()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.67. setFrequencyHoppingTableSize¶
ホッピングテーブルを設定します。
実行後に、コールバックメソッドDID_SET_OPTI_FREQ_HPTABLEでホッピングテーブルの設定結果を受信します。
Future<bool> setFrequencyHoppingTableSize(int tableSize, Uint8List channels)
パラメータ¶
引数名 |
型 |
説明 |
tableSize |
int |
テーブルサイズ(8桁) |
channels |
Uint8List |
チャンネル番号(可変) |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.68. getRssi¶
RSSIを取得します。
Future<bool> getRssi()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.69. getSession¶
現在のsessionを取得します。
実行後に、コールバックメソッドSESSION_RECEIVEDでsessionの取得結果を受信します。
Future<bool> getSession()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.70. setSession¶
現在のsessionを設定します。
実行後に、コールバックメソッドDID_SET_SESSIONでsessionの設定結果を受信します。
Future<bool> setSession(int session)
パラメータ¶
引数名 |
型 |
説明 |
session |
int |
S0:0、S1:1、S2:2、S3:3 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.71. getAnticollision¶
アンチコリジョンのアルゴリズムを取得します。
実行後に、コールバックメソッドANTICOL_PARAM_RECEIVED_AND_COUNTERでアンチコリジョンのアルゴリズムの取得結果を受信します。
Future<bool> getAnticollision()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.72. setAnticollision¶
アンチコリジョンのアルゴリズムを設定します。
実行後に、コールバックメソッドDID_SET_ANTI_COLLISIONでアンチコリジョンのアルゴリズムの設定結果を受信します。
Future<bool> setAnticollision(int mode,int counter)
パラメータ¶
引数名 |
型 |
説明 |
mode |
int |
固定Q:0、動的Q:1 |
counter |
int |
カウンター(デフォルト値:1) |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.73. updateRegistry¶
レジストリを更新します。
実行後に、コールバックメソッドUPDATED_REGISTERYでレジストリの更新結果を受信します。
Future<bool> updateRegistry()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.74. getRFIDModuleVersion¶
AsReaderのRFIDモジュールバージョンを取得します。
実行後に、コールバックメソッドRFID_MODULE_VERSION_RECEIVEDでAsReaderのRFIDモジュールバージョンの取得結果を受信します。
Future<bool> getRFIDModuleVersion()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.75. setHoppingOnOff¶
ホッピングとLBTのパラメータを設定します。
実行後に、コールバックメソッドDID_SET_FHLBTでホッピングとLBTパラメータの設定結果を受信します。
Future<bool> setHoppingOnOff(bool isOn)
パラメータ¶
引数名 |
型 |
説明 |
isOn |
bool |
true:ホッピング引数を2、LBT引数を1に設定
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.76. writeTagMemoryWithEPC¶
RFタグにデータを書き込みます。
実行後に、コールバックメソッドWRITTEN_RECEIVEDでデータの書き込み結果を受信します。
Future<bool> writeTagMemoryWithEPC(Uint8List epc,String dataToWrite)
パラメータ¶
引数名 |
型 |
説明 |
epc |
Uint8List |
対象タグのEPCデータ |
epcdataToWrite |
Uint8ListString |
書き込みデータ |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.77. setRSSIThreshold¶
RSSIのフィルター条件を設定します。
Future<bool> setRSSIThreshold(int threshold)
パラメータ¶
引数名 |
型 |
説明 |
threshold |
int |
RSSI値:50=-50dBm |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.78. getRSSIThreshold¶
RSSIのフィルター条件を取得します。
実行後に、コールバックメソッドRSSI_THRESHOLD_RECEIVEDでRSSIのフィルター条件を受信、UNKNOWN_COMMAND_RECEIVEDで未定義コマンドを受信します。
Future<bool> getRSSIThreshold()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.79. getQueryParameter¶
タイプCのA/Iクエリパラメータを取得します。
Future<bool> getQueryParameter()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.80. readTagWithAccessPassword¶
指定されたメモリのタグデータを読み取ります。
実行後に、コールバックメソッドERROR_RECEIVEDでエラー情報を受け取り、TAG_MEMORY_RECEIVEDで指定されたメモリのタグデータの読取結果を受信します。
Future<bool> readTagWithAccessPassword(Int32 accessPassword, Uint8List epc,
int memoryBank, int startAddress, int dataLength)
パラメータ¶
引数名 |
型 |
説明 |
accessPassword |
Int32 |
アクセスパスワード |
epc |
Uint8List |
対象タグ |
memoryBank |
int |
RFU:0、 EPC: 1、 TID:2、User:3 |
startAddress |
int |
スタートアドレス(単位:word) |
dataLength |
int |
データの長さ(単位:word) |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.81. setQueryParam¶
クエリコマンドを設定します。
Future<bool> setQueryParam(int divideRatio,int m,int trext,int selection,
int session,int target,int qValue)
パラメータ¶
引数名 |
型 |
説明 |
divideRatio |
int |
DR=8(0)、DR=64/3(1) |
m |
int |
M=1(0)、M=2 (1)、M=4(2)、M=8(3) |
trext |
int |
No pilot tone:0、Use pilot tone:1 |
selection |
int |
All:0 or 1、~SL:2、SL:3 |
session |
int |
S0:0、S1:1、S2:2、S3:3 |
target |
int |
A:0、B:1 |
qValue |
int |
0-15、インベントリサイクルのスロット数 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.82. setRfCw¶
RFタグの連続波信号の制御を設定します。
Future<bool> setRfCw(bool on)
パラメータ¶
引数名 |
型 |
説明 |
on |
bool |
連続波(CW)信号のオン/オフ
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.83. getModulation¶
現在の変調モードを取得します。
実行後に、コールバックメソッドMODULATION_PARAM_RECEIVED_RXMOD_DRで変調モードの取得結果を受信します。
Future<bool> getModulation()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.84. setModulationBLF¶
変調モードを設定します。
実行後に、コールバックメソッドDID_SET_MODULATIONで変調モードの設定結果を受信します。
Future<bool> setModulationBLF(int blf,int rxMod,int dr)
パラメータ¶
引数名 |
型 |
説明 |
blf |
int |
BLF_160:160、BLF_250:250、BLF_320:320、BLF_640:640 |
blfrxMod |
intint |
FM0:0、M2:1、M4:2、M8:3 |
blfdr |
intint |
8:0、64/3:1 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.85. blockEraseTagMemoryWithAccessPassword¶
RFタグデータをブロック消去します。
Future<bool> blockEraseTagMemoryWithAccessPassword(Int32 accessPassword, Uint8List epc, int memoryBank, int startAddress, int dataLength)
パラメータ¶
引数名 |
型 |
説明 |
accessPassword |
Int32 |
アクセスパスワード
|
epc |
Uint8List |
対象タグのepcデータ |
memoryBank |
int |
対象メモリバンク:0x00 RFU、0x01 EPC、0x02 TID、0x03 USER |
startAddress |
int |
スタートアドレス |
dataLength |
int |
データの長さ |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.86. getTemperature¶
温度を取得します。
Future<bool> getTemperature()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.87. setOptimumFrequencyHoppingTable¶
最適なホッピングテーブルを設定します。
Future<bool> setOptimumFrequencyHoppingTable()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.88. getRegistryItem¶
レジストリテーブルを取得します。
実行後に、コールバックメソッドREGISTERY_ITEM_RECEIVEDでレジストリテーブルの取得結果を受信します。
Future<bool> getRegistryItem(int registryItem)
パラメータ¶
引数名 |
型 |
説明 |
registryItem |
int |
レジストリテーブルバージョン:0x0000
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.89. setFrequencyHoppingMode¶
ホッピングモードを設定します。
実行後に、コールバックメソッドDID_SET_FHMODE_CHANGEDでホッピングモードの設定結果を受信します。
Future<bool> setFrequencyHoppingMode(int mode)
パラメータ¶
引数名 |
型 |
説明 |
mode |
int |
ホッピングモード
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.90. getFrequencyHoppingMode¶
ホッピングモードを取得します。
Future<bool> getFrequencyHoppingMode()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.91. setSmartHoppingOnOff¶
ホッピングモードを設定します。
Future<bool> setSmartHoppingOnOff(bool isOn)
パラメータ¶
引数名 |
型 |
説明 |
isOn |
bool |
ホッピングモード
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.92. getRegion¶
地域情報を取得します。
実行後に、コールバックメソッドREGION_RECEIVEDで地域情報の取得結果を受信します。
Future<bool> getRegion()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.93. setReadRSSIMode¶
RFIDモジュール情報と地域情報を取得します。
Future<void> setReadRSSIMode(bool isReadRSSIMode) async
RFIDモードでTriggerキーを押下時に、RFタグのRSSIデータを読み取るかどうかを設定します。
2.94. getRfidModuleInformation¶
Future<bool> getRfidModuleInformation()
戻り値¶
型 |
説明 |
Future<bool> |
RFIDモジュール:true |
2.95. 2.99sendData¶
データを送信します。
Future<bool> sendData(Uint8List sendData)
パラメータ¶
引数名 |
型 |
説明 |
sendData |
Uint8List |
送信データ |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.96. setInventoryTime¶
インベントリタイムを設定します。
Future<bool> setInventoryTime(double inventoryTime)
引数名 |
型 |
説明 |
inventoryTime |
double |
インベントリタイム |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.97. startNFCScan¶
NFCタグのスキャンを開始します。
実行後に、コールバックメソッドRECEIVED_SCAN_DATAでスキャンされたデータを受信、RECEIVED_SCAN_DATA_AND_DATA_TYPEでスキャンされたデータとデータタイプを受信します。
Future<bool> startNFCScan()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.98. stopNFCScan¶
NFCタグのスキャンを停止します
Future<bool> stopNFCScan()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.99. readMultiBlockWithBlockIndex¶
指定されたUIDを持つICタグメモリ上の連続した複数ブロックのデータを読み取ります。
実行後に、コールバックメソッドNFC_READ_MULTI_BLOCK_RECEIVEDでNFCタグの読取結果を受信します。
Future<bool> readMultiBlockWithBlockIndex(int index, int count)
パラメータ¶
引数名 |
型 |
説明 |
index |
int |
最初に読取ブロック番号(0~255) |
count |
int |
読取ブロック数(0~255) |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.100. writeSingleBlockWithBlockIndex¶
指定されたUIDを持つICタグメモリにシングルブロックのデータを書き込みます。
実行後に、コールバックメソッドNFC_WRITE_SINGLE_BLOCK_STATUS_CODEでNFCタグの書き込み結果を受信します。
Future<bool> writeSingleBlockWithBlockIndex(int index, Uint8List writeData, Uint8List uid)
パラメータ¶
引数名 |
型 |
説明 |
index |
int |
最初に読取ブロック番号(0~255) |
writeData |
Uint8List |
書き込みデータ(ブロックごとのサイズは4bit) |
uid |
Uint8List |
NFCタグのUIDデータ |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.101. writeBytesWithBlockIndex¶
指定されたUIDを持つICタグメモリ上に複数ブロックデータを書き込みします。
実行後に、コールバックメソッドNFC_WRITE_BYTES_STATUS_CODEでNFCタグの書き込み結果を受信します。
Future<bool> writeBytesWithBlockIndex(int index, Uint8List writeData, Uint8List uid)
パラメータ¶
引数名 |
型 |
説明 |
index |
int |
最初に読取ブロック番号(0~255) |
writeData |
Uint8List |
書き込みデータ(ブロックごとのサイズは4bit) |
uid |
Uint8List |
NFCタグのUIDデータ |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.102. startLfScan¶
RFタグの自動インベントリを開始します。
実行後に、コールバックメソッドRECEIVED_SCAN_DATAでインベントリされたデータを受信、RECEIVED_SCAN_DATA_AND_DATA_TYPEでインベントリされたデータとデータタイプを受信します。
Future<bool> startLfScan(int numberOfTags, int readUntilInSec, int repeatCycle)
パラメータ¶
引数名 |
型 |
説明 |
numberOfTags |
int |
読み取るRFタグの最大数 |
readUntilInSec |
int |
読み取りの最大時間 |
repeatCycle |
int |
読み取りの繰り返し回数 |
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.103. stopLfScan¶
RFタグの自動インベントリを停止します。
Future<bool> stopLfScan()
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.104. isShowPrintNSLog¶
SDK Logの出力ステータスを取得します。
Future<bool> isShowPrintNSLog()
戻り値¶
型 |
説明 |
Future<bool> |
SDK Logの出力ステータス
|
2.105. bundleIdentifier¶
iOSアプリケーションのユニーク識別子を取得します。
Future<string> bundleIdentifier()
戻り値¶
型 |
説明 |
Future<string> |
iOSアプリケーションのユニーク識別子 |
2.106. deviceName¶
AsReaderのデバイス名を取得します。
Future<string> deviceName()
戻り値¶
型 |
説明 |
Future<string> |
AsReaderのデバイス名 |
2.107. deviceFirmware¶
AsReaderのファームウェアを取得します。
Future<string> deviceFirmware()
戻り値¶
型 |
説明 |
Future<string> |
AsReaderのファームウェア |
2.108. deviceHardware¶
AsReaderのハードウェアバージョンを取得します。
Future<string> deviceHardware()
戻り値¶
型 |
説明 |
Future<string> |
AsReaderのハードウェアバージョン |
2.109. deviceID¶
AsReaderのIDを取得します。
Future<string> deviceID()
戻り値¶
型 |
説明 |
Future<string> |
AsReaderのID |
2.110. deviceManufacturer¶
AsReaderのメーカー情報を取得します。
Future<string> deviceManufacturer()
戻り値¶
型 |
説明 |
Future<string> |
AsReaderのメーカー情報 |
2.111. deviceModelNumber¶
AsReaderの型番を取得します。
Future<string> deviceModelNumber()
戻り値¶
型 |
説明 |
Future<string> |
AsReaderの型番 |
2.112. deviceSerialNumber¶
AsReaderのシリアル番号を取得します。
Future<string> deviceSerialNumber()
戻り値¶
型 |
説明 |
Future<string> |
AsReaderのシリアル番号 |
2.113. deviceProtocol¶
AsReaderのプロトコルを取得します。
Future<string> deviceProtocol()
戻り値¶
型 |
説明 |
Future<string> |
AsReaderのプロトコル |
2.114. currentSelectDevice¶
選択しているAsReaderを取得します。
Future<int> currentSelectDevice()
戻り値¶
型 |
説明 |
Future<int> |
選択しているAsReader |
2.115. isPowerOn¶
パワーステータスを取得します。
Future<bool> isPowerOn()
戻り値¶
型 |
説明 |
Future<bool> |
パワーステータス
|
2.116. supportMode¶
サポートしているモードを取得します。
Future<int> supportMode()
戻り値¶
型 |
説明 |
Future<int> |
サポートしているモード |
2.117. currentReaderMode¶
現在のモードを取得します。
Future<int> currentReaderMode()
戻り値¶
型 |
説明 |
Future<int> |
現在のモード |
2.118. receiveDataType¶
AsReaderタイプを取得します。
Future<int> receiveDataType()
戻り値¶
型 |
説明 |
Future<int> |
AsReaderタイプ:
|
2.119. dualSameTime¶
DUALモードをサポートするかどうかを取得します。
Future<bool> dualSameTime()
戻り値¶
型 |
説明 |
Future<bool> |
true:オン
|
2.120. isBeep¶
ビープのステータスを取得します。
Future<bool> isBeep()
戻り値¶
型 |
説明 |
Future<bool> |
ピープのステータス
|
2.121. isVibration¶
バイブレーションのステータスを取得します。
Future<bool> isVibration()
戻り値¶
型 |
説明 |
Future<bool> |
バイブレーションのステータス
|
2.122. isLED¶
LEDのステータスを取得します。
Future<bool> isLED()
戻り値¶
型 |
説明 |
Future<bool> |
LEDのステータス
|
2.123. isIllumination¶
イルミネーションのステータスを取得します。
Future<bool> isIllumination()
戻り値¶
型 |
説明 |
Future<bool> |
イルミネーション
|
2.124. count¶
Future<int> count()
読み取るRFタグの最大数を取得します。
戻り値¶
型 |
説明 |
Future<int> |
読み取るRFタグの最大数 |
2.125. scanTime¶
読み取りの最大時間を取得します。
Future<int> scanTime()
戻り値¶
型 |
説明 |
Future<int> |
読み取りの最大時間 |
2.126. cycle¶
読み取りの繰り返し回数を取得します。
Future<int> cycle()
戻り値¶
型 |
説明 |
Future<int> |
読み取りの繰り返し回数 |
2.127. isTriggerModeDefault¶
AsReaderのトリガーモードを取得します。
Future<bool> isTriggerModeDefault()
戻り値¶
型 |
説明 |
Future<bool> |
トリガーモード
|
2.128. isReadRSSIMode¶
RSSI値を読み取るかどうかの設定を取得します。
Future<bool> isReadRSSIMode()
戻り値¶
型 |
説明 |
Future<bool> |
RFタグのRSSI値を読み取るかどうか
|
2.129. isEnginePowerAlwaysOn¶
接続したAsReaderが自動で電源ONになる機種の場合は、オンを取得します。 (M24Dの場合、常にオン)
Future<bool> isEnginePowerAlwaysOn()
戻り値¶
型 |
説明 |
Future<bool> |
true:オン
|
2.130. barcodeEngineType¶
barcodeEngineTypeの型を取得します。
Future<int> barcodeEngineType()
戻り値¶
型 |
説明 |
Future<int> |
barcodeEngineTypeの型 |
2.131. carrierSenseTime¶
キャリアセンス時間を取得します。
Future<int> carrierSenseTime()
戻り値¶
型 |
説明 |
Future<int> |
キャリアセンス時間 |
2.132. targetRFPowerLevel¶
対象RFパワーレベルを取得します。
Future<int> targetRFPowerLevel()
戻り値¶
型 |
説明 |
Future<int> |
対象RFパワーレベル |
2.133. isSmartHopping¶
ホッピングモードを取得します。
Future<bool> isSmartHopping()
戻り値¶
型 |
説明 |
Future<bool> |
ホッピングモード
|
2.134. rfidPower¶
現在のパワーを取得します。
Future<double> rfidPower()
戻り値¶
型 |
説明 |
Future<double> |
現在のパワー |
2.135. rfidPowerMax¶
最大パワーを取得します。
Future<double> rfidPowerMax()
戻り値¶
型 |
説明 |
Future<double> |
最大パワー |
2.136. rfidPowerMin¶
最小パワーを取得します。
Future<double> rfidPowerMin()
戻り値¶
型 |
説明 |
Future<double> |
最小パワー |
2.137. rfidOnTime¶
RFIDオンタイムを取得します。
Future<int> rfidOnTime()
戻り値¶
型 |
説明 |
Future<int> |
RFIDオンタイム |
2.138. rfidOffTime¶
RFIDオフタイムを取得します。
Future<int> rfidOffTime()
戻り値¶
型 |
説明 |
Future<int> |
RFIDオフタイム |
2.139. rfidChannel¶
RFIDチャンネルを取得します。
Future<int> rfidChannel()
戻り値¶
型 |
説明 |
Future<int> |
RFIDチャンネル |
2.140. rfidListenBeforeTalk¶
LBTを取得します。
Future<int> rfidListenBeforeTalk()
戻り値¶
型 |
説明 |
Future<int> |
LBT |
2.141. rfidFrequencyHopping¶
RFIDホッピングを取得します。
Future<int> rfidFrequencyHopping()
戻り値¶
型 |
説明 |
Future<int> |
RFIDホッピング |
2.142. rfidContinuousWave¶
RFタグの連続スキャンを取得します。
Future<int> rfidContinuousWave()
戻り値¶
型 |
説明 |
Future<int> |
RFタグ連続スキャン |
2.143. rfidModuleVersion¶
RFIDモジュールバージョンを取得します。
Future<string> rfidModuleVersion()
戻り値¶
型 |
説明 |
Future<string> |
RFIDモジュールバージョン |
2.144. isSupportType¶
AsReader が入力されたモジュールタイプをサポートするかどうかを取得します。
Future<bool> isSupportType(int supportType)
パラメータ¶
引数名 |
型 |
説明 |
supportType |
int |
-1:SupportTypeNone
|
戻り値¶
型 |
説明 |
Future<bool> |
入力されたモジュールタイプをサポートするかどうか
|
2.145. setConnectionType¶
接続方法を設定します。
Future<bool> setConnectionType(int type)
パラメータ¶
引数名 |
型 |
説明 |
type |
int |
0:ConnectionTypeUSB
|
戻り値¶
型 |
説明 |
Future<bool> |
メソッドの実行結果
|
2.146. getConnectionType¶
接続方法を取得します。
Future<int> getConnectionType()
戻り値¶
型 |
説明 |
Future<int> |
0:ConnectionTypeUSB
|
2.147. getSupportTypeArray¶
AsReaderがサポートしているモジュールタイプ配列を取得します。
Future<list<int>> getSupportTypeArray()
戻り値¶
型 |
説明 |
Future<list |
サポートしているモジュールタイプ配列 |
2.148. parseDataByProtocolType¶
L70Dが読み取ったデータを解析します。
Future<map<string,string>> parseDataByProtocolType(Uint8List data,int type)
パラメータ¶
引数名 |
型 |
説明 |
data |
Uint8List |
データ |
type |
int |
固定値:0 |
戻り値¶
型 |
説明 |
Future<map<string,string>> |
戻り値のタイプはMap、Key値は以下になる
|
2.149. setDelayDisconnectOnBackground¶
アプリをバックグラウンドにしてから、AsReaderとの接続を切断するまでの時間を設定します。
Future<void> setDelayDisconnectOnBackground(double time)
パラメータ¶
引数名 |
型 |
説明 |
time |
double |
接続を切断するまでの時間 |