# androidx.test.platform.device

# androidx.test.platform.device

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/test/platform/device/package-summary "View this page in Java")

## Interfaces

|-------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| [DeviceController](https://developer.android.com/reference/kotlin/androidx/test/platform/device/DeviceController) | Provides base-level device operations that can be used to build user actions such as folding a device, changing screen orientation etc. |

## Exceptions

|---------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
| [UnsupportedDeviceOperationException](https://developer.android.com/reference/kotlin/androidx/test/platform/device/UnsupportedDeviceOperationException) | An exception which indicates that the device selected does not support an operation called on it. |

## Enums

|-------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|
| [DeviceController.ScreenOrientation](https://developer.android.com/reference/kotlin/androidx/test/platform/device/DeviceController.ScreenOrientation) | Enum for screen orientations a device can be set to. |