Stay organized with collections
Save and categorize content based on your preferences.
AssetPackExtension
@Incubating interface AssetPackExtension
Extension properties for the Asset Pack plugin.
Summary
Public methods
|
abstract Unit |
|
Properties
|
abstract DynamicDelivery |
Contains the dynamic delivery settings for the asset pack.
|
abstract Property<String> |
The split name to assign to the asset pack.
|
Public methods
Properties
dynamicDelivery
abstract val dynamicDelivery: DynamicDelivery
Contains the dynamic delivery settings for the asset pack.
packName
abstract val packName: Property<String>
The split name to assign to the asset pack.
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,["# AssetPackExtension\n==================\n\n```\n@Incubating interface AssetPackExtension\n```\n\n|---------------------------------------------------|\n| [com.android.build.api.dsl.AssetPackExtension](#) |\n\nExtension properties for the Asset Pack plugin.\n\nSummary\n-------\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [dynamicDelivery](#dynamicDelivery(kotlin.Function1))`(`action:` `[DynamicDelivery](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/DynamicDelivery).()` `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` \u003cbr /\u003e |\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [DynamicDelivery](/reference/tools/gradle-api/4.2/com/android/build/api/dsl/DynamicDelivery) | [dynamicDelivery](#dynamicDelivery:com.android.build.api.dsl.DynamicDelivery) Contains the dynamic delivery settings for the asset pack. |\n| abstract [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)\\\u003c[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)\\\u003e | [packName](#packName:org.gradle.api.provider.Property) The split name to assign to the asset pack. |\n\nPublic methods\n--------------\n\n### dynamicDelivery\n\n```\nabstract fun dynamicDelivery(action: DynamicDelivery.() -\u003e Unit): Unit\n``` \n**See Also**\n\n- `\n `[dynamicDelivery](#dynamicDelivery(kotlin.Function1))\n `\n `\n\nProperties\n----------\n\n### dynamicDelivery\n\n```\nabstract val dynamicDelivery: DynamicDelivery\n```\n\nContains the dynamic delivery settings for the asset pack. \n\n### packName\n\n```\nabstract val packName: Property\u003cString\u003e\n```\n\nThe split name to assign to the asset pack."]]