PendingBlock

public class PendingBlock
extends Object

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


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

Ringkasan

Konstruktor publik

PendingBlock(PendingBlock block)

Metode publik

int getBlockIndex()

Indeks blok data dalam file.

short getBlockSize()

Ukuran data blok dalam byte.

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 data blok dalam byte.

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

toString

public String toString ()

Hasil
String