Share this page

com.hp.lft.sdk.mobile

## Interface DeviceInfo

-     public interface DeviceInfo

  Information regarding available mobile device returned from UFT Mobile.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getId()` Returns the ID of the device UFT Mobile.
    `java.lang.String` | `getManufacturer()` Returns the manufacturer of the device.
    `java.lang.String` | `getModel()` Returns the model name of the device.
    `java.lang.String` | `getName()` Returns name of the device as defined in UFT Mobile.
    `java.lang.String` | `getOSType()` Returns the operating system currently running on the device.
    `java.lang.String` | `getOSVersion()` Returns the operating system version currently running on the device.

- - ### Method Detail

    - #### getId

          java.lang.String getId()
                          throws GeneralLeanFtException

      Returns the ID of the device UFT Mobile.
      Returns:
        the ID of the device UFT Mobile.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getModel

          java.lang.String getModel()
                             throws GeneralLeanFtException

      Returns the model name of the device.
      Returns:
        the model name of the device.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getManufacturer

          java.lang.String getManufacturer()
                                    throws GeneralLeanFtException

      Returns the manufacturer of the device.
      Returns:
        the manufacturer of the device.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getOSType

          java.lang.String getOSType()
                              throws GeneralLeanFtException

      Returns the operating system currently running on the device.
      Returns:
        the operating system currently running on the device.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getOSVersion

          java.lang.String getOSVersion()
                                 throws GeneralLeanFtException

      Returns the operating system version currently running on the device.
      Returns:
        the operating system version currently running on the device.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getName

          java.lang.String getName()
                            throws GeneralLeanFtException

      Returns name of the device as defined in UFT Mobile.
      Returns:
        the name of the device as defined in UFT Mobile.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: