updateLiveLocation
fun updateLiveLocation(messageId: String, latitude: Double, longitude: Double, deviceId: String): Call<Location>
Updates the live location info of a message.
Updates are throttled to one every 3 seconds per message. An update made sooner is held until the window ends and then sent, which adds up to 3 seconds before the request starts; avoid Call.execute on the main thread. A held update fails at once if a newer update for the same message, a successful stopLiveLocationSharing or a disconnect comes first.
Parameters
messageId
The ID of the message to update.
latitude
The latitude of the new location.
longitude
The longitude of the new location.
deviceId
DEPRECATED: has no effect, since this endpoint does not accept a device id. The stored value is the one set when the location was created. Remove in the next major, AND-1402.