public class

MapstedForegroundService

extends LifecycleService
java.lang.Object
   ↳ LifecycleService
     ↳ com.mapsted.positioning.MapstedForegroundService

Class Overview

Class for creating foreground service for wifi scans and inertial scans. Also see MapstedWireless and MapstedSensors

Summary

Nested Classes
class MapstedForegroundService.MapstedForegroundServiceBinder  
Fields
public final String TAG
Public Constructors
MapstedForegroundService()
Public Methods
void init(Context context, MapstedPrivateApi privateApi, MapstedForegroundServiceDetails foregroundServiceDetails, CoreApi.LocationServicesCallback callback)
static long lastActiveTimestampMs(Context context)
IBinder onBind(Intent intent)
void onCreate()
void onDestroy()
void onPause()
void onResume()
void onStart(Intent intent, int startId)
int onStartCommand(Intent intent, int flags, int startId)
boolean onUnbind(Intent intent)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final String TAG

Public Constructors

public MapstedForegroundService ()

Public Methods

public void init (Context context, MapstedPrivateApi privateApi, MapstedForegroundServiceDetails foregroundServiceDetails, CoreApi.LocationServicesCallback callback)

public static long lastActiveTimestampMs (Context context)

public IBinder onBind (Intent intent)

public void onCreate ()

public void onDestroy ()

public void onPause ()

public void onResume ()

public void onStart (Intent intent, int startId)

public int onStartCommand (Intent intent, int flags, int startId)

public boolean onUnbind (Intent intent)