com.endeca.mobile.services.detection.impl
Class WURFLDeviceInfo

java.lang.Object
  extended by com.endeca.mobile.services.detection.impl.WURFLDeviceInfo
All Implemented Interfaces:
DeviceInfo

public class WURFLDeviceInfo
extends java.lang.Object
implements DeviceInfo


Constructor Summary
WURFLDeviceInfo(net.sourceforge.wurfl.core.Device device)
           
 
Method Summary
 int getDisplayHeight()
           
 int getDisplayWidth()
           
 java.lang.String getOS()
           
 java.lang.String getProfile()
           
 int getUsableDisplayHeight()
           
 int getUsableDisplayWidth()
           
 boolean isMobile()
           
 boolean isTablet()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WURFLDeviceInfo

public WURFLDeviceInfo(net.sourceforge.wurfl.core.Device device)
Method Detail

getDisplayWidth

public int getDisplayWidth()
Specified by:
getDisplayWidth in interface DeviceInfo

getDisplayHeight

public int getDisplayHeight()
Specified by:
getDisplayHeight in interface DeviceInfo

getUsableDisplayWidth

public int getUsableDisplayWidth()
Specified by:
getUsableDisplayWidth in interface DeviceInfo

getUsableDisplayHeight

public int getUsableDisplayHeight()
Specified by:
getUsableDisplayHeight in interface DeviceInfo

isMobile

public boolean isMobile()
Specified by:
isMobile in interface DeviceInfo

isTablet

public boolean isTablet()
Specified by:
isTablet in interface DeviceInfo

getOS

public java.lang.String getOS()
Specified by:
getOS in interface DeviceInfo
Returns:
'iOS', 'Android', 'webOS', 'RIM', 'Symbian', 'Windows', 'Linux', 'Unknown', or a proprietary OS if known

getProfile

public java.lang.String getProfile()
Specified by:
getProfile in interface DeviceInfo
Returns:
returns 'simpleHTML', 'fullHTML', or 'HTML5'