public final class ViewportState extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ViewportState.Builder |
Modifier and Type | Method and Description |
---|---|
static ViewportState.Builder |
builder() |
boolean |
equals(Object o) |
BigDecimal |
getCurrentPixelHeight()
The number of vertical pixels in the viewport that are currently available for Alexa to render an experience.
|
BigDecimal |
getCurrentPixelWidth()
The number of horizontal pixels in the viewport that are currently available for Alexa to render an experience.
|
BigDecimal |
getDpi()
The pixel density of the viewport.
|
List<Experience> |
getExperiences()
The experiences supported by the device, in descending order of arcMinuteWidth and arcMinuteHeight.
|
List<Keyboard> |
getKeyboard()
The physical button input mechanisms supported by the device.
|
Mode |
getMode()
Get mode
For this enum type, if a value unknown to the SDK is returned the UNKNOWN_TO_SDK_VERSION
enumeration value will be returned.
|
String |
getModeAsString()
Get the underlying String value for mode.
|
BigDecimal |
getPixelHeight()
The number of pixels present in the viewport at its maximum height.
|
BigDecimal |
getPixelWidth()
The number of pixels present in the viewport at its maximum width.
|
Shape |
getShape()
Get shape
For this enum type, if a value unknown to the SDK is returned the UNKNOWN_TO_SDK_VERSION
enumeration value will be returned.
|
String |
getShapeAsString()
Get the underlying String value for shape.
|
List<Touch> |
getTouch()
The types of touch supported by the device.
|
ViewportStateVideo |
getVideo()
Get video
|
int |
hashCode() |
String |
toString() |
public static ViewportState.Builder builder()
public List<Experience> getExperiences()
public Mode getMode()
public String getModeAsString()
public Shape getShape()
public String getShapeAsString()
public BigDecimal getPixelWidth()
public BigDecimal getPixelHeight()
public BigDecimal getDpi()
public BigDecimal getCurrentPixelWidth()
public BigDecimal getCurrentPixelHeight()
public List<Touch> getTouch()
public List<Keyboard> getKeyboard()
public ViewportStateVideo getVideo()
Copyright © 2023. All rights reserved.