Location.Speed 屬性

定義

取得或設定判斷這個位置時,每秒以公尺為單位的目前速度。

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)

屬性值

裝置測量的速度。

備註

傳回 0, null 如果無法使用則傳回 。 否則,此值的範圍會介於 0-360 之間。

Accuracy需要或High更好,而且在呼叫 GetLastKnownLocationAsync()時可能不會傳回 。

適用於