Class BaseLocatorConfig
java.lang.Object
com.streamwide.smartms.lib.template.location.BaseLocatorConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanstartLocationUpdates(IInternalLocatorCallback internalLocatorCallback) Start location updatesabstract voidStop location updates
-
Constructor Details
-
BaseLocatorConfig
public BaseLocatorConfig()
-
-
Method Details
-
startLocationUpdates
public abstract boolean startLocationUpdates(@Nullable IInternalLocatorCallback internalLocatorCallback) Start location updates- Parameters:
internalLocatorCallback- Use this callback if you receive a fresh location and you don't want to wait the timeout task to treat the current location- Returns:
- true if you want to schedule the location timer internally
-
stopLocationUpdates
public abstract void stopLocationUpdates()Stop location updates
-