Stay organized with collections
Save and categorize content based on your preferences.
Bundle
@Incubating interface Bundle
Summary
Public methods
Properties
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,["# Bundle\n======\n\n```\n@Incubating interface Bundle\n```\n\n|---------------------------------------|\n| [com.android.build.api.dsl.Bundle](#) |\n\nSummary\n-------\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [abi](#abi(kotlin.Function1))`(`action:` `[BundleAbi](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleAbi).()` `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` \u003cbr /\u003e |\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [density](#density(kotlin.Function1))`(`action:` `[BundleDensity](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleDensity).()` `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` \u003cbr /\u003e |\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [deviceTier](#deviceTier(kotlin.Function1))`(`action:` `[BundleDeviceTier](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleDeviceTier).()` `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` \u003cbr /\u003e |\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [language](#language(kotlin.Function1))`(`action:` `[BundleLanguage](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleLanguage).()` `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` \u003cbr /\u003e |\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [texture](#texture(kotlin.Function1))`(`action:` `[BundleTexture](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleTexture).()` `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` \u003cbr /\u003e |\n\n| ### Properties ||\n|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|\n| abstract [BundleAbi](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleAbi) | [abi](#abi:com.android.build.api.dsl.BundleAbi) \u003cbr /\u003e |\n| abstract [BundleDensity](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleDensity) | [density](#density:com.android.build.api.dsl.BundleDensity) \u003cbr /\u003e |\n| abstract [BundleDeviceTier](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleDeviceTier) | [deviceTier](#deviceTier:com.android.build.api.dsl.BundleDeviceTier) \u003cbr /\u003e |\n| abstract [BundleLanguage](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleLanguage) | [language](#language:com.android.build.api.dsl.BundleLanguage) \u003cbr /\u003e |\n| abstract [BundleTexture](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/BundleTexture) | [texture](#texture:com.android.build.api.dsl.BundleTexture) \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### abi\n\n```\nabstract fun abi(action: BundleAbi.() -\u003e Unit): Unit\n``` \n\n### density\n\n```\nabstract fun density(action: BundleDensity.() -\u003e Unit): Unit\n``` \n\n### deviceTier\n\n```\nabstract fun deviceTier(action: BundleDeviceTier.() -\u003e Unit): Unit\n``` \n\n### language\n\n```\nabstract fun language(action: BundleLanguage.() -\u003e Unit): Unit\n``` \n\n### texture\n\n```\nabstract fun texture(action: BundleTexture.() -\u003e Unit): Unit\n```\n\nProperties\n----------\n\n### abi\n\n```\nabstract val abi: BundleAbi\n``` \n\n### density\n\n```\nabstract val density: BundleDensity\n``` \n\n### deviceTier\n\n```\nabstract val deviceTier: BundleDeviceTier\n``` \n\n### language\n\n```\nabstract val language: BundleLanguage\n``` \n\n### texture\n\n```\nabstract val texture: BundleTexture\n```"]]