Example #1
0
        public override void DidChangeCardStatus(ABTBluetoothReader bluetoothReader, ABTBluetoothReaderCardStatus cardStatus, NSError error)
        {
            if (error == null)
            {
                // Power on card to get ATR:
                switch (cardStatus)
                {
                case ABTBluetoothReaderCardStatus.Present:
                    bluetoothReader.PowerOnCard();
                    break;

                case ABTBluetoothReaderCardStatus.Absent:
                    // Tag lost
                    break;
                }
            }
        }