Enum 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.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CLOUD
      Deprecated.
      INPHONE mode will be used instead
      HYBRID
      Deprecated.
      INPHONE mode will be used instead
      INPHONE
      Deprecated.
      Default.
      SUPPORT
      Deprecated.
      INPHONE mode will be used instead
    • 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.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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 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 name
        java.lang.NullPointerException - if the argument is null