Interface LightningTaskCallback
-
public interface LightningTaskCallback
Callback interface forLightningTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onLightningFailed(AerisError error)
This method will be called when an Lightning request to the API has failed.void
onLightningLoaded(List<LightningResponse> responses)
This method will be called when a list of lightning strike responses have been returned from the API.
-
-
-
Method Detail
-
onLightningLoaded
void onLightningLoaded(List<LightningResponse> responses)
This method will be called when a list of lightning strike responses have been returned from the API.- Parameters:
responses
- List of responses
-
onLightningFailed
void onLightningFailed(AerisError error)
This method will be called when an Lightning request to the API has failed.- Parameters:
error
- The aeris error regarding to the fail.
-
-