Liferay 7.0-ga1 portal-kernel

com.liferay.portal.kernel.mobile.device
Class UnknownDevice

java.lang.Object
  extended by com.liferay.portal.kernel.mobile.device.AbstractDevice
      extended by com.liferay.portal.kernel.mobile.device.UnknownDevice
All Implemented Interfaces:
Device, Serializable

@ProviderType
public class UnknownDevice
extends AbstractDevice

Class represents unknown device

See Also:
Serialized Form

Method Summary
 String getBrand()
           
 String getBrowser()
           
 String getBrowserVersion()
           
 Map<String,Capability> getCapabilities()
          Deprecated. As of 7.0.0, with no direct replacement
 String getCapability(String name)
          Deprecated. As of 7.0.0, with no direct replacement
static UnknownDevice getInstance()
           
 String getModel()
           
 String getOS()
           
 String getOSVersion()
           
 String getPointingMethod()
           
 Dimensions getScreenPhysicalSize()
           
 Dimensions getScreenResolution()
           
 boolean hasQwertyKeyboard()
           
 boolean isTablet()
           
 
Methods inherited from class com.liferay.portal.kernel.mobile.device.AbstractDevice
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static UnknownDevice getInstance()

getBrand

public String getBrand()

getBrowser

public String getBrowser()

getBrowserVersion

public String getBrowserVersion()

getCapabilities

@Deprecated
public Map<String,Capability> getCapabilities()
Deprecated. As of 7.0.0, with no direct replacement


getCapability

@Deprecated
public String getCapability(String name)
Deprecated. As of 7.0.0, with no direct replacement


getModel

public String getModel()

getOS

public String getOS()

getOSVersion

public String getOSVersion()

getPointingMethod

public String getPointingMethod()

getScreenPhysicalSize

public Dimensions getScreenPhysicalSize()

getScreenResolution

public Dimensions getScreenResolution()

hasQwertyKeyboard

public boolean hasQwertyKeyboard()

isTablet

public boolean isTablet()

Liferay 7.0-ga1 portal-kernel