Package de.otto.jlineup.config
Class DeviceConfig
java.lang.Object
de.otto.jlineup.config.DeviceConfig
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceConfigdeviceConfig(int width, int height) static DeviceConfig.BuilderbooleanintfloatintgetWidth()inthashCode()booleanbooleanbooleanisMobile()booleanbooleanisTouch()toString()
-
Field Details
-
width
public final int width -
height
public final int height -
pixelRatio
public final float pixelRatio -
deviceName
-
userAgent
-
touch
public final boolean touch
-
-
Constructor Details
-
DeviceConfig
public DeviceConfig()
-
-
Method Details
-
deviceConfig
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getPixelRatio
public float getPixelRatio() -
getDeviceName
-
getUserAgent
-
isTouch
public boolean isTouch() -
deviceConfigBuilder
-
isDesktop
public boolean isDesktop() -
isMobile
public boolean isMobile() -
isGenericMobile
public boolean isGenericMobile() -
isSpecificMobile
public boolean isSpecificMobile() -
equals
-
hashCode
public int hashCode() -
toString
-