Package com.mparticle
Enum MParticle.IdentityType
- java.lang.Object
-
- java.lang.Enum<MParticle.IdentityType>
-
- com.mparticle.MParticle.IdentityType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MParticle.IdentityType>
- Enclosing class:
- MParticle
public static enum MParticle.IdentityType extends java.lang.Enum<MParticle.IdentityType>
Identity type to use when setting the user identity.- See Also:
IdentityApiRequest
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Alias
CustomerId
Email
Facebook
FacebookCustomAudienceId
Google
Microsoft
MobileNumber
Other
Other10
Other2
Other3
Other4
Other5
Other6
Other7
Other8
Other9
PhoneNumber2
PhoneNumber3
Twitter
Yahoo
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static MParticle.IdentityType
parseInt(int val)
static MParticle.IdentityType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MParticle.IdentityType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Other
public static final MParticle.IdentityType Other
-
CustomerId
public static final MParticle.IdentityType CustomerId
-
Facebook
public static final MParticle.IdentityType Facebook
-
Twitter
public static final MParticle.IdentityType Twitter
-
Google
public static final MParticle.IdentityType Google
-
Microsoft
public static final MParticle.IdentityType Microsoft
-
Yahoo
public static final MParticle.IdentityType Yahoo
-
Email
public static final MParticle.IdentityType Email
-
Alias
public static final MParticle.IdentityType Alias
-
FacebookCustomAudienceId
public static final MParticle.IdentityType FacebookCustomAudienceId
-
Other2
public static final MParticle.IdentityType Other2
-
Other3
public static final MParticle.IdentityType Other3
-
Other4
public static final MParticle.IdentityType Other4
-
Other5
public static final MParticle.IdentityType Other5
-
Other6
public static final MParticle.IdentityType Other6
-
Other7
public static final MParticle.IdentityType Other7
-
Other8
public static final MParticle.IdentityType Other8
-
Other9
public static final MParticle.IdentityType Other9
-
Other10
public static final MParticle.IdentityType Other10
-
MobileNumber
public static final MParticle.IdentityType MobileNumber
-
PhoneNumber2
public static final MParticle.IdentityType PhoneNumber2
-
PhoneNumber3
public static final MParticle.IdentityType PhoneNumber3
-
-
Method Detail
-
values
public static MParticle.IdentityType[] 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 (MParticle.IdentityType c : MParticle.IdentityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MParticle.IdentityType 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 namejava.lang.NullPointerException
- if the argument is null
-
parseInt
@NonNull public static MParticle.IdentityType parseInt(int val)
-
getValue
public int getValue()
-
-