Share via


MifareUltralight.Timeout Property

Definition

Get the current #transceive timeout in milliseconds. -or- Set the #transceive timeout in milliseconds.

public int Timeout { [Android.Runtime.Register("getTimeout", "()I", "")] get; [Android.Runtime.Register("setTimeout", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getTimeout", "()I", "")>]
[<set: Android.Runtime.Register("setTimeout", "(I)V", "")>]
member this.Timeout : int with get, set

Property Value

timeout value in milliseconds

Attributes

Remarks

Property getter documentation:

Get the current #transceive timeout in milliseconds.

<p class="note">Requires the android.Manifest.permission#NFC permission.

Java documentation for android.nfc.tech.MifareUltralight.getTimeout().

Property setter documentation:

Set the #transceive timeout in milliseconds.

The timeout only applies to #transceive on this object, and is reset to a default value when #close is called.

Setting a longer timeout may be useful when performing transactions that require a long processing time on the tag such as key generation.

<p class="note">Requires the android.Manifest.permission#NFC permission.

Java documentation for android.nfc.tech.MifareUltralight.setTimeout(int).

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