Enum Class Identity.Encoding

java.lang.Object
java.lang.Enum<Identity.Encoding>
com.mparticle.sdk.model.eventprocessing.Identity.Encoding
All Implemented Interfaces:
Serializable, Comparable<Identity.Encoding>, Constable
Enclosing class:
Identity

public static enum Identity.Encoding extends Enum<Identity.Encoding>
Identity value encoding formats.
  • Enum Constant Details

    • RAW

      public static final Identity.Encoding RAW
      No encoding applied
    • MD5

      public static final Identity.Encoding MD5
      Trimmed, converted to lower case, and hashed by MD5
    • SHA1

      public static final Identity.Encoding SHA1
      Trimmed, converted to lower case, and hashed by SHA-1
    • SHA256

      public static final Identity.Encoding SHA256
      Trimmed, converted to lower case, and hashed by SHA-256
  • Method Details

    • values

      public static Identity.Encoding[] values()
      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 Identity.Encoding valueOf(String name)
      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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Identity.Encoding>