Package 

Object LocationProviderResolver


  • 
    public class LocationProviderResolver
    
                        

    Decides the location source from the server location.provider flag + GMS availability. Shared by LocationManager (which path to register) and MetadataCollector (what to report to the server), so the two always agree.

    • Method Summary

      Modifier and Type Method Description
      final Boolean isGmsAvailable(Context context) True if Google Play Services is present and usable on this device.
      final String resolve(Context context, LocationConfiguration config) "fused" when the config selects GMS and Play Services is available; otherwise "legacy".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait