com.google.maps.model.TransitRoutingPreference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-maps-services Show documentation
Show all versions of google-maps-services Show documentation
Use the Google Maps API Web Services in Java! https://developers.google.com/maps/documentation/webservices/
package com.google.maps.model;
import com.google.maps.internal.StringJoin.UrlValue;
import java.util.Locale;
/** Indicates user preference when requesting transit directions. */
public enum TransitRoutingPreference implements UrlValue {
LESS_WALKING,
FEWER_TRANSFERS;
@Override
public String toString() {
return name().toLowerCase(Locale.ENGLISH);
}
@Override
public String toUrlValue() {
return name().toLowerCase(Locale.ENGLISH);
}
}