IBlockFilter
public
interface
IBlockFilter
| com.android.incfs.install.IBlockFilter |
Controls whether a block of data that must be delivered to the device should be served.
Summary
Public methods | |
|---|---|
abstract
boolean
|
shouldServeBlock(PendingBlock block)
Callback invoked by the associated |
Public methods
shouldServeBlock
public abstract boolean shouldServeBlock (PendingBlock block)
Callback invoked by the associated IncrementalInstallSession to determine whether a
block of data requested by the device should be served to the device.
| Parameters | |
|---|---|
block |
PendingBlock |
| Returns | |
|---|---|
boolean |
true if the block of data should be served; otherwise, false. |