# Google.Android.AppBundle.Editor.AssetPackConfig

Configuration for all asset packs that will be packaged in an [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) App Bundle (AAB).

## Summary

| ### Public attributes ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1a4990f1d9d92487b7959d4527c306ea00 = new Dictionary()` | `readonly Dictionary< string, https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack >` Dictionary from asset pack name to [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) object containing info such as delivery mode. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1a37259cc04f04632d8a36236cfbd1ee61 = "other"` | `string` When asset packs for multiple device groups are present, this specifies the group used when building standalone APKs for [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) pre-Lollipop devices. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1ad05be90f8458db493fceb7bc24ec5e3d = 0` | `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/DeviceTier#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1DeviceTier` When asset packs for multiple device tiers are present, this specifies the tier used when building standalone APKs for [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) pre-Lollipop devices. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1ae6e2363770018ea979073dedd98df2ca = TextureCompressionFormat.Default` | `https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1a156046a6839299c613cc5551270e867d` When asset packs for multiple texture compression formats are present, this specifies the format used when building standalone APKs for [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) pre-Lollipop devices. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1af784c7720b8464faaa24ee7d1a365a9e = ""` | `string` Specifies the path to the device targeting config file. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1a77edab566fc9e70ccb8806327eca29df` | `bool` Indicates that the assets in an AAB's base module should be split into a separate install-time asset pack. |

| ### Properties ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1ab6d691f8eb0039ac385b08538d77088e` | `Dictionary< string, https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack >` A dictionary containing the subset of [AssetPacks](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor/AssetPacks#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPacks) that are marked for delivery. |

| ### Public functions ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1aa9fdf346a242ebc202f3367bb5a20415(string assetBundleFilePath, https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd deliveryMode)` | `void` Package the specified AssetBundle file in its own [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1af5188a8bbd991681e2caf31cd5aaee67(IDictionary< https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1a156046a6839299c613cc5551270e867d, string > compressionFormatToAssetBundleFilePath, https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd deliveryMode)` | `void` Package the specified AssetBundle files, which vary only by [TextureCompressionFormat](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1a156046a6839299c613cc5551270e867d), in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1a60133cf5291c87ade075026cf79b4cb3(IDictionary< https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/DeviceTier#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1DeviceTier, string > deviceTierToAssetBundleFilePath, https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd deliveryMode)` | `void` Package the specified AssetBundle files, which vary only by [DeviceTier](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/DeviceTier#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1DeviceTier), in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1a14f0f312b24b966b50e1a554457dccb9(IDictionary< string, string > deviceGroupToAssetBundleFilePath, https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd deliveryMode)` | `void` Package the specified AssetBundle files, which vary only by device group, in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1a148f338a83909d5930b0ee520ad72363(string assetPackName, string assetsFolderPath, https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd deliveryMode)` | `void` Package all raw assets in the specified folder in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified name and using the specified delivery mode. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1af71dafefb67429f5ba05508bb7eb9865(string assetPackName, IDictionary< https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1a156046a6839299c613cc5551270e867d, string > compressionFormatToAssetPackDirectoryPath, https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd deliveryMode)` | `void` Package the specified raw assets in the specified folders, keyed by [TextureCompressionFormat](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1a156046a6839299c613cc5551270e867d), in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1ad7af5f6f6e04da5ccf901cf144870fee(string assetPackName, IDictionary< https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/DeviceTier#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1DeviceTier, string > deviceTierToAssetPackDirectoryPath, https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd deliveryMode)` | `void` Package the specified raw assets in the specified folders, keyed by [DeviceTier](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/DeviceTier#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1DeviceTier), in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1ab21bc1c1539ddb34f0400197410e834c(string assetPackName, IDictionary< string, string > deviceGroupToAssetPackDirectoryPath, https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd deliveryMode)` | `void` Package the specified raw assets in the specified folders, keyed by device group, in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1a618d50e35008a1472f03275f90025bb7()` | `bool` Returns true if this configuration includes at least 1 asset pack that may be packaged in an AAB. |

