Package io.piano.analytics
Enum Configuration.VisitorIDType
- java.lang.Object
-
- java.lang.Enum<Configuration.VisitorIDType>
-
- io.piano.analytics.Configuration.VisitorIDType
-
- All Implemented Interfaces:
Serializable,Comparable<Configuration.VisitorIDType>
- Enclosing class:
- Configuration
public static enum Configuration.VisitorIDType extends Enum<Configuration.VisitorIDType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVERTISING_IDANDROID_IDCareful when this type used : https://developer.android.com/training/articles/user-data-idsCUSTOMGOOGLE_ADVERTISING_IDHUAWEI_OPEN_ADVERTISING_IDUUID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Configuration.VisitorIDTypefromString(String s)static Configuration.VisitorIDTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Configuration.VisitorIDType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANDROID_ID
public static final Configuration.VisitorIDType ANDROID_ID
Careful when this type used : https://developer.android.com/training/articles/user-data-ids
-
ADVERTISING_ID
public static final Configuration.VisitorIDType ADVERTISING_ID
-
GOOGLE_ADVERTISING_ID
public static final Configuration.VisitorIDType GOOGLE_ADVERTISING_ID
-
HUAWEI_OPEN_ADVERTISING_ID
public static final Configuration.VisitorIDType HUAWEI_OPEN_ADVERTISING_ID
-
UUID
public static final Configuration.VisitorIDType UUID
-
CUSTOM
public static final Configuration.VisitorIDType CUSTOM
-
-
Method Detail
-
values
public static Configuration.VisitorIDType[] 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 (Configuration.VisitorIDType c : Configuration.VisitorIDType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Configuration.VisitorIDType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static Configuration.VisitorIDType fromString(String s)
-
-