| java.lang.Object | |
| ↳ | com.steerpath.sdk.location.LocationFactory |
Create new Location-objects with LocationFactory.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static Location |
create(String provider)
Create new Location Object
| ||||||||||
| static Location |
create(String provider, double lat, double lon, String buildingRef, int floorIndex)
Create new Location object.
| ||||||||||
| static Location |
create(MetaFeature feature)
Extract latitude and longitude from MetaFeature and create new Location object.
| ||||||||||
| static Location |
create()
Create new Location Object with "custom" provider
| ||||||||||
| static Location |
createFakeLocation(LatLng point, String buildingRef, int floor)
Create new Location object with FusedLocationProviderApi.FAKE_LOCATION_PROVIDER as provider.
| ||||||||||
| static Location |
createFakeLocation(double lat, double lon, String buildingRef, int floorIndex)
Create new Location object with FusedLocationProviderApi.FAKE_LOCATION_PROVIDER as provider
| ||||||||||
| static Location |
createFakeLocation(SteerpathMap map, LatLng point)
Create new Location object with FusedLocationProviderApi.FAKE_LOCATION_PROVIDER as provider.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create new Location Object
| provider | name of the provider can be arbitrary. For example "myProvider". |
|---|
Create new Location object.
Extract latitude and longitude from MetaFeature and create new Location object.
Create new Location object with FusedLocationProviderApi.FAKE_LOCATION_PROVIDER as provider.
Create new Location object with FusedLocationProviderApi.FAKE_LOCATION_PROVIDER as provider
Create new Location object with FusedLocationProviderApi.FAKE_LOCATION_PROVIDER as provider.