connectsFailed

fun connectsFailed(last: NfcError, systemCode: Int? = null): Boolean

The link to a found document could not be set up MAX_CONNECT_ATTEMPTS times in a row, each time with a loss of the link itself (last): the read ends. When no try of the read got past the first commands, the chip never answered, and the error is NfcNoAnswer, the same on every platform; otherwise it is last. ChipReadEnding.Partial when an attempt was granted access, else ChipReadEnding.Failed.

Return

true when this call ended the read.

Parameters

last

The error of the last failed connect.

systemCode

The platform's own code of that failure, when it gave one.