com.github.ignition.location.utils
Class PlatformSpecificImplementationFactory

java.lang.Object
  extended by com.github.ignition.location.utils.PlatformSpecificImplementationFactory

public class PlatformSpecificImplementationFactory
extends Object

Factory class to create the correct instances of a variety of classes with platform specific implementations.


Constructor Summary
PlatformSpecificImplementationFactory()
           
 
Method Summary
static ILastLocationFinder getLastLocationFinder(android.content.Context context)
          Create a new LastLocationFinder instance
static IgnitedAbstractLocationUpdateRequester getLocationUpdateRequester(android.content.Context context)
          Create a new LocationUpdateRequester
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformSpecificImplementationFactory

public PlatformSpecificImplementationFactory()
Method Detail

getLastLocationFinder

public static ILastLocationFinder getLastLocationFinder(android.content.Context context)
Create a new LastLocationFinder instance

Parameters:
context - Context
Returns:
LastLocationFinder

getLocationUpdateRequester

public static IgnitedAbstractLocationUpdateRequester getLocationUpdateRequester(android.content.Context context)
Create a new LocationUpdateRequester

Parameters:
locationManager - LocationManager
Returns:
LocationUpdateRequester


Copyright © 2012. All Rights Reserved.