Public Member Functions
com.ugrokit.api.Ugi.FirmwareUpdateDelegate Interface Reference

## Overview

Delegate passed to firmwareUpdate method.

## Public Member Functions
boolean | firmwareUpdateProgress (int amountDone, int amountTotal, boolean canCancel)
| Firmware update progress. More...
void | firmwareUpdateCompleted (FirmwareUpdateReturnValues result, int seconds)
| Firmware update complete. More...

## Member Function Documentation

## ◆ firmwareUpdateProgress()

boolean com.ugrokit.api.Ugi.FirmwareUpdateDelegate.firmwareUpdateProgress | ( | int | amountDone,
|  | int | amountTotal,
|  | boolean | canCancel
| ) |  |

Firmware update progress.

Parameters

  amountDone | amount of the update completed
  amountTotal | amount in the complete update
  canCancel | true if the update can be cancelled at this point

Returns
  true to cancel (ignored if canCancel is false, however)

## ◆ firmwareUpdateCompleted()

void com.ugrokit.api.Ugi.FirmwareUpdateDelegate.firmwareUpdateCompleted | ( | FirmwareUpdateReturnValues | result,
|  | int | seconds
| ) |  |

Firmware update complete.

Parameters

  result | Result of the update
  seconds | Time the update took in seconds