Enum Class UserIdTypeEnum

java.lang.Object
java.lang.Enum<UserIdTypeEnum>
cn.duskykite.open.call.result.data.UserIdTypeEnum
所有已实现的接口:
Serializable, Comparable<UserIdTypeEnum>, Constable

public enum UserIdTypeEnum extends Enum<UserIdTypeEnum>
用户 ID 类型枚举类
  • 枚举常量详细资料

    • OPEN_ID

      public static final UserIdTypeEnum OPEN_ID
      标识一个用户在某个应用中的身份。同一个用户在不同应用中的 Open ID 不同。了解更多:如何获取 Open ID
    • UNION_ID

      public static final UserIdTypeEnum UNION_ID
      标识一个用户在某个应用开发商下的身份。同一用户在同一开发商下的应用中的 Union ID 是相同的,在不同开发商下的应用中的 Union ID 是不同的。通过 Union ID,应用开发商可以把同个用户在多个应用中的身份关联起来。了解更多:如何获取 Union ID?
    • USER_ID

      public static final UserIdTypeEnum USER_ID
      标识一个用户在某个租户内的身份。同一个用户在租户 A 和租户 B 内的 User ID 是不同的。在同一个租户内,一个用户的 User ID 在所有应用(包括商店应用)中都保持一致。User ID 主要用于在不同的应用间打通用户数据。了解更多:如何获取 User ID?
  • 方法详细资料

    • values

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

      public static UserIdTypeEnum 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getByType

      public static UserIdTypeEnum getByType(String type)
      根据类型值获取枚举
      参数:
      type - 类型值
      返回:
      枚举