Bagikan melalui


LocationManager.AllProviders Property

Definition

Returns a list of the names of all available location providers.

public virtual System.Collections.Generic.IList<string> AllProviders { [Android.Runtime.Register("getAllProviders", "()Ljava/util/List;", "GetGetAllProvidersHandler")] get; }
[<get: Android.Runtime.Register("getAllProviders", "()Ljava/util/List;", "GetGetAllProvidersHandler")>]
member this.AllProviders : System.Collections.Generic.IList<string>

Property Value

list of provider names

Attributes

Remarks

Returns a list of the names of all available location providers. All providers are returned, including those that are currently disabled.

Java documentation for android.location.LocationManager.getAllProviders().

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