Enum LDConfig.Builder.AutoEnvAttributes

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LDConfig.Builder.AutoEnvAttributes>
    Enclosing class:
    LDConfig.Builder

    public static enum LDConfig.Builder.AutoEnvAttributes
    extends java.lang.Enum<LDConfig.Builder.AutoEnvAttributes>
    Enable / disable options for Auto Environment Attributes functionality. When enabled, the SDK will automatically provide data about the mobile environment where the application is running. This data makes it simpler to target your mobile customers based on application name or version, or on device characteristics including manufacturer, model, operating system, locale, and so on. We recommend enabling this when you configure the SDK. See TKTK for more documentation. For example, consider a “dark mode” feature being added to an app. Versions 10 through 14 contain early, incomplete versions of the feature. These versions are available to all customers, but the “dark mode” feature is only enabled for testers. With version 15, the feature is considered complete. With Auto Environment Attributes enabled, you can use targeting rules to enable "dark mode" for all customers who are using version 15 or greater, and ensure that customers on previous versions don't use the earlier, unfinished version of the feature.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      Disabled  
      Enabled  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LDConfig.Builder.AutoEnvAttributes valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static LDConfig.Builder.AutoEnvAttributes[] 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
    • Method Detail

      • values

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

        public static LDConfig.Builder.AutoEnvAttributes 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