Stay organized with collections
Save and categorize content based on your preferences.
Bundle
interface Bundle
Features that apply to distribution by the 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Bundle\n======\n\n```\ninterface Bundle\n```\n\n|---------------------------------------|\n| [com.android.build.api.dsl.Bundle](#) |\n\nFeatures that apply to distribution by the 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/7.1/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) | [codeTransparency](#codeTransparency(kotlin.Function1))`(`action:` `[BundleCodeTransparency](/reference/tools/gradle-api/7.1/com/android/build/api/dsl/BundleCodeTransparency).()` `-\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/7.1/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/7.1/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/7.1/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/7.1/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/7.1/com/android/build/api/dsl/BundleAbi) | [abi](#abi:com.android.build.api.dsl.BundleAbi) \u003cbr /\u003e |\n| abstract [BundleCodeTransparency](/reference/tools/gradle-api/7.1/com/android/build/api/dsl/BundleCodeTransparency) | [codeTransparency](#codeTransparency:com.android.build.api.dsl.BundleCodeTransparency) \u003cbr /\u003e |\n| abstract [BundleDensity](/reference/tools/gradle-api/7.1/com/android/build/api/dsl/BundleDensity) | [density](#density:com.android.build.api.dsl.BundleDensity) \u003cbr /\u003e |\n| abstract [BundleDeviceTier](/reference/tools/gradle-api/7.1/com/android/build/api/dsl/BundleDeviceTier) | [deviceTier](#deviceTier:com.android.build.api.dsl.BundleDeviceTier) \u003cbr /\u003e |\n| abstract [BundleLanguage](/reference/tools/gradle-api/7.1/com/android/build/api/dsl/BundleLanguage) | [language](#language:com.android.build.api.dsl.BundleLanguage) \u003cbr /\u003e |\n| abstract [BundleTexture](/reference/tools/gradle-api/7.1/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### codeTransparency\n\n```\n@Incubating abstract fun codeTransparency(action: BundleCodeTransparency.() -\u003e Unit): Unit\n``` \n\n### density\n\n```\nabstract fun density(action: BundleDensity.() -\u003e Unit): Unit\n``` \n\n### deviceTier\n\n```\n@Incubating abstract 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### codeTransparency\n\n```\nabstract val codeTransparency: BundleCodeTransparency\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```"]]