smallestDisplacement

Minimum distance between location updates in meters. By default this is zero meters. By modifying this value, the frequency to request location updates changes, and consequently so does battery usage. A reasonable value must be used for each use case. Changing this value while updates are already being requested has no effect until location updates are cancelled by calling cancelLocationUpdates and new updates are requested again.

Throws

if provided value is negative