Class IALocationService

  • All Implemented Interfaces:
    ComponentCallbacks, ComponentCallbacks2

    public class IALocationService
    extends Service
    Service that performs background operations to provide positioning updates to IALocationManager component. Do not invoke this service directly but use IALocationManager instead.

    This service needs to be registered in AndroidManifest.xml

    
        <application>
    
            ...
    
            <service
                  android:name="com.indooratlas.android.sdk.IALocationService"
                  android:label="IALocationService"
                  android:exported="false"></service>
    
        </application>
    
     
    • Constructor Detail

      • IALocationService

        public IALocationService()
    • Method Detail

      • onStartCommand

        public int onStartCommand​(Intent intent,
                                  int flags,
                                  int startId)
        Overriding onStartCommand and hence we are responsible for managing service lifecycle and stopping it when no more work to be done.
        Overrides:
        onStartCommand in class Service