Package io.getstream.chat.java.services
Interface SharedLocationService
-
public interface SharedLocationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<SharedLocation.ActiveLiveLocationsResponse>
getLiveLocations(@NotNull java.lang.String userId)
retrofit2.Call<SharedLocation.SharedLocationResponse>
updateLiveLocation(@NotNull java.lang.String userId, SharedLocation.SharedLocationRequest sharedLocationRequest)
-
-
-
Method Detail
-
getLiveLocations
@GET("users/live_locations") retrofit2.Call<SharedLocation.ActiveLiveLocationsResponse> getLiveLocations(@NotNull @Query("user_id") @NotNull java.lang.String userId)
-
updateLiveLocation
@PUT("users/live_locations") retrofit2.Call<SharedLocation.SharedLocationResponse> updateLiveLocation(@NotNull @Query("user_id") @NotNull java.lang.String userId, @NotNull @Body SharedLocation.SharedLocationRequest sharedLocationRequest)
-
-