Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NfcBInterface.cs
1using Android.Nfc;
2using Android.Nfc.Tech;
4
6{
12 public class NfcBInterface(Tag Tag, NfcB Technology)
13 : NfcInterface(Tag, Technology), INfcBInterface
14 {
15 private readonly NfcB nfcB = Technology;
16
20 public Task<byte[]> GetApplicationData()
21 {
22 return Task.FromResult(this.nfcB.GetApplicationData() ?? throw UnableToReadDataFromDevice());
23 }
24
28 public Task<byte[]> GetProtocolInfo()
29 {
30 return Task.FromResult(this.nfcB.GetProtocolInfo() ?? throw UnableToReadDataFromDevice());
31 }
32 }
33}
NFC B interface, for communication with an NFC Tag.