IosDeviceInfo class
Objects of this class are used to configure the Ultrafast Grid to render checkpoint images.
Import statement
import com.applitools.eyes.visualgrid.model.IosDeviceInfo;
IosDeviceInfo method
Syntax
IosDeviceInfo obj = new IosDeviceInfo(deviceName);
IosDeviceInfo obj = new IosDeviceInfo(deviceName, screenOrientation);
IosDeviceInfo obj = new IosDeviceInfo(deviceName, version);
IosDeviceInfo obj = new IosDeviceInfo(deviceName, screenOrientation, version);
Parameters
deviceName
Type: IosDeviceName
One of the devices from the enumerated type of this parameter
screenOrientation
Type: ScreenOrientation
The orientation of the device (portait or landscape).
version
Type: IosVersion
The iOS version to use when rendering the checkpoint for this device.
Return value
Type: IosDeviceInfo
getDeviceName method
Syntax
String value = obj.getDeviceName();
Parameters
This method does not take any parameters.
Return value
Type: String
getScreenOrientation method
Syntax
ScreenOrientation value = obj.getScreenOrientation();
Parameters
This method does not take any parameters.
Return value
Type: ScreenOrientation
getVersion method
Syntax
IosVersion value = obj.getVersion();
Parameters
This method does not take any parameters.
Return value
Type: IosVersion