com.applitools.eyes.visualgrid.model.DeviceTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-ufg-java5 Show documentation
Show all versions of eyes-ufg-java5 Show documentation
UFG module of Applitools java sdk
package com.applitools.eyes.visualgrid.model;
public class DeviceTarget {
private final String deviceName;
private ScreenOrientation orientation;
protected DeviceTarget(String deviceName) {
this.deviceName = deviceName;
}
public String getDeviceName() {
return deviceName;
}
public ScreenOrientation getOrientation() {
return orientation;
}
public DeviceTarget orientation(ScreenOrientation orientation) {
this.orientation = orientation;
return this;
}
public DeviceTarget landscape() {
orientation(ScreenOrientation.LANDSCAPE);
return this;
}
public DeviceTarget portrait() {
orientation(ScreenOrientation.PORTRAIT);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy