public class UpdateEngine extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UpdateEngine.ErrorCodeConstants
Error code from the update engine.
|
static class |
UpdateEngine.UpdateStatusConstants
Update status code from the update engine.
|
Constructor and Description |
---|
UpdateEngine() |
Modifier and Type | Method and Description |
---|---|
void |
applyPayload(String url,
long offset,
long size,
String[] headerKeyValuePairs) |
boolean |
bind(UpdateEngineCallback callback) |
boolean |
bind(UpdateEngineCallback callback,
Handler handler) |
void |
cancel() |
void |
resetStatus() |
void |
resume() |
void |
suspend() |
public boolean bind(UpdateEngineCallback callback, Handler handler)
public boolean bind(UpdateEngineCallback callback)
public void applyPayload(String url, long offset, long size, String[] headerKeyValuePairs)
public void cancel()
public void suspend()
public void resume()
public void resetStatus()