public interface FirmwareApiAccessor
| Modifier and Type | Method and Description |
|---|---|
HttpResult<FileData> |
fetchFirmwareFileData(java.lang.String firmwareName)
Fetch firmware file data.
|
void |
fetchFirmwareFileData(java.lang.String firmwareName,
ResultApiCallback<FileData> resultApiCallback)
Fetch firmware file data.
|
HttpResult<FileData> |
fetchFirmwareFileData(java.lang.String firmwareName,
SDKOptional<ETag> eTag)
Fetch firmware file data.
|
void |
fetchFirmwareFileData(java.lang.String firmwareName,
SDKOptional<ETag> etag,
ResultApiCallback<FileData> resultApiCallback)
Fetch firmware file data.
|
HttpResult<IFirmware> |
getFirmware(java.lang.String firmwareName,
DeviceType deviceType)
Gets firmware.
|
void |
getFirmware(java.lang.String firmwareName,
DeviceType deviceType,
ResultApiCallback<IFirmware> apiCallback)
Gets firmware.
|
HttpResult<IFirmware> |
getFirmware(java.lang.String firmwareName,
DeviceType deviceType,
SDKOptional<ETag> eTag)
Requests firmware by its name.
|
void |
getFirmware(java.lang.String firmwareName,
DeviceType deviceType,
SDKOptional<ETag> eTag,
ResultApiCallback<IFirmware> apiCallback)
Gets firmware.
|
HttpResult<java.util.List<IFirmware>> |
getFirmwares(java.util.Set<java.lang.String> deviceUniqueIds)
Gets List of firmware for given list of device unique ids
|
void |
getFirmwares(java.util.Set<java.lang.String> deviceUniqueIds,
ResultApiCallback<java.util.List<IFirmware>> apiCallback)
Gets List of firmware for given list of device unique ids
|
HttpResult<java.util.Map<java.lang.String,IFirmware>> |
getLatestFirmwareForBeacons(java.util.Set<java.lang.String> beaconUniqueIds)
Deprecated.
|
void |
getLatestFirmwareForBeacons(java.util.Set<java.lang.String> deviceUniqueIds,
ResultApiCallback<java.util.Map<java.lang.String,IFirmware>> callback)
Deprecated.
|
HttpResult<java.util.Map<java.lang.String,IFirmware>> |
getLatestFirmwareForBeacons(java.util.Set<java.lang.String> beaconUniqueIds,
SDKOptional<ETag> eTag)
Deprecated.
|
void |
getLatestFirmwareForBeacons(java.util.Set<java.lang.String> deviceUniqueIds,
SDKOptional<ETag> eTag,
ResultApiCallback<java.util.Map<java.lang.String,IFirmware>> callback)
Deprecated.
|
@Deprecated HttpResult<java.util.Map<java.lang.String,IFirmware>> getLatestFirmwareForBeacons(java.util.Set<java.lang.String> beaconUniqueIds, SDKOptional<ETag> eTag) throws ClientException
beaconUniqueIds - the beacon unique idseTag - the e tagClientException - the client exception@Deprecated HttpResult<java.util.Map<java.lang.String,IFirmware>> getLatestFirmwareForBeacons(java.util.Set<java.lang.String> beaconUniqueIds) throws ClientException
beaconUniqueIds - the beacon unique idsClientException - the client exception@Deprecated
void getLatestFirmwareForBeacons(java.util.Set<java.lang.String> deviceUniqueIds,
SDKOptional<ETag> eTag,
ResultApiCallback<java.util.Map<java.lang.String,IFirmware>> callback)
deviceUniqueIds - the device unique idseTag - the e tagcallback - the callback@Deprecated
void getLatestFirmwareForBeacons(java.util.Set<java.lang.String> deviceUniqueIds,
ResultApiCallback<java.util.Map<java.lang.String,IFirmware>> callback)
deviceUniqueIds - the device unique idscallback - the callbackHttpResult<java.util.List<IFirmware>> getFirmwares(java.util.Set<java.lang.String> deviceUniqueIds) throws ClientException
deviceUniqueIds - List of device unique idIFirmwareClientExceptionvoid getFirmwares(java.util.Set<java.lang.String> deviceUniqueIds,
ResultApiCallback<java.util.List<IFirmware>> apiCallback)
deviceUniqueIds - List of device unique idapiCallback - the callbackHttpResult<FileData> fetchFirmwareFileData(java.lang.String firmwareName, SDKOptional<ETag> eTag) throws ClientException
firmwareName - the firmware nameeTag - the e tagClientException - the client exceptionHttpResult<FileData> fetchFirmwareFileData(java.lang.String firmwareName) throws ClientException
firmwareName - the firmware nameClientException - the client exceptionvoid fetchFirmwareFileData(java.lang.String firmwareName,
SDKOptional<ETag> etag,
ResultApiCallback<FileData> resultApiCallback)
firmwareName - the firmware nameetag - the etagresultApiCallback - the result api callbackvoid fetchFirmwareFileData(java.lang.String firmwareName,
ResultApiCallback<FileData> resultApiCallback)
firmwareName - the firmware nameresultApiCallback - the result api callbackHttpResult<IFirmware> getFirmware(java.lang.String firmwareName, DeviceType deviceType, SDKOptional<ETag> eTag) throws ClientException
firmwareName - the firmware namedeviceType - the device typeeTag - the e tagClientException - the client exceptionHttpResult<IFirmware> getFirmware(java.lang.String firmwareName, DeviceType deviceType) throws ClientException
firmwareName - the firmware namedeviceType - the device typeClientException - the client exceptionvoid getFirmware(java.lang.String firmwareName,
DeviceType deviceType,
SDKOptional<ETag> eTag,
ResultApiCallback<IFirmware> apiCallback)
firmwareName - the firmware namedeviceType - the device typeeTag - the e tagapiCallback - the api callbackvoid getFirmware(java.lang.String firmwareName,
DeviceType deviceType,
ResultApiCallback<IFirmware> apiCallback)
firmwareName - the firmware namedeviceType - the device typeapiCallback - the api callback