Interface IDevice

  • All Known Implementing Classes:
    Device

    @StableMinor(version="14.2",
                 sinceVersion="6.0")
    public interface IDevice
    Represents the device informations
    Since:
    6.0.0
    Version:
    $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
    • Method Detail

      • getUserAgent

        String getUserAgent()
        Returns string representing the device's user agent
        Returns:
        string representing the device's user agent
        Throws:
        Exception
      • getCapability

        String getCapability​(String capability)
        Returns string representing the device's capability
        Parameters:
        capability - to be looked up
        Returns:
        string representing the device's capability
      • getCapabilities

        Map<String,​String> getCapabilities()
        Returns the device's capability map.
        Returns:
        the device's capability map.