public abstract class DeviceEntity
extends java.lang.Object
DeviceEntity abstract class wraps the core attributes related to the device.
These attributes are derived from the bean and are further broken down into the more dynamic
DeviceModel.| Modifier and Type | Field and Description |
|---|---|
static int |
DEVICE_TYPE_ANDROID
Android device
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
current() |
abstract java.lang.String |
deviceName()
Returns a String of the name of the device.
|
abstract java.lang.String |
deviceOs()
Returns a String of the device operation system that the device is running on.
|
abstract int |
deviceType()
Returns a boolean that represents whether or not the device is an Android device.
|
abstract java.lang.String |
deviceUuid()
Returns a String of the universally unique identifier (UUID) of the device.
|
public static final int DEVICE_TYPE_ANDROID
public abstract java.lang.String deviceUuid()
public abstract int deviceType()
true if the device is an Android device;
false otherwise.public abstract boolean current()
@Nullable public abstract java.lang.String deviceName()
@Nullable public abstract java.lang.String deviceOs()