LocationManager
@Deprecated
public final class SitumIPSManager
extends java.lang.Object
Constructor and Description |
---|
SitumIPSManager(Context context)
Deprecated.
use
LocationManager instead |
Modifier and Type | Method and Description |
---|---|
void |
adjustLocationToRoute(java.util.List<SitumFloorPoint> route)
Deprecated.
Use
NavigationManager instead |
boolean |
changeBuilding(SitumBuilding building)
Deprecated.
|
long |
getID()
Deprecated.
use
SitumSdk.getDeviceID() instead |
java.lang.String |
getPositioningaddress()
Deprecated.
debug method no longer supported
|
boolean |
isAdjustingLocation()
Deprecated.
Use
NavigationManager instead |
boolean |
isRunning()
Deprecated.
use
LocationManager.isRunning() from LocationManager instead |
void |
reset()
Deprecated.
|
void |
setMagAccuracyReceiver(SitumMagAccuracyListener receiver)
Deprecated.
no longer supported
|
void |
setMotionReceiver(SitumMotionReicever receiver)
Deprecated.
no longer supported
|
void |
setPoseReceiver(SitumPoseReceiver receiver)
Deprecated.
|
void |
setSensorErrorListener(SitumSensorErrorListener sensorErrorListener)
Deprecated.
|
void |
start(SitumBuilding building)
Deprecated.
|
void |
start(SitumBuilding building,
boolean usewifi,
boolean useble,
boolean usemag)
Deprecated.
|
void |
start(SitumBuilding building,
SitumPositioningOptions options)
Deprecated.
|
void |
stop()
Deprecated.
use
LocationManager.removeUpdates(LocationListener) from LocationManager instead |
void |
stopAdjustingLocation()
Deprecated.
Use
NavigationManager instead |
boolean |
useBle(boolean value)
Deprecated.
|
boolean |
useCompass(boolean value)
Deprecated.
no longer supported. Is always true
|
boolean |
useMag(boolean value)
Deprecated.
no longer supported. Is always true
|
boolean |
useWifi(boolean value)
Deprecated.
|
boolean |
usingBLE()
Deprecated.
no longer supported. Use
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
and check LocationRequest object |
boolean |
usingCompass()
Deprecated.
no longer supported. Is always true
|
boolean |
usingMag()
Deprecated.
is always true
|
boolean |
usingWifi()
Deprecated.
no longer supported. Use
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
and check LocationRequest object |
@Deprecated public SitumIPSManager(Context context)
LocationManager
insteadcontext
- Application that will run the positioning service@Deprecated public long getID()
SitumSdk.getDeviceID()
insteadUtils#INVALID_DEVICE_ID
@Deprecated public void start(SitumBuilding building, SitumPositioningOptions options)
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
from LocationManager
insteadSitumPositioningOptions
with custom values for the positioning service, for example when to use wifi, ble or mag.
Now we can pass to the options that we can simulate positions. With this option we can
develop without wifi or ble.
If building is null then throw an IllegalArgumentException, and the positioning is not
started, equal for optionsbuilding
- Building where we want to estimate our positionoptions
- Options for the positioning systemSitumPositioningOptions
@Deprecated public void start(SitumBuilding building)
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
from LocationManager
insteadSitumPositioningOptions
with all sensors enabled
If the building does not have a valid positioning service it show a message and
service does not initialize.
If building is null then throw an IllegalArgumentException
and the
positioning is not possiblebuilding
- building to start positioning@Deprecated public void start(SitumBuilding building, boolean usewifi, boolean useble, boolean usemag)
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
from LocationManager
insteadIf the building does not have a valid positioning service it show a message and service does not initialize
building
- Building where we want to estimate our positionusewifi
- Use wifi to estimate the positionuseble
- Use beacons to estimate the positionusemag
- Use magnetic field anomalies to estimate the position@Deprecated public void stop()
LocationManager.removeUpdates(LocationListener)
from LocationManager
instead@Deprecated public boolean changeBuilding(SitumBuilding building)
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
from LocationManager
insteadbuilding
- Supply a new building to start the positioning server@Deprecated public java.lang.String getPositioningaddress()
SitumBuilding
. The current building is the
active positioning building. This method only return valid values when the developer options are
enabled, if this setting is not enabled this method return an empty string@Deprecated public void adjustLocationToRoute(java.util.List<SitumFloorPoint> route)
NavigationManager
insteadroute
- the route@Deprecated public void stopAdjustingLocation()
NavigationManager
instead@Deprecated public boolean isAdjustingLocation()
NavigationManager
instead@Deprecated public boolean isRunning()
LocationManager.isRunning()
from LocationManager
insteadSitumService
is running and requesting positions@Deprecated public void reset()
LocationManager.removeUpdates(LocationListener)
and then
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
instead@Deprecated public void setPoseReceiver(SitumPoseReceiver receiver)
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
from LocationManager
insteadSitumPoseReceiver
callback to receive the pose data.receiver
- Callback that is asynchronously called when new pose data is received@Deprecated public void setMotionReceiver(SitumMotionReicever receiver)
SitumMotionReicever
callback to receive the motion datareceiver
- Callback that is asynchronously called when new motion information
is received@Deprecated public void setMagAccuracyReceiver(SitumMagAccuracyListener receiver)
SitumMagAccuracyListener
callback to receive the magnetic field
accuracy datareceiver
- Callback that is asynchronously called when new motion data is received@Deprecated public void setSensorErrorListener(SitumSensorErrorListener sensorErrorListener)
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
from LocationManager
insteadsensorErrorListener
- SitumSensorErrorListener
@Deprecated public boolean useWifi(boolean value)
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
from LocationManager
insteadvalue
- Use wifi information for positioning@Deprecated public boolean useBle(boolean value)
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
from LocationManager
insteadvalue
- Use ble information for positioning@Deprecated public boolean useMag(boolean value)
value
- Use magnetic field information for positioning@Deprecated public boolean useCompass(boolean value)
value
- Use compass information for positioning@Deprecated public boolean usingWifi()
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
and check LocationRequest
object@Deprecated public boolean usingBLE()
LocationManager.requestLocationUpdates(LocationRequest, LocationListener)
and check LocationRequest
object@Deprecated public boolean usingCompass()
@Deprecated public boolean usingMag()