Share via


MifareClassic.GetBlockCountInSector(Int32) Method

Definition

Return the number of blocks in the given sector.

[Android.Runtime.Register("getBlockCountInSector", "(I)I", "")]
public int GetBlockCountInSector (int sectorIndex);
[<Android.Runtime.Register("getBlockCountInSector", "(I)I", "")>]
member this.GetBlockCountInSector : int -> int

Parameters

sectorIndex
Int32

index of sector, starting from 0

Returns

number of blocks in the sector

Attributes

Remarks

Return the number of blocks in the given sector.

Does not cause any RF activity and does not block.

Java documentation for android.nfc.tech.MifareClassic.getBlockCountInSector(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