GuidanceTelemetryCollector.Enabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates if location data is collected for traffic reporting.
Note
This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.
public:
property bool Enabled { bool get(); void set(bool value); };
bool Enabled();
void Enabled(bool value);
public bool Enabled { get; set; }
var boolean = guidanceTelemetryCollector.enabled;
guidanceTelemetryCollector.enabled = boolean;
Public Property Enabled As Boolean
Property Value
bool
true if location data is collected for traffic reporting; otherwise, false.