Newer
Older
CosmosClient / app / src / main / java / com / example / cosmosclient / resources / LocationRest.java
k-morimoto on 6 Nov 2019 660 bytes 区間地域情報取得の通信が可能に
package com.example.cosmosclient.resources;

import com.example.cosmosclient.entities.AreaInformation;
import com.example.cosmosclient.entities.Feature;

import java.util.ArrayList;

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


public interface LocationRest {

    @GET("shops")
    Call<ArrayList<Feature>> LocationService(@Query("leftLatitude") String leftLat,
                                             @Query("leftLongitude") String leftLon,
                                             @Query("rightLatitude") String rightLat,
                                             @Query("rightLongitude") String rightLon);
}