# AiPackExtension

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/AiPackExtension.kt+class:com.android.build.api.dsl.AiPackExtension) Added in 8.7.0


```
@Incubating
interface AiPackExtension
```

<br />

*** ** * ** ***

Extension properties for the Asset Pack plugin that are specific to AI packs.

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `@https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/AiPackExtension#dynamicDelivery(kotlin.Function1)(action: https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/DynamicDelivery.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `@https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/AiPackExtension#modelDependency(kotlin.Function1)(action: https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/ModelDependency.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/DynamicDelivery` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/AiPackExtension#dynamicDelivery()` Contains the dynamic delivery settings for the AI pack. |
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/ModelDependency` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/AiPackExtension#modelDependency()` The AI model which this AI pack depends upon. |
| `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/AiPackExtension#packName()` The split name to assign to the AI pack. |

## Public functions

### dynamicDelivery

Added in 8.7.0

```
@Incubating
fun dynamicDelivery(action: DynamicDelivery.() -> Unit): Unit
```

| See also |
|---|---|
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/AiPackExtension#dynamicDelivery(kotlin.Function1)` |   |

### modelDependency

Added in 8.7.0

```
@Incubating
fun modelDependency(action: ModelDependency.() -> Unit): Unit
```

| See also |
|---|---|
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/AiPackExtension#modelDependency(kotlin.Function1)` |   |

## Public properties

### dynamicDelivery

Added in 8.7.0

```
val dynamicDelivery: DynamicDelivery
```

Contains the dynamic delivery settings for the AI pack.

### modelDependency

Added in 8.7.0

```
val modelDependency: ModelDependency
```

The AI model which this AI pack depends upon.

### packName

Added in 8.7.0

```
val packName: Property<String>
```

The split name to assign to the AI pack.