Interface IDevice

  • All Known Implementing Classes:
    Device

    @StableMinor(version="16.0",
                 sinceVersion="6.0")
    public interface IDevice
    Represents the device informations
    Since:
    6.0.0
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getCapabilities()
      Returns the device's capability map.
      java.lang.String getCapability​(java.lang.String capability)
      Returns string representing the device's capability
      java.lang.String getUserAgent()
      Returns string representing the device's user agent
    • Method Detail

      • getUserAgent

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

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

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