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

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

public class DeviceAtlasDeviceInfo
extends java.lang.Object
implements DeviceInfo


Constructor Summary
DeviceAtlasDeviceInfo(java.lang.String userAgent, java.util.HashMap properties)
           
 
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

DeviceAtlasDeviceInfo

public DeviceAtlasDeviceInfo(java.lang.String userAgent,
                             java.util.HashMap properties)
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'