Class RouteTrackerLocationDataSource

    • Constructor Detail

      • RouteTrackerLocationDataSource

        public RouteTrackerLocationDataSource​(android.content.Context context,
                                              RouteTracker routeTracker)
        Constructs a RouteTrackerLocationDataSource using the the passed RouteTracker and the default platform supported location data source AndroidLocationDataSource.
        Parameters:
        context - the Context in which the LocationDataSource is running
        routeTracker - a RouteTracker
        Throws:
        java.lang.IllegalArgumentException - if context or routeTracker is null
        Since:
        100.9.0
      • RouteTrackerLocationDataSource

        public RouteTrackerLocationDataSource​(RouteTracker routeTracker,
                                              LocationDataSource locationDataSource)
        Constructs a RouteTrackerLocationDataSource using the the passed RouteTracker and the given location data source.
        Parameters:
        routeTracker - a RouteTracker
        locationDataSource - a LocationDataSource
        Throws:
        java.lang.IllegalArgumentException - if routeTracker or locationDataSource is null
        Since:
        100.9.0