com.liferay.portal.kernel.mobile.device
Class AbstractDevice
java.lang.Object
com.liferay.portal.kernel.mobile.device.AbstractDevice
- All Implemented Interfaces:
- Device, Serializable
- Direct Known Subclasses:
- UnknownDevice
public abstract class AbstractDevice
- extends Object
- implements Device
Abstract class containing common methods for all devices
- See Also:
- Serialized Form
Methods inherited from interface com.liferay.portal.kernel.mobile.device.Device |
getBrand, getBrowser, getBrowserVersion, getCapabilities, getCapability, getModel, getOS, getOSVersion, getPointingMethod, getScreenPhysicalSize, getScreenResolution, hasQwertyKeyboard, isTablet |
AbstractDevice
public AbstractDevice()
getScreenSize
public Dimensions getScreenSize()
- Deprecated. As of 6.2.0, replaced by
Device.getScreenResolution()
- Specified by:
getScreenSize
in interface Device
toString
public String toString()
- Overrides:
toString
in class Object