Class DummyDeviceManager

  • All Implemented Interfaces:
    IDeviceManager

    public class DummyDeviceManager
    extends java.lang.Object
    implements IDeviceManager
    A device manager implementation that does not performs any detection, always returning a dummy device that has no capability.
    Since:
    6.2.0
    Version:
    $Revision$ $Date$
    • 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

      • DummyDeviceManager

        public DummyDeviceManager()
    • 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.