info.magnolia.module.devicedetection
Class DeviceInfo

java.lang.Object
  extended by info.magnolia.module.devicedetection.DeviceInfo

public class DeviceInfo
extends Object

Provides information about the used device. All attributes are initially set to defaults defined by the corresponding constants.

Version:
$Id$

Constructor Summary
DeviceInfo()
           
 
Method Summary
 boolean isSmartphone()
           
 boolean isTablet()
           
 void setSmartphone(boolean isSmartphone)
           
 void setTablet(boolean isTablet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceInfo

public DeviceInfo()
Method Detail

isTablet

public boolean isTablet()

setTablet

public void setTablet(boolean isTablet)

isSmartphone

public boolean isSmartphone()

setSmartphone

public void setSmartphone(boolean isSmartphone)


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.