namespace NFC.Interfaces
{
public delegate void ReaderEventHandler(object sender, ICard card);
///
/// Abstraction of a platform-specifc reader that can communicate with NFC cards
///
public interface IReader
{
///
/// Event that will be called when a new tag was discovered
///
event ReaderEventHandler CardDiscovered;
///
/// Event that will be called when a tag that is in use gets disconnected
///
event ReaderEventHandler CardLost;
void Start();
void Stop();
}
}