Freigeben über


MifareClassic.SectorToBlock(Int32) Method

Definition

Return the first block of a given sector.

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

Parameters

sectorIndex
Int32

index of sector to lookup, starting from 0

Returns

block index of first block in sector

Attributes

Remarks

Return the first block of a given sector.

Does not cause any RF activity and does not block.

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