APISonar


cgeo.geocaching.enumerations.LocationProviderType.GPS

> cgeo > geocaching > enumerations > LocationProviderType > GPS
cgeo APIs geocaching APIs enumerations APIs LocationProviderType APIs GPS APIs

Example 1
private static LocationProviderType getLocationProviderType(final String provider) {
        if (provider.equals(LocationManager.GPS_PROVIDER)) {
            return LocationProviderType.GPS;
        }
        if (provider.equals(LocationManager.NETWORK_PROVIDER)) {
            return LocationProviderType.NETWORK;
        }
        return LocationProviderType.LAST;
    }