public class DfuServiceController
extends java.lang.Object
Keep in mind that there may be only one DFU operation at a time, and other instances of a DfuServiceController (for example obtained with a previous DFU)
will work for all DFU processes, but the isPaused()
and isAborted()
methods may report incorrect values.
Added in DFU Library version 1.0.2.
Modifier and Type | Method and Description |
---|---|
void |
abort()
Aborts the DFU operation after it has started.
|
boolean |
isAborted()
Returns true if DFU was aborted.
|
boolean |
isPaused()
Returns true if the DFU operation was paused.
|
void |
pause()
Pauses the DFU operation.
|
void |
resume()
Resumes a previously paused DFU operation.
|
public void pause()
public void resume()
pause()
public void abort()
public boolean isPaused()
resume()
.public boolean isAborted()