com.nativex.advertiser
Class SerialNumberFactory
java.lang.Object
com.nativex.advertiser.SerialNumberFactory
class SerialNumberFactory
- extends Object
Used to determine if the serial number exists for the device. Serial number only exists for devices versions 2.3 and higher.
- Author:
- matthew.macgregor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialNumber
private static String serialNumber
SerialNumberFactory
SerialNumberFactory()
getSerialNumber
public static String getSerialNumber()
- Returns the serial number for the android device, or null if it does not exist.
- Returns:
- Serial number or null if no S/N exists for the device.
initSerialNumberCompatibility
private static void initSerialNumberCompatibility()
- Uses reflection to access the serial number for the android device.