Stay organized with collections
Save and categorize content based on your preferences.
UAppUpdateOptions
#include <AppUpdateOptions.h>
This class represents the options for the app update.
Summary
To create an instance of this class, use the CreateAppUpdateOptions function, which initializes the object based on the given update type.
Inheritance
Inherits from: UObject
Public static functions
Public functions
BeginDestroy
virtual void BeginDestroy() override
Part of UObject interface.
Called when the object is marked for deletion by MarkPendingKill.
ClearAppUpdateOptions
void ClearAppUpdateOptions()
Clears the native app update options object.
GetAppUpdateType
EAppUpdateType GetAppUpdateType()
Returns the type of update.
IsAssetPackDeletionAllowed
bool IsAssetPackDeletionAllowed()
Returns whether the asset pack deletion is allowed.
SetAssetPackDeletionAllowed
EAppUpdateErrorCode SetAssetPackDeletionAllowed(
bool bAllow
)
Sets whether the asset pack deletion is allowed.
Details |
Parameters |
bAllow
|
Whether the asset pack deletion is allowed.
|
|
Returns
|
The error code of the operation.
|
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-01-14 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-01-14 UTC."],[],[],null,["# UAppUpdateOptions Class Reference\n\nUAppUpdateOptions\n=================\n\n\n`#include \u003cAppUpdateOptions.h\u003e`\n\nThis class represents the options for the app update.\n\nSummary\n-------\n\nTo create an instance of this class, use the CreateAppUpdateOptions function, which initializes the object based on the given update type.\n\n### Inheritance\n\nInherits from: UObject\n\n| ### Public static functions ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CreateAppUpdateOptions](#class_u_app_update_options_1a7902d9454e6d23b4693d0afa3e624111)`(`[EAppUpdateType](/reference/unreal-engine/play/core/group/play-in-app-updates#group___play_in_app_updates_1ga5d9c61ac39de4c62f8f7606d2956e5a0)` UpdateType)` | [UAppUpdateOptions](/reference/unreal-engine/play/core/class/u-app-update-options#class_u_app_update_options)` *` Creates an [UAppUpdateOptions](/reference/unreal-engine/play/core/class/u-app-update-options#class_u_app_update_options) object. |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BeginDestroy](#class_u_app_update_options_1ada1328abf456d6b9e65e0761fd5a6420)`() override` | `virtual void` Part of UObject interface. |\n| [ClearAppUpdateOptions](#class_u_app_update_options_1af0f678f74e00bcf00a9813be4b9d0600)`()` | `void` Clears the native app update options object. |\n| [GetAppUpdateType](#class_u_app_update_options_1ad74cb1dd8db470feeddd4c7093cbcfdb)`()` | [EAppUpdateType](/reference/unreal-engine/play/core/group/play-in-app-updates#group___play_in_app_updates_1ga5d9c61ac39de4c62f8f7606d2956e5a0) Returns the type of update. |\n| [IsAssetPackDeletionAllowed](#class_u_app_update_options_1a6192dffd22b2f40065093f05d2c3b858)`()` | `bool` Returns whether the asset pack deletion is allowed. |\n| [SetAssetPackDeletionAllowed](#class_u_app_update_options_1a6e1a493ef23087e2d0e49743a288a4fe)`(bool bAllow)` | [EAppUpdateErrorCode](/reference/unreal-engine/play/core/group/play-in-app-updates#group___play_in_app_updates_1ga55d0c575f82f8fab56d7129e5c8399e5) Sets whether the asset pack deletion is allowed. |\n\nPublic static functions\n-----------------------\n\n### CreateAppUpdateOptions\n\n```scdoc\nUAppUpdateOptions * CreateAppUpdateOptions(\n EAppUpdateType UpdateType\n)\n``` \nCreates an [UAppUpdateOptions](/reference/unreal-engine/play/core/class/u-app-update-options#class_u_app_update_options) object.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |--------------|---------------------| | `UpdateType` | The type of update. | |\n| **Returns** | The [UAppUpdateOptions](/reference/unreal-engine/play/core/class/u-app-update-options#class_u_app_update_options) object. |\n\nPublic functions\n----------------\n\n### BeginDestroy\n\n```text\nvirtual void BeginDestroy() override\n``` \nPart of UObject interface.\n\nCalled when the object is marked for deletion by MarkPendingKill. \n\n### ClearAppUpdateOptions\n\n```text\nvoid ClearAppUpdateOptions()\n``` \nClears the native app update options object. \n\n### GetAppUpdateType\n\n```text\nEAppUpdateType GetAppUpdateType()\n``` \nReturns the type of update. \n\n### IsAssetPackDeletionAllowed\n\n```text\nbool IsAssetPackDeletionAllowed()\n``` \nReturns whether the asset pack deletion is allowed. \n\n### SetAssetPackDeletionAllowed\n\n```text\nEAppUpdateErrorCode SetAssetPackDeletionAllowed(\n bool bAllow\n)\n``` \nSets whether the asset pack deletion is allowed.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------|\n| Parameters | |----------|---------------------------------------------| | `bAllow` | Whether the asset pack deletion is allowed. | |\n| **Returns** | The error code of the operation. |"]]