PendingBlock

public class PendingBlock
extends Object

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


Blok data milik file APK atau tanda tangan yang diperlukan oleh perangkat.

Ringkasan

Konstruktor publik

PendingBlock(PendingBlock block)

Metode publik

int getBlockIndex()

Indeks blok data dalam file.

short getBlockSize()

Ukuran dalam byte data blok.

PendingBlock.Compression getCompression()
int getFileBlockCount()

Jumlah blok dalam file tempat blok berada.

Path getPath()

Jalur ke file tempat blok berada.

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

Membaca data blok ke dalam buffer pada posisi saat ini.

String toString()

Konstruktor publik

PendingBlock

public PendingBlock (PendingBlock block)

Parameter
block PendingBlock

Metode publik

getBlockIndex

public int getBlockIndex ()

Indeks blok data dalam file.

Hasil
int

getBlockSize

public short getBlockSize ()

Ukuran dalam byte data blok.

Hasil
short

getCompression

public PendingBlock.Compression getCompression ()

Hasil
PendingBlock.Compression

getFileBlockCount

public int getFileBlockCount ()

Jumlah blok dalam file tempat blok berada.

Hasil
int

getPath

public Path getPath ()

Jalur ke file tempat blok berada.

Hasil
Path

getType

public PendingBlock.Type getType ()

Hasil
PendingBlock.Type

Lihat juga:

readBlockData

public void readBlockData (ByteBuffer buffer)

Membaca data blok ke dalam buffer pada posisi saat ini.

Parameter
buffer ByteBuffer

Menampilkan
IOException

toString

public String toString ()

Hasil
String