Język

BasicTagTechnology.IsConnected Property

Definition

Gets whether this technology is connected and the tag is still present.

public virtual bool IsConnected { [Android.Runtime.Register("isConnected", "()Z", "GetIsConnectedHandler")] get; }
[<get: Android.Runtime.Register("isConnected", "()Z", "GetIsConnectedHandler")>]
member this.IsConnected : bool

Property Value

true if this technology is connected and the NFC service reports that the tag is present; otherwise, false.

Implements

Attributes

Remarks

A successful connection and a present tag are required for a true result. If the NFC service cannot be contacted, the result is false. This check does not guarantee that the tag will remain available for the next I/O operation.

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