Stay organized with collections
Save and categorize content based on your preferences.
BundleTexture
interface BundleTexture
Summary
Properties
|
abstract String? |
Specifies the default texture format to be used when it's not possible
to deliver a format targeted to the device.
|
abstract Boolean? |
|
Properties
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?
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# BundleTexture\n=============\n\n```\ninterface BundleTexture\n```\n\n|----------------------------------------------|\n| [com.android.build.api.dsl.BundleTexture](#) |\n\nSummary\n-------\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | [defaultFormat](#defaultFormat:kotlin.String) Specifies the default texture format to be used when it's not possible to deliver a format targeted to the device. |\n| abstract [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? | [enableSplit](#enableSplit:kotlin.Boolean) \u003cbr /\u003e |\n\nProperties\n----------\n\n### defaultFormat\n\nAdded in [API level 4.1.0](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract var defaultFormat: String?\n```\n\nSpecifies the default texture format to be used when it's not possible\nto deliver a format targeted to the device. This is for example the case\nfor standalone APKs, generated for pre-Lollipop devices.\n\nIf left empty or unspecified, the fallback folders (folders not containing\na #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\"),\nand a pre-Lollipop device does not support this format, then the app will be\nconsidered as not compatible and won't be installable. \n\n### enableSplit\n\n```\nabstract var enableSplit: Boolean?\n```"]]