-
public class GoogleFusedLocationProvider.Companion extends SingletonHolder<GoogleFusedLocationProvider, Context>
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerDEFAULT_PRIORITYprivate final LongDEFAULT_INTERVAL_HIGHprivate final LongDEFAULT_FASTEST_INTERVALprivate Function1<Context, GoogleFusedLocationProvider>creatorprivate volatile GoogleFusedLocationProviderinstancepublic final static GoogleFusedLocationProvider.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegergetDEFAULT_PRIORITY()final LonggetDEFAULT_INTERVAL_HIGH()final LonggetDEFAULT_FASTEST_INTERVAL()final Function1<Context, GoogleFusedLocationProvider>getCreator()final UnitsetCreator(Function1<Context, GoogleFusedLocationProvider> creator)final GoogleFusedLocationProvidergetInstance()final UnitsetInstance(GoogleFusedLocationProvider instance)-
-
Method Detail
-
getDEFAULT_PRIORITY
final Integer getDEFAULT_PRIORITY()
-
getDEFAULT_INTERVAL_HIGH
final Long getDEFAULT_INTERVAL_HIGH()
-
getDEFAULT_FASTEST_INTERVAL
final Long getDEFAULT_FASTEST_INTERVAL()
-
getCreator
final Function1<Context, GoogleFusedLocationProvider> getCreator()
-
setCreator
final Unit setCreator(Function1<Context, GoogleFusedLocationProvider> creator)
-
getInstance
final GoogleFusedLocationProvider getInstance()
-
setInstance
final Unit setInstance(GoogleFusedLocationProvider instance)
-
-
-
-