Package 

Class UpdateRequest.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • setCurrentLocation

         UpdateRequest.Builder setCurrentLocation(double latitude, double longitude)

        Set the user's current location. This attribute is REQUIRED.

        Parameters:
        latitude - current location latitude
        longitude - current location longitude
      • setTimeout

         UpdateRequest.Builder setTimeout(Integer timeout)

        Set the maximal time(in seconds) allowed for the OTA data update to finish.

        Adm service would aborts this OTA data update if its total time cost reaches this threshold. By default this setting's value is 1800 seconds(30 minutes).

        Parameters:
        timeout - the maximal allowed time of OTA update