共用方式為


LocationProvider.SupportsSpeed Method

Definition

Returns true if the provider is able to provide speed information, false otherwise.

[Android.Runtime.Register("supportsSpeed", "()Z", "GetSupportsSpeedHandler")]
public virtual bool SupportsSpeed ();
[<Android.Runtime.Register("supportsSpeed", "()Z", "GetSupportsSpeedHandler")>]
abstract member SupportsSpeed : unit -> bool
override this.SupportsSpeed : unit -> bool

Returns

Attributes

Remarks

Returns true if the provider is able to provide speed information, false otherwise. A provider that reports speed under most circumstances but may occassionally not report it should return true.

Java documentation for android.location.LocationProvider.supportsSpeed().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to