# Bundle

# Bundle

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/Bundle.kt+class:com.android.build.api.dsl.Bundle)  
Added in 4.2.0  

<br />

```
interface Bundle
```

<br />

*** ** * ** ***

Features that apply to distribution by the bundle

## Summary

|                             ### Public functions                             |
|------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [abi](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#abi(kotlin.Function1))`(action: `[BundleAbi](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleAbi)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`                                                                                                                                             |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [codeTransparency](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#codeTransparency(kotlin.Function1))`(action: `[BundleCodeTransparency](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleCodeTransparency)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [countrySet](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#countrySet(kotlin.Function1))`(action: `[BundleCountrySet](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleCountrySet)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`                         |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [density](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#density(kotlin.Function1))`(action: `[BundleDensity](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleDensity)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`                                                                                                                             |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [deviceTier](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#deviceTier(kotlin.Function1))`(action: `[BundleDeviceTier](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleDeviceTier)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`                         |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [language](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#language(kotlin.Function1))`(action: `[BundleLanguage](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleLanguage)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`                                                                                                                         |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [storeArchive](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#storeArchive(kotlin.Function1))`(action: `[BundleStoreArchive](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleStoreArchive)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`                                                                                                         |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [texture](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#texture(kotlin.Function1))`(action: `[BundleTexture](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleTexture)`.() `->` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`                                                                                                                             |

|                                                          ### Public properties                                                          |
|-----------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|
| [BundleAbi](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleAbi)                           | [abi](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#abi())                               |
| [BundleCodeTransparency](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleCodeTransparency) | [codeTransparency](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#codeTransparency())     |
| [BundleCountrySet](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleCountrySet)             | [countrySet](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#countrySet())                 |
| [BundleDensity](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleDensity)                   | [density](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#density())                       |
| [BundleDeviceTier](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleDeviceTier)             | [deviceTier](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#deviceTier())                 |
| [DirectoryProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/file/DirectoryProperty.html)                                 | [integrityConfigDir](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#integrityConfigDir()) |
| [BundleLanguage](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleLanguage)                 | [language](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#language())                     |
| [BundleStoreArchive](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleStoreArchive)         | [storeArchive](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#storeArchive())             |
| [BundleTexture](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/BundleTexture)                   | [texture](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/dsl/Bundle#texture())                       |

## Public functions

### abi

Added in 4.2.0  

```
fun abi(action: BundleAbi.() -> Unit): Unit
```  

### codeTransparency

Added in 7.1.0  

```
@Incubating
fun codeTransparency(action: BundleCodeTransparency.() -> Unit): Unit
```  

### countrySet

Added in 8.1.0  

```
@Incubating
fun countrySet(action: BundleCountrySet.() -> Unit): Unit
```  

### density

Added in 4.2.0  

```
fun density(action: BundleDensity.() -> Unit): Unit
```  

### deviceTier

Added in 4.2.0  

```
@Incubating
fun deviceTier(action: BundleDeviceTier.() -> Unit): Unit
```  

### language

Added in 4.2.0  

```
fun language(action: BundleLanguage.() -> Unit): Unit
```  

### storeArchive

Added in 7.3.0  

```
fun storeArchive(action: BundleStoreArchive.() -> Unit): Unit
```  

### texture

Added in 4.2.0  

```
fun texture(action: BundleTexture.() -> Unit): Unit
```  

## Public properties

### abi

Added in 4.2.0  

```
val abi: BundleAbi
```  

### codeTransparency

Added in 7.1.0  

```
val codeTransparency: BundleCodeTransparency
```  

### countrySet

Added in 8.1.0  

```
val countrySet: BundleCountrySet
```  

### density

Added in 4.2.0  

```
val density: BundleDensity
```  

### deviceTier

Added in 4.2.0  

```
val deviceTier: BundleDeviceTier
```  

### integrityConfigDir

Added in 7.2.0  

```
val integrityConfigDir: DirectoryProperty
```  

### language

Added in 4.2.0  

```
val language: BundleLanguage
```  

### storeArchive

Added in 7.2.0  

```
val storeArchive: BundleStoreArchive
```  

### texture

Added in 4.2.0  

```
val texture: BundleTexture
```