# BundleTexture

# BundleTexture

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

<br />

```
interface BundleTexture
```

<br />

*** ** * ** ***

DSL object for configuring the App Bundle Texture options

This is accessed via[Bundle.texture](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/dsl/Bundle#texture(kotlin.Function1))

## Summary

|                                 ### Public properties                                 |
|---------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?`   | [defaultFormat](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/dsl/BundleTexture#defaultFormat()) Specifies the default texture format to be used when it's not possible to deliver a format targeted to the device. |
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [enableSplit](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/dsl/BundleTexture#enableSplit())                                                                                                                        |

## Public properties

### defaultFormat

Added in 4.2.0  

```
var defaultFormat: String?
```

Specifies the default texture format to be used when it's not possible to deliver a format targeted to the device. This is for example the case for standalone APKs, generated for pre-Lollipop devices.

If left empty or unspecified, the fallback folders (folders not containing a #tcf suffix) will be delivered to pre-Lollipop devices.

If the default format is set and not empty (for example, it's set to "etc2"), and a pre-Lollipop device does not support this format, then the app will be considered as not compatible and won't be installable.

since 4.1.0  

### enableSplit

Added in 4.2.0  

```
var enableSplit: Boolean?
```