SpatialWindowTester


public final class SpatialWindowTester


A test data accessor for the SpatialWindow.

Summary

Public methods

final float

The preferred main panel aspect ratio determined by taking the panel's width over its height.

Public methods

getPreferredAspectRatio

Added in 1.0.0-alpha16
public final float getPreferredAspectRatio()

The preferred main panel aspect ratio determined by taking the panel's width over its height.

This reflects the preference set via SpatialWindow.setPreferredAspectRatio.

SpatialWindow.NO_PREFERRED_ASPECT_RATIO indicates that there are no preferences for Home Space Mode.