Package org.robolectric.shadows
Class DeviceStateSensorOrientationBuilder
java.lang.Object
org.robolectric.shadows.DeviceStateSensorOrientationBuilder
public class DeviceStateSensorOrientationBuilder extends Object
Builder for
DeviceStateSensorOrientationMap
which was introduced in Android T.-
Method Summary
Modifier and Type Method Description DeviceStateSensorOrientationBuilder
addSensorOrientationMap(long[] sensorOrientationMap)
DeviceStateSensorOrientationMap
build()
static DeviceStateSensorOrientationBuilder
newBuilder()
-
Method Details
-
newBuilder
-
addSensorOrientationMap
@CanIgnoreReturnValue public DeviceStateSensorOrientationBuilder addSensorOrientationMap(long[] sensorOrientationMap) -
build
-