Open topic with navigation

DeviceDescription Class
The description of a mobile Device test object.

C# Syntax

    public class DeviceDescription : HP.LFT.SDK.PropertiesDescription, HP.LFT.SDK.IDescription

Inheritance Hierarchy

System.Object
HP.LFT.SDK.PropertiesDescription
HP.LFT.SDK.Mobile.DeviceDescription

Public Constructors

| Name | Description
--- | --- | ---
| DeviceDescription Constructor | Creates a new instance of DeviceDescription.Initializes a new instance of the DeviceDescription class.

Top
Public Properties

| Name | Description
--- | --- | ---
| Dictionary | For internal usage.
| Id | The device ID used by Mobile Center.
| Manufacturer | The manufacturer of the device.
| Model | The model of the device.
| Name | The logical name that Mobile Center uses to identify the device.
| OsType | The operating system currently running on the device.
| OsVersion | The operating system version currently running on the device. The following symbols are supported: >, >=, <, <= For example: OsVersion = ">4.0" OsVersion = ">=4.1"

Top
Public Methods

| Name | Description
--- | --- | ---
| Clone | Creates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription )
| FromDictionary | This method creates a new instance of DeviceDescription and initializes it with the given props dictionary.
| Get | Returns the current value of a DeviceDescription capability.
| Set | Sets a DeviceDescription capability to the given value.

Top