Geolocator.IsDefaultGeopositionRecommended Geolocator.IsDefaultGeopositionRecommended Geolocator.IsDefaultGeopositionRecommended Geolocator.IsDefaultGeopositionRecommended Geolocator.IsDefaultGeopositionRecommended Property

Definition

Indicates whether the user should be prompted to set a default location manually.

public : static Platform::Boolean IsDefaultGeopositionRecommended { get; }
static bool IsDefaultGeopositionRecommended();
public static bool IsDefaultGeopositionRecommended { get; }
Public Shared ReadOnly Property IsDefaultGeopositionRecommended As bool
var bool = Windows.Devices.Geolocation.Geolocator.isDefaultGeopositionRecommended;

Property Value

bool bool bool

true if the app would benefit from a manually-set location, false if a better option is available.

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
locationSystem location