Geolocator.ReportInterval | reportInterval property

Applies to Windows and Windows Phone

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

Syntax


public:
property unsigned int ReportInterval { 
   unsigned int get();
   void set (unsigned int value);
}

Property value

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The requested minimum time interval between location updates.

Remarks

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

See also

Geolocator

 

 

Show:
© 2014 Microsoft