Class WurflDeviceManager

  • All Implemented Interfaces:
    IDeviceManager

    public class WurflDeviceManager
    extends java.lang.Object
    implements IDeviceManager
    Manages Device informations
    Since:
    6.0.0
    Version:
    $Revision$ $Date$
    • Constructor Summary

      Constructors 
      Constructor Description
      WurflDeviceManager()
      Constructor that initialize the Wrufl holder based on deviceDetectionNode defined on lumisportalconfig.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IDevice discoverDevice​(java.lang.String userAgent)
      Returns one Device according with the lumUserAgent informed on parameter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WurflDeviceManager

        public WurflDeviceManager()
        Constructor that initialize the Wrufl holder based on deviceDetectionNode defined on lumisportalconfig.
        Since:
        6.0.0
    • Method Detail

      • discoverDevice

        public IDevice discoverDevice​(java.lang.String userAgent)
        Description copied from interface: IDeviceManager
        Returns one Device according with the lumUserAgent informed on parameter.
        Specified by:
        discoverDevice in interface IDeviceManager
        Parameters:
        userAgent - the user agent of the device.
        Returns:
        the device informations.