BasicTagTechnology.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disables tag I/O, releases the connection, and cancels blocked I/O operations on other threads.
[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
public virtual void Close();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler")>]
abstract member Close : unit -> unit
override this.Close : unit -> unit
Implements
- Attributes
Remarks
This method resets the I/O timeouts and clears the technology's connected state. Call it when tag I/O is complete. A blocked I/O call on another thread fails with IOException. The NFC permission is required.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.