Android.Nfc.Tech.MifareClassic.Increment Method
Increment a value block, storing the result in the temporary block on the tag.

Syntax

[Android.Runtime.Register("increment", "(II)V", "")]
public void Increment (int p0, int p1)

Parameters

blockIndex
index of block to increment, starting from 0
value
non-negative to increment by

Exceptions

TypeReason
Android.Nfc.TagLostExceptionif the tag leaves the field
Java.IO.IOExceptionif there is an I/O failure, or the operation is canceled

Remarks

Increment a value block, storing the result in the temporary block on the tag.

This is an I/O operation and will block until complete. It must not be called from the main application thread. A blocked call will be canceled with Java.IO.IOException if MifareClassic.Close is called from another thread.

Requires the NoType:android/Manifest$permission;Href=../../../../reference/android/Manifest.permission.html#NFC permission.

[Android Documentation]

Requirements

Namespace: Android.Nfc.Tech
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 10