LocationManager
ActionGnssCapabilitiesChanged
ExtraGnssCapabilities
ExtraLocationEnabled
ExtraProviderEnabled
ExtraProviderName
FusedProvider
GpsProvider
KeyFlushComplete
KeyLocationChanged
KeyLocations
KeyProviderEnabled
KeyProximityEntering
KeyStatusChanged
ModeChangedAction
NetworkProvider
PassiveProvider
ProvidersChangedAction
LocationManager(IntPtr, JniHandleOwnership)
AllProviders
GnssAntennaInfos
GnssCapabilities
GnssHardwareModelName
GnssYearOfHardware
IsLocationEnabled
JniPeerMembers
ThresholdClass
ThresholdType
AddGpsStatusListener(IListener)
AddNmeaListener(INmeaListener)
AddNmeaListener(IOnNmeaMessageListener)
AddNmeaListener(IExecutor, IOnNmeaMessageListener)
AddNmeaListener(IOnNmeaMessageListener, Handler)
AddProximityAlert(Double, Double, Single, Int64, PendingIntent)
AddTestProvider(String, ProviderProperties)
AddTestProvider(String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Power, SensorStatus)
AddTestProvider(String, ProviderProperties, ICollection<String>)
ClearTestProviderEnabled(String)
ClearTestProviderLocation(String)
ClearTestProviderStatus(String)
FromContext(Context)
GetBestProvider(Criteria, Boolean)
GetCurrentLocation(String, CancellationSignal, IExecutor, IConsumer)
GetCurrentLocation(String, LocationRequest, CancellationSignal, IExecutor, IConsumer)
GetGpsStatus(GpsStatus)
GetLastKnownLocation(String)
GetProvider(String)
GetProviderProperties(String)
GetProviders(Boolean)
GetProviders(Criteria, Boolean)
HasProvider(String)
IsProviderEnabled(String)
RegisterAntennaInfoListener(IExecutor, IListener)
RegisterGnssMeasurementsCallback(Callback)
RegisterGnssMeasurementsCallback(Callback, Handler)
RegisterGnssMeasurementsCallback(IExecutor, Callback)
RegisterGnssMeasurementsCallback(GnssMeasurementRequest, IExecutor, Callback)
RegisterGnssNavigationMessageCallback(Callback)
RegisterGnssNavigationMessageCallback(Callback, Handler)
RegisterGnssNavigationMessageCallback(IExecutor, Callback)
RegisterGnssStatusCallback(Callback)
RegisterGnssStatusCallback(Callback, Handler)
RegisterGnssStatusCallback(IExecutor, Callback)
RemoveGpsStatusListener(IListener)
RemoveNmeaListener(INmeaListener)
RemoveNmeaListener(IOnNmeaMessageListener)
RemoveProximityAlert(PendingIntent)
RemoveTestProvider(String)
RemoveUpdates(ILocationListener)
RemoveUpdates(PendingIntent)
RequestFlush(String, ILocationListener, Int32)
RequestFlush(String, PendingIntent, Int32)
RequestLocationUpdates(String, LocationRequest, PendingIntent)
RequestLocationUpdates(Int64, Single, Criteria, PendingIntent)
RequestLocationUpdates(String, Int64, Single, ILocationListener)
RequestLocationUpdates(String, Int64, Single, PendingIntent)
RequestLocationUpdates(String, LocationRequest, IExecutor, ILocationListener)
RequestLocationUpdates(Int64, Single, Criteria, IExecutor, ILocationListener)
RequestLocationUpdates(Int64, Single, Criteria, ILocationListener, Looper)
RequestLocationUpdates(String, Int64, Single, IExecutor, ILocationListener)
RequestLocationUpdates(String, Int64, Single, ILocationListener, Looper)
RequestSingleUpdate(Criteria, PendingIntent)
RequestSingleUpdate(String, PendingIntent)
RequestSingleUpdate(Criteria, ILocationListener, Looper)
RequestSingleUpdate(String, ILocationListener, Looper)
SendExtraCommand(String, String, Bundle)
SetTestProviderEnabled(String, Boolean)
SetTestProviderLocation(String, Location)
SetTestProviderStatus(String, Availability, Bundle, Int64)
UnregisterAntennaInfoListener(IListener)
UnregisterGnssMeasurementsCallback(Callback)
UnregisterGnssNavigationMessageCallback(Callback)
UnregisterGnssStatusCallback(Callback)
net9.0-android34.0
namespace Android.Locations
{
[Register("android/location/LocationManager", DoNotGenerateAcw = true)]
public class LocationManager : Object
{
[Register("hasProvider", "(Ljava/lang/String;)Z", "GetHasProvider_Ljava_lang_String_Handler", ApiSince = 31)]
[SupportedOSPlatform("android31.0")]
public virtual bool HasProvider(string! provider);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API