語言

MifareClassic.GetBlockCountInSector(Int32) 方法

定義

回傳該區塊的區塊數量。

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

參數

sectorIndex
Int32

扇區指數,從0開始

傳回

該區塊的數量

屬性

備註

回傳該區塊的區塊數量。

不會引起任何射頻活動,也不會阻擋。

Java 文件 android.nfc.tech.MifareClassic.getBlockCountInSector(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於