Interface IDevice

  • All Known Implementing Classes:
    Device

    @StableMinor(version="17.0",
                 sinceVersion="6.0")
    public interface IDevice
    Represents the device informations
    Since:
    6.0.0
    Version:
    $Revision$ $Date$
    • 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.