UInAppUpdatesManager
#include <InAppUpdatesManager.h>
The UInAppUpdatesManager class is used to request app update information, start an update or complete a flexible update.
Summary
Refer to https://developer.android.com/guide/playcore/in-app-updates for more details.
Inheritance
Inherits from: UGameInstanceSubsystem
Public functions |
|
---|---|
CompleteUpdate(FUpdateOperationCompletedDelegate InOnStartUpdateOperationCompleted)
|
void
Requests to complete a flexible in-app update flow that was started via the StartUpdate() function.
|
Deinitialize() override
|
virtual void
|
Initialize(FSubsystemCollectionBase & Collection) override
|
virtual void
|
RequestInfo(FRequestInfoOperationCompletedDelegate InOnRequestInfoOperationCompleted)
|
void
Requests information about an update.
|
StartUpdate(UAppUpdateInfo *InUpdateInfo, UAppUpdateOptions *InUpdateOptions, FUpdateOperationCompletedDelegate InOnUpdateOperationCompleted)
|
void
Starts the in-app update flow.
|
Public functions
CompleteUpdate
void CompleteUpdate( FUpdateOperationCompletedDelegate InOnStartUpdateOperationCompleted )
Requests to complete a flexible in-app update flow that was started via the StartUpdate() function.
Details | |||
---|---|---|---|
Parameters |
|
Deinitialize
virtual void Deinitialize() override
Initialize
virtual void Initialize( FSubsystemCollectionBase & Collection ) override
RequestInfo
void RequestInfo( FRequestInfoOperationCompletedDelegate InOnRequestInfoOperationCompleted )
Requests information about an update.
Needs to be called once before StartUpdate() to obtain an AppUpdateInfo, which is required to launch the in-app update flow.
Details | |||
---|---|---|---|
Parameters |
|
StartUpdate
void StartUpdate( UAppUpdateInfo *InUpdateInfo, UAppUpdateOptions *InUpdateOptions, FUpdateOperationCompletedDelegate InOnUpdateOperationCompleted )
Starts the in-app update flow.
Use the InUpdateInfo functions to monitor the current status and download progress of the ongoing update operation.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|