Android.Locations.LocationManager.GetProviders Method
Returns a list of the names of LocationProviders that satisfy the given criteria, or null if none do.

Syntax

[Android.Runtime.Register("getProviders", "(Landroid/location/Criteria;Z)Ljava/util/List;", "GetGetProviders_Landroid_location_Criteria_ZHandler")]
public virtual IList<string> GetProviders (Criteria criteria, bool enabledOnly)

Parameters

criteria
the criteria that the returned providers must match
enabledOnly
if true then only the providers which are currently enabled are returned.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a list of the names of LocationProviders that satisfy the given criteria, or null if none do. Only providers that are permitted to be accessed by the calling activity will be returned.

[Android Documentation]

Requirements

Namespace: Android.Locations
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1