Stay organized with collections
Save and categorize content based on your preferences.
Device
@Incubating interface Device : Named
Top-level interface for all devices to run applications by tasks in the Android Gradle Plugin.
Summary
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-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Device\n======\n\n\n```\n@Incubating interface Device : Named\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[ManagedVirtualDevice](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ManagedVirtualDevice) \n\n|--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------|\n| [ManagedVirtualDevice](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ManagedVirtualDevice) | Device type for emulators to be managed by the Android Gradle Plugin. |\n\n*** ** * ** ***\n\nTop-level interface for all devices to run applications by tasks in the Android Gradle Plugin.\n\nSummary\n-------\n\n| ### Inherited functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| From class [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--)`()` | |"]]