com.google.maps

Interface PendingResult<T>

    • Nested Class Summary

      Nested Classes 
      Modifier and TypeInterface and Description
      static interface PendingResult.Callback<T>
      The callback interface the API client code needs to implement to handle API results.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      Tawait()
      Performs the request synchronously.
      TawaitIgnoreError()
      Performs the request synchronously, ignoring exceptions while performing the request and errors returned by the server.
      voidcancel()
      Attempt to cancel the request.
      voidsetCallback(PendingResult.Callback<T> callback)
      Performs the request asynchronously, calling onResult or onFailure after the request has been completed.
    • Method Detail

      • setCallback

        void setCallback(PendingResult.Callback<T> callback)
        Performs the request asynchronously, calling onResult or onFailure after the request has been completed.
      • await

        T await() throws java.lang.Exception
        Performs the request synchronously.
        Returns:
        The result.
        Throws:
        java.lang.Exception
      • awaitIgnoreError

        T awaitIgnoreError()
        Performs the request synchronously, ignoring exceptions while performing the request and errors returned by the server.
        Returns:
        The result, or null if there was any error or exception ignored.
      • cancel

        void cancel()
        Attempt to cancel the request.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14