Stay organized with collections
Save and categorize content based on your preferences.
Google.Play.AppUpdate.AppUpdateOptions
Options used to configure an in-app update, including AppUpdateType.
Summary
Properties
|
AllowAssetPackDeletion
|
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.
|
AppUpdateType
|
Returns the type of in-app update flow.
|
Properties
AllowAssetPackDeletion
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
AppUpdateType AppUpdateType
Returns the type of in-app update flow.
Public static functions
FlexibleAppUpdateOptions
AppUpdateOptions FlexibleAppUpdateOptions(
bool allowAssetPackDeletion
)
Creates an AppUpdateOptions configured for the Flexible AppUpdateType.
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.
|
|
AppUpdateOptions ImmediateAppUpdateOptions(
bool allowAssetPackDeletion
)
Creates an AppUpdateOptions configured for the Immediate AppUpdateType.
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.
|
|
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 2021-03-18 UTC.
[null,null,["Last updated 2021-03-18 UTC."],[],[],null,["# Google.Play.AppUpdate.AppUpdateOptions Class Reference\n\nGoogle.Play.AppUpdate.AppUpdateOptions\n======================================\n\nOptions used to configure an in-app update, including [AppUpdateType](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5).\n\nSummary\n-------\n\n| ### Properties ||\n|--------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AllowAssetPackDeletion](#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. |\n| [AppUpdateType](#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5) | [AppUpdateType](/reference/unity/namespace/Google/Play/AppUpdate#namespaceGoogle_1_1Play_1_1AppUpdate_1a084d0f0dd5b3e0dd3526be6eebc629e5) Returns the type of in-app update flow. |\n\n| ### Public static functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FlexibleAppUpdateOptions](#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1ae6f8a69cc4bc06f98dc9799a0a6bd619)`(bool allowAssetPackDeletion)` | [AppUpdateOptions](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) Creates an [AppUpdateOptions](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) configured for the Flexible [AppUpdateType](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5). |\n| [ImmediateAppUpdateOptions](#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1af18a8ab2905490ac09201cbe39b3c172)`(bool allowAssetPackDeletion)` | [AppUpdateOptions](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) Creates an [AppUpdateOptions](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) configured for the Immediate [AppUpdateType](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5). |\n\nProperties\n----------\n\n### AllowAssetPackDeletion\n\n```c#\nbool AllowAssetPackDeletion\n``` \nReturns 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. \n\n### AppUpdateType\n\n```c#\nAppUpdateType AppUpdateType\n``` \nReturns the type of in-app update flow.\n\nPublic static functions\n-----------------------\n\n### FlexibleAppUpdateOptions\n\n```c#\nAppUpdateOptions FlexibleAppUpdateOptions(\n bool allowAssetPackDeletion\n)\n``` \nCreates an [AppUpdateOptions](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) configured for the Flexible [AppUpdateType](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5).\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 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. | |\n\n### ImmediateAppUpdateOptions\n\n```c#\nAppUpdateOptions ImmediateAppUpdateOptions(\n bool allowAssetPackDeletion\n)\n``` \nCreates an [AppUpdateOptions](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions) configured for the Immediate [AppUpdateType](/reference/unity/class/Google/Play/AppUpdate/AppUpdateOptions#classGoogle_1_1Play_1_1AppUpdate_1_1AppUpdateOptions_1aed56d6ee99fe283a738109290a038fb5).\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 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. | |"]]