# BundleTexture

# BundleTexture

<br />

```
public interface BundleTexture
```

<br />

*** ** * ** ***

## Summary

|                                            ### Public methods                                             |
|-----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `abstract `[String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html)   | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [getDefaultFormat](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/BundleTexture#getDefaultFormat())`()` Specifies the default texture format to be used when it's not possible to deliver a format targeted to the device.                                                                                                                          |
| `abstract `[Boolean](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html) | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [getEnableSplit](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/BundleTexture#getEnableSplit())`()`                                                                                                                                                                                                                                                 |
| `abstract void`                                                                                           | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [setDefaultFormat](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/BundleTexture#setDefaultFormat(kotlin.String))`(`[String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html)` defaultFormat)` Specifies the default texture format to be used when it's not possible to deliver a format targeted to the device. |
| `abstract void`                                                                                           | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [setEnableSplit](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/BundleTexture#setEnableSplit(kotlin.Boolean))`(`[Boolean](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html)` enableSplit)`                                                                                                                       |

## Public methods

### getDefaultFormat

```
@Incubating
abstract String getDefaultFormat()
```

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  

### getEnableSplit

```
@Incubating
abstract Boolean getEnableSplit()
```  

### setDefaultFormat

```
@Incubating
abstract void setDefaultFormat(String defaultFormat)
```

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  

### setEnableSplit

```
@Incubating
abstract void setEnableSplit(Boolean enableSplit)
```