Skip to main content

IosDeviceInfo class

Objects of this class are used to configure the Ultrafast Grid to render checkpoint images.

Using statement

using Applitools.VisualGrid;

IosDeviceInfo method

Syntax

IosDeviceInfo obj = new IosDeviceInfo(deviceName, screenOrientation, iosVersion);

IosDeviceInfo obj = new IosDeviceInfo(deviceName, screenOrientation);

IosDeviceInfo obj = new IosDeviceInfo(deviceName);

Parameters

deviceName

Type: IosDeviceName

One of the devices from the enumerated type of this parameter

screenOrientation

Type: ScreenOrientation [Optional : default = Applitools.VisualGrid.ScreenOrientation.Portrait ]

The orientation of the device (portait or landscape). If this parameter is not provided then the default is ScreenOrientation.Portrait

iosVersion

Type: IosVersion? [Optional : default = null ]

The iOS version to use when rendering the checkpoint for this device.

Return value

Type: IosDeviceInfo

DeviceName property

Syntax

IosDeviceName value = obj.DeviceName;

Type: IosDeviceName

ScreenOrientation property

Syntax

ScreenOrientation value = obj.ScreenOrientation;

Type: ScreenOrientation

Version property

Syntax

IosVersion? value = obj.Version;

Type: IosVersion?

Version property

Syntax

IosVersion? value = obj.Version;

Type: IosVersion?