Class AsciiTransportExtensions
- Assembly
 - TechnologySolutions.Rfid.AsciiProtocol.Core.dll
 
Extension methods for IAsciiTransport
public static class AsciiTransportExtensions
  - Inheritance
 - 
      
      AsciiTransportExtensions
 
- Inherited Members
 
Methods
Abandon(IAsciiTransport)
Disconnects a transport and marks it as unavailable
This method is needed on iOS after instructing the reader to sleep because the disconnected ExternalAccessory notifications from iOS can take up to 6 seconds to arrive. This method ensures that the transport is not used again until this transport's Reader is reconnected.
On non-iOS platforms this method is the same as Disconnect()
public static void Abandon(this IAsciiTransport transport)
  Parameters
transportIAsciiTransportthe transport to abandon