public static class LocationUpdate.Builder
extends java.lang.Object
| Constructor | Description | 
|---|---|
| Builder() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| LocationUpdate.Builder | animationDuration(java.lang.Long animationDuration) | If set, all of the transitions to this update (puck's and possibly camera's if tracking mode is engaged) will
 have the provided duration. | 
| LocationUpdate | build() | Builds a new  LocationUpdate. | 
| LocationUpdate.Builder | intermediatePoints(java.util.List<android.location.Location> intermediatePoints) | This method can be used to provide the list of locations that are on the path to the target location. | 
| LocationUpdate.Builder | location(android.location.Location location) | Target location. | 
public LocationUpdate.Builder location(@Nullable android.location.Location location)
public LocationUpdate.Builder intermediatePoints(@NonNull java.util.List<android.location.Location> intermediatePoints)
public LocationUpdate.Builder animationDuration(@Nullable java.lang.Long animationDuration)
This can also be used to disable transition animation by providing a duration equal to zero.
 LocationComponentOptions.Builder.trackingAnimationDurationMultiplier(float)
 is ignored if this value is provided.
public LocationUpdate build()
LocationUpdate.