Interface LightningTaskCallback


  • public interface LightningTaskCallback
    Callback interface for LightningTask.
    • 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.