# Google.Play.AppUpdate.AppUpdateOptions

Options used to configure an in-app update, including [AppUpdateType](https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5).

## Summary

| ### Properties ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1a769f56e4003d1d0f1d97896ef61c953f` | `bool` Returns whether the app installer should be allowed to delete some asset packs from the app's internal storage before attempting to update the app, for example if disk space is limited. |
| `https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5` | `https://developer.android.com/reference/unity/namespace/Google/Play/AppUpdate#namespaceGoogle_1_1Play_1_1AppUpdate_1a084d0f0dd5b3e0dd3526be6eebc629e5` Returns the type of in-app update flow. |

| ### Public static functions ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1ae6f8a69cc4bc06f98dc9799a0a6bd619(bool allowAssetPackDeletion)` | `https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions` Creates an [AppUpdateOptions](https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) configured for the Flexible [AppUpdateType](https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5). |
| `https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1af18a8ab2905490ac09201cbe39b3c172(bool allowAssetPackDeletion)` | `https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions` Creates an [AppUpdateOptions](https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) configured for the Immediate [AppUpdateType](https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5). |

## Properties

### AllowAssetPackDeletion

```c#
bool AllowAssetPackDeletion
```
Returns whether the app installer should be allowed to delete some asset packs from the app's internal storage before attempting to update the app, for example if disk space is limited.

### AppUpdateType

```c#
AppUpdateType AppUpdateType
```
Returns the type of in-app update flow.

## Public static functions

### FlexibleAppUpdateOptions

```c#
AppUpdateOptions FlexibleAppUpdateOptions(
  bool allowAssetPackDeletion
)
```
Creates an [AppUpdateOptions](https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) configured for the Flexible [AppUpdateType](https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5).

<br />

Details Parameters `allowAssetPackDeletion` Specifies whether the app installer should be allowed to delete some asset packs from the app's internal storage, in case of insufficient device storage. Defaults to false.

### ImmediateAppUpdateOptions

```c#
AppUpdateOptions ImmediateAppUpdateOptions(
  bool allowAssetPackDeletion
)
```
Creates an [AppUpdateOptions](https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) configured for the Immediate [AppUpdateType](https://developer.android.com/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5).

<br />

Details Parameters `allowAssetPackDeletion` Specifies whether the app installer should be allowed to delete some asset packs from the app's internal storage, in case of insufficient device storage. Defaults to false.