Package es.situm.sdk.location
Enum LocationRequest.IndoorProvider
- java.lang.Object
-
- java.lang.Enum<LocationRequest.IndoorProvider>
-
- es.situm.sdk.location.LocationRequest.IndoorProvider
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LocationRequest.IndoorProvider>
- Enclosing class:
- LocationRequest
public static enum LocationRequest.IndoorProvider extends java.lang.Enum<LocationRequest.IndoorProvider>
Deprecated.This Enum is no longer used, the SDK always computes the geolocations in the same way (in the device without continuosly accessing the internet, behaving like the old INPHONE mode).The indoor provider used to determine how positioning was computed:- In the cloud: SDK sent sensor data to cloud, cloud answered back with the geolocation
- In phone: everything was computed in the smartphone, no need to send and receive data from the cloud continuously
- Hybrid: cloud was used most of the time, switching to in phone when no data connectivity was available
- Support: Situm debugging purposes only.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LocationRequest.IndoorProvider
valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name.static LocationRequest.IndoorProvider[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HYBRID
@Deprecated public static final LocationRequest.IndoorProvider HYBRID
Deprecated.INPHONE mode will be used insteadMixes CLOUD and INPHONE location providers. By default it will use CLOUD and will change to INPHONE if no internet connection is available.
-
CLOUD
@Deprecated public static final LocationRequest.IndoorProvider CLOUD
Deprecated.INPHONE mode will be used insteadThe SDK gathers and sends data to the cloud, and receives the geolocation (computed in the cloud) as response. Requires continuous internet connectivity.
-
INPHONE
public static final LocationRequest.IndoorProvider INPHONE
Deprecated.Default. All the positioning processing will be done in the device (no sending data back and forth to the cloud, unlike the CLOUD mode).
-
SUPPORT
@Deprecated public static final LocationRequest.IndoorProvider SUPPORT
Deprecated.INPHONE mode will be used insteadActivates support mode, only for Situm internal debugging purposes. This provider should not be used without Situm guidance.
-
-
Method Detail
-
values
public static LocationRequest.IndoorProvider[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LocationRequest.IndoorProvider c : LocationRequest.IndoorProvider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocationRequest.IndoorProvider valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-