Geolocator.ReportInterval Geolocator.ReportInterval Geolocator.ReportInterval Geolocator.ReportInterval Geolocator.ReportInterval Property

Definition

The requested minimum time interval between location updates, in milliseconds. If your application requires updates infrequently, set this value so that location services can conserve power by calculating location only when needed.

public : unsigned int ReportInterval { get; set; }
uint32_t ReportInterval();

void ReportInterval(uint32_t reportinterval);
public uint ReportInterval { get; set; }
Public ReadWrite Property ReportInterval As uint
var uint = geolocator.reportInterval;
geolocator.reportInterval = uint;

Property Value

uint uint uint

The requested minimum time interval between location updates.

Additional features and requirements

Capabilities
location ID_CAP_LOCATION [Windows Phone]

Remarks

The default report interval is 1 second or as frequent as the hardware can support – whichever is shorter. Location updates can be set to a different frequency if you specify a MovementThreshold or set ReportInterval to a different value. If your app sets both MovementThreshold and ReportInterval, location will be updated according to MovementThreshold.

If another application has requested more frequent updates, by specifying a smaller value for ReportInterval, your application may receive updates at a higher frequency than requested.

See also