# Device

# Device

<br />

```
@Incubating interface Device : Named, Serializable
```

<br />

Known direct subclasses  
[ManagedVirtualDevice](https://developer.android.com/reference/tools/gradle-api/8.0/com/android/build/api/dsl/ManagedVirtualDevice)  

|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------|
| [ManagedVirtualDevice](https://developer.android.com/reference/tools/gradle-api/8.0/com/android/build/api/dsl/ManagedVirtualDevice) | Device type for emulators to be managed by the Android Gradle Plugin. |

*** ** * ** ***

Top-level interface for all devices to run applications by tasks in the Android Gradle Plugin.

## Summary

|                                                                                                                                                                                     ### Public functions                                                                                                                                                                                     ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
| `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` @`[Internal](https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/Internal.html)` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getName](https://developer.android.com/reference/tools/gradle-api/8.0/com/android/build/api/dsl/Device#getName())`()` |

## Public functions

### getName

```
@Incubating
@Internal
fun getName(): String
```