com.adobe.mediacore.qos
Class DeviceInformation
java.lang.Object
com.adobe.mediacore.qos.DeviceInformation
public final class DeviceInformation
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceInformation
public DeviceInformation(Context context)
- Default constructor.
getOS
public String getOS()
- Returns:
- The user-visible version string.
getSDK
public int getSDK()
- Returns:
- The user-visible SDK version of the framework.
getModel
public String getModel()
- Returns:
- The end-user-visible name for the end product.
getManufacturer
public String getManufacturer()
- Returns:
- The manufacturer of the product/hardware.
getId
public String getId()
- Returns:
- Label returned by device.
getDensityDPI
public int getDensityDPI()
- Returns:
- The screen density expressed as dots-per-inch.
getHeightPixels
public int getHeightPixels()
- Returns:
- The absolute height of the display in pixels.
getWidthPixels
public int getWidthPixels()
- Returns:
- The absolute width of the display in pixels.