com.endeca.mobile.services.detection
Interface DeviceInfo
- All Known Implementing Classes:
- DefaultDeviceInfo, DeviceAtlasDeviceInfo, WURFLDeviceInfo
public interface DeviceInfo
getDisplayWidth
int getDisplayWidth()
getDisplayHeight
int getDisplayHeight()
getUsableDisplayWidth
int getUsableDisplayWidth()
getUsableDisplayHeight
int getUsableDisplayHeight()
isMobile
boolean isMobile()
isTablet
boolean isTablet()
getOS
java.lang.String getOS()
- Returns:
- 'iOS', 'Android', 'webOS', 'RIM', 'Symbian', 'Windows', 'Linux', 'Unknown', or a proprietary OS if known
getProfile
java.lang.String getProfile()
- Returns:
- returns 'simpleHTML', 'fullHTML', or 'HTML5'