IsoDep.IsExtendedLengthApduSupported Property

Definition

Standard APDUs have a 1-byte length field, allowing a maximum of 255 payload bytes, which results in a maximum APDU length of 261 bytes.

public bool IsExtendedLengthApduSupported { [Android.Runtime.Register("isExtendedLengthApduSupported", "()Z", "")] get; }
[<get: Android.Runtime.Register("isExtendedLengthApduSupported", "()Z", "")>]
member this.IsExtendedLengthApduSupported : bool

Property Value

whether the NFC adapter on this device supports extended length APDUs.

Attributes

Remarks

Standard APDUs have a 1-byte length field, allowing a maximum of 255 payload bytes, which results in a maximum APDU length of 261 bytes.

Extended length APDUs have a 3-byte length field, allowing 65535 payload bytes.

Some NFC adapters, like the one used in the Nexus S and the Galaxy Nexus do not support extended length APDUs. They are expected to be well-supported in the future though. Use this method to check for extended length APDU support.

Java documentation for android.nfc.tech.IsoDep.isExtendedLengthApduSupported().

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