Location.Speed 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 the current speed in meters per second at the time when this location was determined.
public:
property Nullable<double> Speed { Nullable<double> get(); void set(Nullable<double> value); };
public double? Speed { get; set; }
member this.Speed : Nullable<double> with get, set
Public Property Speed As Nullable(Of Double)
Property Value
Speed measured by the device..
Remarks
Returns 0 or null
if not available. Otherwise the value will range between 0-360.
Requires Accuracy to be High or better and may not be returned when calling GetLastKnownLocationAsync().
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.