Share via


LocationManager.GetProviderProperties(String) Method

Definition

Returns the properties of the given provider, or null if the properties are currently unknown.

[Android.Runtime.Register("getProviderProperties", "(Ljava/lang/String;)Landroid/location/provider/ProviderProperties;", "GetGetProviderProperties_Ljava_lang_String_Handler", ApiSince=31)]
public virtual Android.Locations.Provider.ProviderProperties? GetProviderProperties (string provider);
[<Android.Runtime.Register("getProviderProperties", "(Ljava/lang/String;)Landroid/location/provider/ProviderProperties;", "GetGetProviderProperties_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member GetProviderProperties : string -> Android.Locations.Provider.ProviderProperties
override this.GetProviderProperties : string -> Android.Locations.Provider.ProviderProperties

Parameters

provider
String

a provider listed by #getAllProviders()

Returns

location provider properties, or null if properties are currently unknown

Attributes

Remarks

Returns the properties of the given provider, or null if the properties are currently unknown. Provider properties may change over time, although this is discouraged, and should be rare. The most common transition is when provider properties go from being unknown to known, which is most common near boot time.

Java documentation for android.location.LocationManager.getProviderProperties(java.lang.String).

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