All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mapbox.api.routetiles.v1.versions.RouteTileVersionsService Maven / Gradle / Ivy

There is a newer version: 5.9.0-alpha.1
Show newest version
package com.mapbox.api.routetiles.v1.versions;

import com.mapbox.api.routetiles.v1.versions.models.RouteTileVersionsResponse;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Query;

/**
 * Interface that defines the Route Tile Versions Service (v1).
 *
 * @since 4.1.0
 */
public interface RouteTileVersionsService {
  /**
   *
   * @param userAgent     the user agent
   * @param accessToken   Mapbox access token
   * @return the ResponseBody containing the data stream wrapped in a Call wrapper
   * @since 4.1.0
   */
  @GET("route-tiles/v1/versions?")
  Call getCall(
    @Header("User-Agent") String userAgent,
    @Query("access_token") String accessToken
  );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy