# BundleTexture

# BundleTexture

```
interface BundleTexture
```

|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [com.android.build.api.dsl.BundleTexture](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/dsl/BundleTexture#) |

## Summary

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

## Properties

### defaultFormat

Added in[API level 4.1.0](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract 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.  

### enableSplit

```
abstract var enableSplit: Boolean?
```