LocationProvider deprecated

Class of android.location · LocationProvider.java · Android's reference

public class LocationProvider

A source of locations, by name.

Fields

public static final int OUT_OF_SERVICE = 0 source
public static final int TEMPORARILY_UNAVAILABLE = 1 source
public static final int AVAILABLE = 2 source

Methods

public String getName() source
public boolean requiresNetwork() source
public boolean requiresSatellite() source
public boolean requiresCell() source
public boolean hasMonetaryCost() source
public boolean supportsAltitude() source
public boolean supportsSpeed() source
public boolean supportsBearing() source
public int getPowerRequirement() source
public int getAccuracy() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.