## Public attributes

### AssetPacks

```c#
readonly Dictionary< string, AssetPack > AssetPacks = new Dictionary<string, AssetPack>()
```
Dictionary from asset pack name to [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) object containing info such as delivery mode.

Note: asset pack names must start with a letter and can contain only letters, numbers, and underscores. Note: convenience methods such as [AddAssetBundle](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1aa9fdf346a242ebc202f3367bb5a20415) are recommended to more safely add new Asset packs, but this dictionary is available for direct modification for advanced use cases.

### DefaultDeviceGroup

```c#
string DefaultDeviceGroup = "other"
```
When asset packs for multiple device groups are present, this specifies the group used when building standalone APKs for [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) pre-Lollipop devices.

### DefaultDeviceTier

```c#
DeviceTier DefaultDeviceTier = 0
```
When asset packs for multiple device tiers are present, this specifies the tier used when building standalone APKs for [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) pre-Lollipop devices.

### DefaultTextureCompressionFormat

```c#
TextureCompressionFormat DefaultTextureCompressionFormat = TextureCompressionFormat.Default
```
When asset packs for multiple texture compression formats are present, this specifies the format used when building standalone APKs for [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) pre-Lollipop devices.

### PathToDeviceTargetingConfigFile

```c#
string PathToDeviceTargetingConfigFile = ""
```
Specifies the path to the device targeting config file.

Should only be set if you are using device targeting. The file should be a JSON file containing a list of device groups. It can either be absolute or relative.

### SplitBaseModuleAssets

```c#
bool SplitBaseModuleAssets
```
Indicates that the assets in an AAB's base module should be split into a separate install-time asset pack.

Usually when building a game, some assets are stored in the base module's "assets" directory. Games that run into APK size limits may have previously used the "Split Application Binary" option to create APK Expansion (\*.obb) files, however this is unsupported with AABs. If [Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play) Console indicates that the base module exceeds a download size limit, for example 150 MB, enabling this option may resolve the issue. See <https://developer.android.com/guide/app-bundle>.

## Properties

### DeliveredAssetPacks

