# DeviceGroup

# DeviceGroup

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/DeviceGroup.kt+class:com.android.build.api.dsl.DeviceGroup)  
Added in 4.2.0  

<br />

```
interface DeviceGroup : Named
```

<br />

*** ** * ** ***

A group of devices to be run with tests using the Unified Test Platform.

## Summary

|                                                                                            ### Public properties                                                                                            |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
| [DomainObjectSet](https://docs.gradle.org/current/javadoc/org/gradle/api/DomainObjectSet.html)`<`[Device](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Device)`>` | [targetDevices](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/DeviceGroup#targetDevices()) |

|                                                                                                                                                                                                                      ### Inherited functions                                                                                                                                                                                                                      |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[org.gradle.api.Named](https://docs.gradle.org/current/javadoc/org/gradle/api/Named.html) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getName](https://docs.gradle.org/current/javadoc/org/gradle/api/Named.html#getName--)`()` | |

## Public properties

### targetDevices

Added in 4.2.0  

```
val targetDevices: DomainObjectSet<Device>
```