Package com.creditcall.chipdnamobile

# Interface ITmsUpdateListener

public interface ITmsUpdateListener
This interface is used to listen when an update from the TMS server is being performed. Register listener before calling `ChipDnaMobile.requestTmsUpdate(Parameters)`

Author:
  Creditcall Ltd

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onTmsUpdate(Parameters tmsUpdateParameters)`
  Invoked when the update has finished successfully.

- ## Method Details

  - ### onTmsUpdate

    void onTmsUpdate(Parameters tmsUpdateParameters)
    Invoked when the update has finished successfully.
    Parameters:
      `tmsUpdateParameters` - `Parameters` collection which can contain:

      `ParameterKeys.Result` indicating if the Tms Update was successful.

      `ParameterKeys.Errors` contains any errors encountered.

      `ParameterKeys.TmsUpdateUtc` The date and time of the Tms Update.

      `ParameterKeys.DateTimeFormat` The format of date and time in `ParameterKeys.TmsUpdateUtc`.

      `ParameterKeys.FirmwareUpdateAvailable` defining if a firmware update is available using the values `ParameterValues.TRUE` and `ParameterValues.FALSE`.

      `ParameterKeys.FirmwareUpdateStatus` returned with a serialized `FirmwareUpdateStatus` object. `FirmwareUpdateStatus` can be deserialized using `ChipDnaMobileSerializer.deserializeFirmwareUpdateStatus(java.lang.String)`.