Enum Class LocationRequest.IndoorProvider

java.lang.Object
java.lang.Enum<LocationRequest.IndoorProvider>
es.situm.sdk.location.LocationRequest.IndoorProvider
All Implemented Interfaces:
Serializable, Comparable<LocationRequest.IndoorProvider>, Constable
Enclosing class:
LocationRequest

public static enum LocationRequest.IndoorProvider extends 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.
  • Enum Constant Details

    • HYBRID

      @Deprecated public static final LocationRequest.IndoorProvider HYBRID
      Deprecated.
      INPHONE mode will be used instead
      Mixes 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 instead
      The 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 instead
      Activates support mode, only for Situm internal debugging purposes. This provider should not be used without Situm guidance.
  • Method Details

    • values

      public static LocationRequest.IndoorProvider[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LocationRequest.IndoorProvider valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null