public static interface GPSModel.Service
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<com.google.gson.JsonObject> |
getGPSPeriod(java.lang.String accessToken) |
retrofit2.Call<com.google.gson.JsonObject> |
setGPSPeriod(java.lang.String accessToken,
java.lang.String period) |
retrofit2.Call<com.google.gson.JsonObject> |
setLocation(okhttp3.RequestBody body) |
@POST(value="device/gps/set/location") retrofit2.Call<com.google.gson.JsonObject> setLocation(@Body okhttp3.RequestBody body)
@GET(value="/app/setting/gps/period/get/{accessToken}") retrofit2.Call<com.google.gson.JsonObject> getGPSPeriod(@Path(value="accessToken") java.lang.String accessToken)
@GET(value="/app/setting/gps/period/set/{accessToken}/{period}") retrofit2.Call<com.google.gson.JsonObject> setGPSPeriod(@Path(value="accessToken") java.lang.String accessToken, @Path(value="period") java.lang.String period)