Class Device

  • All Implemented Interfaces:
    IDevice

    public class Device
    extends Object
    implements IDevice
    Represents the device informations
    Since:
    6.0.0
    Version:
    $Revision: 19846 $ $Date: 2017-01-30 14:43:33 -0200 (Mon, 30 Jan 2017) $
    • Method Detail

      • getUserAgent

        public String getUserAgent()
        Returns string representing the device's user agent
        Specified by:
        getUserAgent in interface IDevice
        Returns:
        string representing the device's user agent
        Throws:
        Exception
      • getCapability

        public String getCapability​(String capability)
        Returns string representing the device's capability
        Specified by:
        getCapability in interface IDevice
        Parameters:
        capability - to be looked up
        Returns:
        string representing the device's capability
      • getCapabilities

        public Map<String,​String> getCapabilities()
        Returns the device's capability map.
        Specified by:
        getCapabilities in interface IDevice
        Returns:
        the device's capability map.