Język

BasicTagTechnology.Connect Method

Definition

Connects this technology to the tag to enable I/O operations.

[Android.Runtime.Register("connect", "()V", "GetConnectHandler")]
public virtual void Connect();
[<Android.Runtime.Register("connect", "()V", "GetConnectHandler")>]
abstract member Connect : unit -> unit
override this.Connect : unit -> unit

Implements

Attributes

Remarks

This call can block and must not run on the main application thread. Only one technology can be connected to a tag at a time. Call Close() when I/O is complete. Calling Close() from another thread cancels a blocked connection call 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.

Applies to