Sdílet prostřednictvím


LocationManager.PassiveProvider Field

Definition

A special location provider for receiving locations without actively initiating a location fix.

[Android.Runtime.Register("PASSIVE_PROVIDER")]
public const string PassiveProvider;
[<Android.Runtime.Register("PASSIVE_PROVIDER")>]
val mutable PassiveProvider : string

Field Value

Attributes

Remarks

A special location provider for receiving locations without actively initiating a location fix. This location provider is always present.

This provider can be used to passively receive location updates when other applications or services request them without actually requesting the locations yourself. This provider will only return locations generated by other providers.

Java documentation for android.location.LocationManager.PASSIVE_PROVIDER.

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