com.google.maps

Class TextSearchRequest

  • java.lang.Object
    • com.google.maps.TextSearchRequest
    • Constructor Detail

      • TextSearchRequest

        protected TextSearchRequest(GeoApiContext context)
    • Method Detail

      • query

        public TextSearchRequest query(java.lang.String query)
        query is the text string on which to search, for example: "restaurant".
      • location

        public TextSearchRequest location(LatLng location)
        location is the latitude/longitude around which to retrieve place information.
      • radius

        public TextSearchRequest radius(int radius)
        radius defines the distance (in meters) within which to bias place results.
      • openNow

        public TextSearchRequest openNow(boolean openNow)
        openNow returns only those places that are open for business at the time the query is sent.
      • pageToken

        public TextSearchRequest pageToken(java.lang.String nextPageToken)
        pageToken returns the next 20 results from a previously run search. Setting a pageToken parameter will execute a search with the same parameters used previously ? all parameters other than pageToken will be ignored.
      • validateRequest

        protected void validateRequest()
      • await

        public final T await()              throws java.lang.Exception
        Description copied from interface: PendingResult
        Performs the request synchronously.
        Specified by:
        await in interface PendingResult<T>
        Returns:
        The result.
        Throws:
        java.lang.Exception
      • awaitIgnoreError

        public final T awaitIgnoreError()
        Description copied from interface: PendingResult
        Performs the request synchronously, ignoring exceptions while performing the request and errors returned by the server.
        Specified by:
        awaitIgnoreError in interface PendingResult<T>
        Returns:
        The result, or null if there was any error or exception ignored.
      • cancel

        public final void cancel()
        Description copied from interface: PendingResult
        Attempt to cancel the request.
        Specified by:
        cancel in interface PendingResult<T>
      • param

        protected A param(java.lang.String key,                  java.lang.String val)
      • param

        protected A param(java.lang.String key,                  com.google.maps.internal.StringJoin.UrlValue val)
      • params

        protected java.util.Map<java.lang.String,java.lang.String> params()
      • language

        public final A language(java.lang.String language)
        The language in which to return results. Note that we often update supported languages so this list may not be exhaustive.
        Parameters:
        language - The language code, e.g. "en-AU" or "es"
        See Also:
        List of supported domain languages
      • channel

        public A channel(java.lang.String channel)
        A channel to pass with the request. channel is used by Google Maps API for Work users to be able to track usage across different applications with the same clientID. See: https://developers.google.com/maps/documentation/business/clientside/quota
        Parameters:
        channel - String to pass with the request for analytics


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