public void StartReading() { if (IsReading) { StopReading(); } var options = SetupTagReadOptions(); _rfidReader.SetOnTagReadListener(_tagReaderListener); _rfidReader.Read(TagAdditionData.None, options); IsReading = true; }
private void BeginReadInternal() { _app.RfidMgr.SetLEDBlink(true); IsReading_fast = true; SetQuickModeParams(); string additionDataType = "None"; RfidReader reader = GetReader(); reader.SetOnTagReadListener(_dataListener); reader.Read(TagAdditionData.Get(additionDataType), TagReadOption); Android.OS.Message msg = Android.OS.Message.Obtain(); msg.What = MSG_UPDATE_UI_FAST_MODE; _uiHandler.SendMessage(msg); }