```c#
Dictionary< string, AssetPack > DeliveredAssetPacks
```
A dictionary containing the subset of [AssetPacks](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor/AssetPacks#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPacks) that are marked for delivery.

Note: the returned Dictionary doesn't indicate whether [SplitBaseModuleAssets](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1a77edab566fc9e70ccb8806327eca29df) is enabled.

## Public functions

### AddAssetBundle

```c#
void AddAssetBundle(
  string assetBundleFilePath,
  AssetPackDeliveryMode deliveryMode
)
```
Package the specified AssetBundle file in its own [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode.

The name of the created asset pack will match that of the specified AssetBundle file.

<br />

Details Parameters `assetBundleFilePath` The path to a single AssetBundle file. `deliveryMode` The [AssetPackDeliveryMode](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd) for the asset pack. Exceptions `ArgumentException` If the asset pack name is invalid. `FileNotFoundException` If the AssetBundle file doesn't exist.

### AddAssetBundles

```c#
void AddAssetBundles(
  IDictionary< TextureCompressionFormat, string > compressionFormatToAssetBundleFilePath,
  AssetPackDeliveryMode deliveryMode
)
```
Package the specified AssetBundle files, which vary only by [TextureCompressionFormat](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1a156046a6839299c613cc5551270e867d), in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode.

When using [Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play) Asset Delivery APIs, only the AssetBundle for the device's preferred texture compression format will be delivered.

<br />

Details Parameters `compressionFormatToAssetBundleFilePath` A dictionary from [TextureCompressionFormat](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1a156046a6839299c613cc5551270e867d) to AssetBundle files. `deliveryMode` The [AssetPackDeliveryMode](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd) for the asset pack. Exceptions `ArgumentException` If the dictionary or asset pack name is invalid. `FileNotFoundException` If any AssetBundle file doesn't exist.

### AddAssetBundles

```c#
void AddAssetBundles(
  IDictionary< DeviceTier, string > deviceTierToAssetBundleFilePath,
  AssetPackDeliveryMode deliveryMode
)
```
Package the specified AssetBundle files, which vary only by [DeviceTier](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/DeviceTier#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1DeviceTier), in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode.

When using [Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play) Asset Delivery APIs, only the AssetBundle for the device's tier will be delivered.

### AddAssetBundles

```c#
void AddAssetBundles(
  IDictionary< string, string > deviceGroupToAssetBundleFilePath,
  AssetPackDeliveryMode deliveryMode
)
```
Package the specified AssetBundle files, which vary only by device group, in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode.

When using [Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play) Asset Delivery APIs, only the AssetBundle for the device's group will be delivered.

### AddAssetsFolder

```c#
void AddAssetsFolder(
  string assetPackName,
  string assetsFolderPath,
  AssetPackDeliveryMode deliveryMode
)
```
Package all raw assets in the specified folder in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified name and using the specified delivery mode.

<br />

Details Parameters `assetPackName` The name of the asset pack. `assetsFolderPath` The path to a directory whose files will be directly copied into the asset pack during app bundle creation. `deliveryMode` The [AssetPackDeliveryMode](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd) for the asset pack. Exceptions `ArgumentException` If the assetPackName is invalid. `FileNotFoundException` If the assetsFolderPath doesn't exist.

### AddAssetsFolders

```c#
void AddAssetsFolders(
  string assetPackName,
  IDictionary< TextureCompressionFormat, string > compressionFormatToAssetPackDirectoryPath,
  AssetPackDeliveryMode deliveryMode
)
```
Package the specified raw assets in the specified folders, keyed by [TextureCompressionFormat](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1a156046a6839299c613cc5551270e867d), in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode.

When using [Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play) Asset Delivery APIs, only the folder for the device's preferred texture compression format will be delivered.

<br />

Details Parameters `assetPackName` The name of the asset pack. `compressionFormatToAssetPackDirectoryPath` A dictionary from [TextureCompressionFormat](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1a156046a6839299c613cc5551270e867d) to the path of directories of files that will be directly copied into the asset pack during app bundle creation. `deliveryMode` The [AssetPackDeliveryMode](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor_1aa52c785c2a59c8d2e43ec24ccadad0dd) for the asset pack. Exceptions `ArgumentException` If the dictionary or asset pack name is invalid.

### AddAssetsFolders

```c#
void AddAssetsFolders(
  string assetPackName,
  IDictionary< DeviceTier, string > deviceTierToAssetPackDirectoryPath,
  AssetPackDeliveryMode deliveryMode
)
```
Package the specified raw assets in the specified folders, keyed by [DeviceTier](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/DeviceTier#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1DeviceTier), in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode.

When using [Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play) Asset Delivery APIs, only the AssetBundle for the device's tier will be delivered.

### AddAssetsFolders

```c#
void AddAssetsFolders(
  string assetPackName,
  IDictionary< string, string > deviceGroupToAssetPackDirectoryPath,
  AssetPackDeliveryMode deliveryMode
)
```
Package the specified raw assets in the specified folders, keyed by device group, in an [AssetPack](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPack#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPack) with the specified delivery mode.

When using [Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play) Asset Delivery APIs, only the AssetBundle for the device's group will be delivered.

### HasDeliveredAssetPacks

```c#
bool HasDeliveredAssetPacks()
```
Returns true if this configuration includes at least 1 asset pack that may be packaged in an AAB.

Return true if [SplitBaseModuleAssets](https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AssetPackConfig#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AssetPackConfig_1a77edab566fc9e70ccb8806327eca29df) is enabled, even if there are no other asset packs.