public class DeviceInfo extends APIBean
| Constructor and Description |
|---|
DeviceInfo()
Default constructor
|
DeviceInfo(java.lang.String name,
java.lang.String model,
java.lang.String vendor,
java.lang.String uuid)
Constructor for the implementation of the platform.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getModel()
Returns the model of the device.
|
java.lang.String |
getName()
Returns the name of the device.
|
java.lang.String |
getUuid()
Returns the platform dependent UUID of the device.
|
java.lang.String |
getVendor()
Returns the vendor of the device.
|
void |
setModel(java.lang.String model)
Sets Model of device - equivalent to device release or version.
|
void |
setName(java.lang.String name)
Sets Name of device - equivalent to brand.
|
void |
setUuid(java.lang.String uuid)
Sets Device identifier - this may not be unique for a device.
|
void |
setVendor(java.lang.String vendor)
Sets Vendor of the device hardware.
|
public DeviceInfo()
public DeviceInfo(java.lang.String name,
java.lang.String model,
java.lang.String vendor,
java.lang.String uuid)
name - or brand of the device.model - of the device.vendor - of the device.uuid - unique* identifier (* platform dependent).public java.lang.String getModel()
public void setModel(java.lang.String model)
model - Model of device - equivalent to device release or version.public java.lang.String getName()
public void setName(java.lang.String name)
name - Name of device - equivalent to brand.public java.lang.String getUuid()
public void setUuid(java.lang.String uuid)
uuid - Device identifier - this may not be unique for a device. It may depend on the platform implementation and may
be unique for a specific instance of an application on a specific device.public java.lang.String getVendor()
public void setVendor(java.lang.String vendor)
vendor - Vendor of the device hardware.