Enum UWBShareType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<UWBShareType>

    public enum UWBShareType
    extends java.lang.Enum<UWBShareType>
    UWBShareType specifies the type of location constraints you want shared over the UWB network to other UWB tracking units in your UWB Sharing Channel. CHECK_IN means that any user corrections you make will be shared over the UWB network to nearby users and provide a constraint to their location as well. GPS shares any GPS locations received over the UWB network, so one tracker in a group could provide GPS locations to others in the network who might not have GPS. Be warned that any sharing can impact location for everyone in the share group so use with caution. Note that for a group of users, one person should be the sender set the share type to share constraints, while the others should be receivers and set the share type to NONE
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      RECEIVE
      No constraints will be sent but constraints will be received from others in the network
      SEND_GPS
      GPS constraints will be sent to others but no constraints will be received from others
      SEND_LOCATION
      Locations will be sent to others but no constraints will be received from others
      SEND_RECEIVE_CHECK_IN
      User corrections will be shared to the network and user corrections will be received from others on the network
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static UWBShareType fromString​(java.lang.String value)  
      java.lang.String getValue()  
      static UWBShareType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static UWBShareType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

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

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

      • RECEIVE

        public static final UWBShareType RECEIVE
        No constraints will be sent but constraints will be received from others in the network
      • SEND_GPS

        public static final UWBShareType SEND_GPS
        GPS constraints will be sent to others but no constraints will be received from others
      • SEND_LOCATION

        public static final UWBShareType SEND_LOCATION
        Locations will be sent to others but no constraints will be received from others
      • SEND_RECEIVE_CHECK_IN

        public static final UWBShareType SEND_RECEIVE_CHECK_IN
        User corrections will be shared to the network and user corrections will be received from others on the network
    • Method Detail

      • values

        public static UWBShareType[] values()
        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 (UWBShareType c : UWBShareType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UWBShareType valueOf​(java.lang.String name)
        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
      • getValue

        public java.lang.String getValue()
      • fromString

        public static UWBShareType fromString​(java.lang.String value)