DfuEvent.DfuProgressEvent

public static class DfuProgressEvent extends DfuEvent

This class extends the base DfuEvent class to represent an progress event.

Gives more information such as the current upload speed and the percentage of completion.

Fields

avgSpeed

public final float avgSpeed

The average transfer speed in kB/s.

currentPart

public final int currentPart

The current chuck # being sent.

percent

public final int percent

Percentage of completion, in %.

speed

public final float speed

The current transfer speed in kB/s.

totalParts

public final int totalParts

The total number of chucks to send.