Class WurflDeviceManager

  • All Implemented Interfaces:
    IDeviceManager

    public class WurflDeviceManager
    extends java.lang.Object
    implements IDeviceManager
    Manages Device informations
    Since:
    6.0.0
    Version:
    $Revision: 24784 $ $Date: 2021-12-07 00:51:07 -0300 (Tue, 07 Dec 2021) $
    • 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.