IGeoPositionWatcher<T>.Start Method (Boolean)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Start acquiring location data, specifying whether or not to suppress prompting for permissions. This method returns synchronously.

Namespace:   System.Device.Location
Assembly:  System.Device (in System.Device.dll)

void Start(
	bool suppressPermissionPrompt
)

Parameters

suppressPermissionPrompt
Type: System.Boolean

If true, do not prompt the user to enable location providers and only start if location data is already enabled.

If false, a dialog box may be displayed to prompt the user to enable location sensors that are disabled.

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: