com.google.maps

Enum DirectionsApi.RouteRestriction

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      FERRIES
      FERRIES indicates that the calculated route should avoid ferries.
      HIGHWAYS
      HIGHWAYS indicates that the calculated route should avoid highways.
      TOLLS
      TOLLS indicates that the calculated route should avoid toll roads/bridges.
    • Method Detail

      • values

        public static DirectionsApi.RouteRestriction[] values()
        Returns an array containing the constants of this enum type, inthe order they are declared. This method may be used to iterateover the constants as follows:
        for (DirectionsApi.RouteRestriction c : DirectionsApi.RouteRestriction.values())    System.out.println(c);
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DirectionsApi.RouteRestriction valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name.The string must match exactly an identifier used to declare anenum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toUrlValue

        public java.lang.String toUrlValue()
        Specified by:
        toUrlValue in interface com.google.maps.internal.StringJoin.UrlValue


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