Class EmulatedDevice
Emulated Device class containing predefined emulated devices.
Inherited Members
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public class EmulatedDevice : IEmulatedDevice, IEnvironment
Constructors
EmulatedDevice()
Initializes a new instance of the EmulatedDevice class.
Declaration
public EmulatedDevice()
Properties
GalaxyS5
Galaxy S5 emulated device.
Declaration
public static IEmulatedDevice GalaxyS5 { get; }
Property Value
| Type | Description |
|---|---|
| IEmulatedDevice |
Height
The height of the emulated device screen.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IPad
iPad emulated device.
Declaration
public static IEmulatedDevice IPad { get; }
Property Value
| Type | Description |
|---|---|
| IEmulatedDevice |
IPhone5
iPhone 5 emulated device.
Declaration
public static IEmulatedDevice IPhone5 { get; }
Property Value
| Type | Description |
|---|---|
| IEmulatedDevice |
IPhone6
iPhone 6 emulated device.
Declaration
public static IEmulatedDevice IPhone6 { get; }
Property Value
| Type | Description |
|---|---|
| IEmulatedDevice |
IPhone6Plus
iPhone 6 Plus emulated device.
Declaration
public static IEmulatedDevice IPhone6Plus { get; }
Property Value
| Type | Description |
|---|---|
| IEmulatedDevice |
IsMobile
The Mobile capability of the emulated device.
Declaration
public bool IsMobile { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsTouchable
The Touchable capability of the emulated device screen.
Declaration
public bool IsTouchable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
The name of the emulated device.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Nexus5X
Nexus 5X emulated device.
Declaration
public static IEmulatedDevice Nexus5X { get; }
Property Value
| Type | Description |
|---|---|
| IEmulatedDevice |
Nexus6P
Nexus 6P emulated device.
Declaration
public static IEmulatedDevice Nexus6P { get; }
Property Value
| Type | Description |
|---|---|
| IEmulatedDevice |
ScaleFactor
The scale factor of the emulated device screen.
Declaration
public double ScaleFactor { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
UserAgent
The UserAgent property of the emulated device.
Declaration
public string UserAgent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Width
The width of the emulated device screen.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int |