Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
DeviceController |
Provides base-level device operations that can be used to build user actions such as folding a device, changing screen orientation etc.
|
Enums
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.test.platform.device\n=============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/test/platform/device/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [DeviceController](/reference/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. |\n\nEnums\n-----\n\n|-------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|\n| [DeviceController.ScreenOrientation](/reference/androidx/test/platform/device/DeviceController.ScreenOrientation) | Enum for screen orientations a device can be set to. |\n\nExceptions\n----------\n\n|---------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [UnsupportedDeviceOperationException](/reference/androidx/test/platform/device/UnsupportedDeviceOperationException) | An exception which indicates that the device selected does not support an operation called on it. |"]]