PendingBlock

public class PendingBlock
extends Object

java.lang.Object
   ↳ com.android.incfs.install.PendingBlock


APK'ya veya imza dosyasına ait, cihazın ihtiyaç duyduğu bir veri bloğu.

Özet

Herkese açık oluşturucular

PendingBlock(PendingBlock block)

Herkese açık yöntemler

int getBlockIndex()

Dosyadaki veri bloğunun dizini.

short getBlockSize()

Blok verilerinin bayt cinsinden boyutu.

PendingBlock.Compression getCompression()
int getFileBlockCount()

Bloğun bulunduğu dosyadaki blok sayısı.

Path getPath()

Bloğun bulunduğu dosyanın yolu.

PendingBlock.Type getType()
void readBlockData(ByteBuffer buffer)

Blok verilerini mevcut konumdaki arabelleğe okur.

String toString()

Herkese açık oluşturucular

PendingBlock

public PendingBlock (PendingBlock block)

Parametreler
block PendingBlock

Herkese açık yöntemler

getBlockIndex

public int getBlockIndex ()

Dosyadaki veri bloğunun dizini.

Döndürülenler
int

getBlockSize

public short getBlockSize ()

Blok verilerinin bayt cinsinden boyutu.

Döndürülenler
short

getCompression

public PendingBlock.Compression getCompression ()

Döndürülenler
PendingBlock.Compression

Ayrıca bkz.:

getFileBlockCount

public int getFileBlockCount ()

Bloğun bulunduğu dosyadaki blok sayısı.

Döndürülenler
int

getPath

public Path getPath ()

Bloğun bulunduğu dosyanın yolu.

Döndürülenler
Path

getType

public PendingBlock.Type getType ()

Döndürülenler
PendingBlock.Type

Ayrıca bkz.:

readBlockData

public void readBlockData (ByteBuffer buffer)

Blok verilerini mevcut konumdaki arabelleğe okur.

Parametreler
buffer ByteBuffer

toString

public String toString ()

Döndürülenler
String