Interface LightningTaskCallback
-
public interface LightningTaskCallbackCallback interface forLightningTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonLightningFailed(AerisError error)This method will be called when an Lightning request to the API has failed.voidonLightningLoaded(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.
-
-