|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.util.DeviceInfo
public class DeviceInfo
Provides information about the current device
History 04/02/2010 - David Rubin Added support for RIM vendor results in vendor
Copyright Enough Software 2009
| Field Summary | |
|---|---|
static int |
VENDOR_ACER
The vendor of this device is Acer |
static int |
VENDOR_ALCATEL
The vendor of this device is Alcatel |
static int |
VENDOR_BLACKBERRY
The vendor of this device is BlackBerry |
static int |
VENDOR_LG
The vendor of this device is LG |
static int |
VENDOR_MOTOROLA
The vendor of this device is Motorola |
static int |
VENDOR_NOKIA
The vendor of this device is Nokia |
static int |
VENDOR_SAGEM
The vendor of this device is Sagem |
static int |
VENDOR_SAMSUNG
The vendor of this device is Samsung |
static int |
VENDOR_SONY_ERICSSON
The vendor of this device is Sony Ericsson |
static int |
VENDOR_UNKNOWN
The vendor of this device is not known |
static int |
VENDOR_ZTE
The vendor of this device is ZTE |
| Method Summary | |
|---|---|
static String |
getDeviceId()
Retrieves a unique ID of this device. |
static String |
getDeviceName()
Tries to determine the name of this device model, e.g. |
static int |
getKeyInputModeSwitch()
Tries to guess the key for changing the input mode, e.g. |
static int |
getKeySpace()
Tries to guess the key for entering a space character. |
static String |
getPlatformName()
|
static int |
getVendor()
Tries to detect the vendor of this device. |
static String |
getVendorName()
Retrieves the name of the device's vendor or null when it cannot be detected. |
static boolean |
hasPointerEvents()
Tests if the current device has pointer events |
static boolean |
requiresFullRgbArrayForDrawRgb()
Checks if the device requires a full RGB array consisting of the width x height of the covered area |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VENDOR_UNKNOWN
public static final int VENDOR_NOKIA
public static final int VENDOR_SAMSUNG
public static final int VENDOR_LG
public static final int VENDOR_SONY_ERICSSON
public static final int VENDOR_MOTOROLA
public static final int VENDOR_ZTE
public static final int VENDOR_ACER
public static final int VENDOR_ALCATEL
public static final int VENDOR_BLACKBERRY
public static final int VENDOR_SAGEM
| Method Detail |
|---|
public static int getVendor()
public static String getVendorName()
public static String getDeviceName()
public static String getPlatformName()
public static int getKeyInputModeSwitch()
public static int getKeySpace()
public static boolean requiresFullRgbArrayForDrawRgb()
public static boolean hasPointerEvents()
public static String getDeviceId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||