Stay organized with collections
Save and categorize content based on your preferences.
Device
@Incubating interface Device
Top-level interface for all devices to run applications by tasks in the Android Gradle Plugin.
Summary
Inherited functions |
From class Named
|
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\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[ManagedVirtualDevice](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/ManagedVirtualDevice) \n\n|--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------|\n| [ManagedVirtualDevice](/reference/tools/gradle-api/7.2/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 [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--)`()` | |"]]