Back to project page tapad-android-sdk.
The source code is released under:
MIT License
If you think the Android project tapad-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.tapad.tracking.deviceidentification; //w w w . j av a 2 s. c o m /** * An identifier value packaged with a type */ public class TypedIdentifier { /** * List of known identifier types */ public static final String TYPE_RANDOM_UUID = "100"; public static final String TYPE_ANDROID_ID_SHA1 = "101"; public static final String TYPE_ANDROID_ID_MD5 = "102"; public static final String TYPE_PHONE_ID_SHA1 = "103"; public static final String TYPE_PHONE_ID_MD5 = "104"; public static final String TYPE_WIFI_MAC_SHA1 = "105"; public static final String TYPE_WIFI_MAC_MD5 = "106"; private String type = null; private String value = null; public TypedIdentifier(String type, String value) { this.type = type; this.value = value; } /** * @return the type of the identifier */ public String getType() { return (this.type); } /** * @return the value of the identifier */ public String getValue() { return (this.value); } /** * @return the single string representation */ public String toString() { return (this.type + ":" + this.value); } }