Bagikan melalui


MifareClassic.BlockToSector(Int32) Method

Definition

Return the sector that contains a given block.

[Android.Runtime.Register("blockToSector", "(I)I", "")]
public int BlockToSector (int blockIndex);
[<Android.Runtime.Register("blockToSector", "(I)I", "")>]
member this.BlockToSector : int -> int

Parameters

blockIndex
Int32

index of block to lookup, starting from 0

Returns

sector index that contains the block

Attributes

Remarks

Return the sector that contains a given block.

Does not cause any RF activity and does not block.

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