LocatorScanner

open class LocatorScanner

This class manages search for location using a Locator as configuration.

The following example gives an idea how to use and customise the location scanner :


LocatorScanner defaultLocatorScanner =
   new LocatorScanner(context, defaultLocator.build());
To start the location scan :

defaultLocatorScanner.startScan();
To stop the location scan :

defaultLocatorScanner.stopScan();
Update the extra data :

defaultLocatorScanner.updateData("<some extra data>");

See also

Constructors

Link copied to clipboard
open fun LocatorScanner(@NonNull context: Context, @NonNull locator: Locator)

Functions

Link copied to clipboard
open fun startScan()
Start searching for location updates
Link copied to clipboard
open fun stopScan()
Stop the current search location updates
Link copied to clipboard
open fun updateData(@NonNull data: String)
Update the extra data