Stay organized with collections
Save and categorize content based on your preferences.
BundleTexture
interface BundleTexture
Summary
Public properties |
String? |
Specifies the default texture format to be used when it's not possible to deliver a format targeted to the device.
|
Boolean? |
|
Public properties
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
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# BundleTexture\n=============\n\n\n```\ninterface BundleTexture\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public properties ||\n|---------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` | [defaultFormat](/reference/tools/gradle-api/8.2/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. |\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [enableSplit](/reference/tools/gradle-api/8.2/com/android/build/api/dsl/BundleTexture#enableSplit()) |\n\nPublic properties\n-----------------\n\n### defaultFormat\n\n```\nvar defaultFormat: String?\n```\n\nSpecifies 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.\n\nIf left empty or unspecified, the fallback folders (folders not containing a #tcf suffix) will be delivered to pre-Lollipop devices.\n\nIf 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.\n\nsince 4.1.0 \n\n### enableSplit\n\n```\nvar enableSplit: Boolean?\n```"]]