API/Autodoc/Classes/URuStoreAppUpdateManager.en.md
URuStoreAppUpdateManager
The class implements an API for three update methods. Currently supported: deferred, silent (without UI from RuStore), and forced update.
#include <URuStoreAppUpdateManager.h>
Inherits from UObject, IRuStoreInstallStateUpdateListenerInterface, RuStoreSDK::RuStoreListenerContainer
Public Functions
| Name | |
|---|---|
| bool | GetIsInitialized() Check the initialization of the manager. |
| void | SetAllowNativeErrorHandling(bool value) Error handling in the native SDK. |
| bool | Init() Performs initialization of the singleton URuStoreAppUpdateManager. |
| void | Dispose() Deinitialization of the singleton if further work with the object is no longer planned. |
| void | ConditionalBeginDestroy() |
| long | GetAppUpdateInfo(TFunction< void(long, TSharedPtr< FURuStoreAppUpdateInfo, ESPMode::ThreadSafe >)> onSuccess, TFunction< void(long, TSharedPtr< FURuStoreError, ESPMode::ThreadSafe >)> onFailure) Performs a check for updates. |
| long | StartUpdateFlow(EURuStoreAppUpdateOptions appUpdateOptions, TFunction< void(long, EURuStoreUpdateFlowResult)> onSuccess, TFunction< void(long, TSharedPtr< FURuStoreError, ESPMode::ThreadSafe >)> onFailure) Starts the application update download procedure. |
| long | CompleteUpdate(EURuStoreAppUpdateOptions appUpdateOptions, TFunction< void(long, TSharedPtr< FURuStoreError, ESPMode::ThreadSafe >)> onFailure) Starts the update installation procedure. |
| bool | CheckIsImmediateUpdateAllowed() Checks the availability of a forced update. |
| int64 | RegisterListener(TScriptInterface< IRuStoreInstallStateUpdateListenerInterface > stateListener) Registers a listener for the update download status. |
| bool | UnregisterListener(TScriptInterface< IRuStoreInstallStateUpdateListenerInterface > stateListener) If the listener is no longer needed, use the UnregisterListener() method to remove the listener, passing the previously registered listener to the method. |
| void | GetAppUpdateInfo(int64 & requestId) |
| void | StartUpdateFlow(int64 & requestId, EURuStoreAppUpdateOptions appUpdateOptions) |
| void | CompleteUpdate(int64 & requestId, EURuStoreAppUpdateOptions appUpdateOptions) |
| void | OnStateUpdated_Implementation(int64 listenerId, FURuStoreInstallState & state) override |
| URuStoreAppUpdateManager * | Instance() Get an instance of URuStoreAppUpdateManager. |
Public Attributes
| Name | |
|---|---|
| const FString | PluginVersion — Plugin version. |
| FRuStoreGetAppUpdateInfoErrorDelegate | OnGetAppUpdateInfoError |
| FRuStoreGetAppUpdateInfoResponseDelegate | OnGetAppUpdateInfoResponse |
| FRuStoreStartUpdateFlowErrorDelegate | OnStartUpdateFlowError |
| FRuStoreStartUpdateFlowResponseDelegate | OnStartUpdateFlowResponse |
| FRuStoreCompleteUpdateErrorDelegate | OnCompleteUpdateError |
| FRuStoreOnStateUpdatedInstanceDelegate | OnStateUpdatedInstanceEvent |
Additional inherited members
Public Functions inherited from IRuStoreInstallStateUpdateListenerInterface
| Name | |
|---|---|
| void | OnStateUpdated(int64 listenerId, FURuStoreInstallState & state) Handler for the update installation callback. |
Public Functions inherited from RuStoreSDK::RuStoreListenerContainer
| Name | |
|---|---|
| TSharedPtr< RuStoreListener, ESPMode::ThreadSafe > | ListenerBind(RuStoreListener * item) |
| void | ListenerUnbind(long id) |
| void | ListenerUnbind(RuStoreListener * item) |
| void | ListenerUnbind(TSharedPtr< RuStoreListener, ESPMode::ThreadSafe > item) |
| void | ListenerRemoveAll() |
- Страницы
- FRuStoreAppUpdateModule.en
- FRuStoreAppUpdateModule
- FRuStoreCoreModule.en
- FRuStoreCoreModule
- FURuStoreAppUpdateInfo.en
- FURuStoreAppUpdateInfo
- FURuStoreError.en
- FURuStoreError
- FURuStoreFeatureAvailabilityResult.en
- FURuStoreFeatureAvailabilityResult
- FURuStoreInstallState.en
- FURuStoreInstallState
- IRuStoreInstallStateUpdateListenerInterface.en
- IRuStoreInstallStateUpdateListenerInterface
- RuStoreAppUpdate.en
- RuStoreAppUpdate
- RuStoreCore.en
- RuStoreCore
- RuStoreSDK.AndroidJavaClass.en
- RuStoreSDK.AndroidJavaClass
- RuStoreSDK.AndroidJavaObject.en
- RuStoreSDK.AndroidJavaObject
- RuStoreSDK.AppUpdateErrorListenerImpl.en
- RuStoreSDK.AppUpdateErrorListenerImpl
- RuStoreSDK.AppUpdateInfoResponseListenerImpl.en
- RuStoreSDK.AppUpdateInfoResponseListenerImpl
- RuStoreSDK.CallbackHandler.en
- RuStoreSDK.CallbackHandler
- RuStoreSDK.ErrorConverter.en
- RuStoreSDK.ErrorConverter
- RuStoreSDK.ErrorListener.en
- RuStoreSDK.ErrorListener
- RuStoreSDK.FeatureAvailabilityListenerImpl.en
- RuStoreSDK.FeatureAvailabilityListenerImpl
- RuStoreSDK.IAndroidClasses.en
- RuStoreSDK.IAndroidClasses
- RuStoreSDK.InstallStateUpdateListenerImpl.en
- RuStoreSDK.InstallStateUpdateListenerImpl
- RuStoreSDK.JavaActivity.en
- RuStoreSDK.JavaActivity
- RuStoreSDK.JavaApplication.en
- RuStoreSDK.JavaApplication
- RuStoreSDK.JavaMethodSignature.en
- RuStoreSDK.JavaMethodSignature
- RuStoreSDK.JavaTypeConverter.en
- RuStoreSDK.JavaTypeConverter
- RuStoreSDK.ResponseListener.en
- RuStoreSDK.ResponseListener
- RuStoreSDK.RuStoreListener.en
- RuStoreSDK.RuStoreListener
- RuStoreSDK.RuStoreListenerContainer.en
- RuStoreSDK.RuStoreListenerContainer
- RuStoreSDK.SimpleResponseListener.en
- RuStoreSDK.SimpleResponseListener
- RuStoreSDK.SimpleResponseListenerT.en
- RuStoreSDK.SimpleResponseListenerT
- RuStoreSDK.UnrealPlayerImpl.en
- RuStoreSDK.UnrealPlayerImpl
- RuStoreSDK.UpdateFlowResultListenerImpl.en
- RuStoreSDK.UpdateFlowResultListenerImpl
- UCompleteUpdateNode.en
- UCompleteUpdateNode
- UGetAppUpdateInfoNode.en
- UGetAppUpdateInfoNode
- URuStoreAppUpdateManager.en
- URuStoreAppUpdateManager
- URuStoreCore.en
- URuStoreCore
- URuStoreInstallStateUpdateListenerInterface.en
- URuStoreInstallStateUpdateListenerInterface
- UStartUpdateFlowNode.en
- UStartUpdateFlowNode
- UTextureDownloader.en
- UTextureDownloader
- com.Plugins.RuStoreCore.IRuStoreListener.en
- com.Plugins.RuStoreCore.IRuStoreListener
- com.Plugins.RuStoreCore.RuStoreCoreUtils.en
- com.Plugins.RuStoreCore.RuStoreCoreUtils
- com.Plugins.RuStoreCore.RuStoreImage.en
- com.Plugins.RuStoreCore.RuStoreImage
- com.Plugins.RuStoreCore.UnrealPlayerWrapper.en
- com.Plugins.RuStoreCore.UnrealPlayerWrapper
- FRuStoreAppUpdateModule.en
- FRuStoreAppUpdateModule
- FRuStoreCoreModule.en
- FRuStoreCoreModule
- FURuStoreAppUpdateInfo.en
- FURuStoreAppUpdateInfo
- FURuStoreError.en
- FURuStoreError
- FURuStoreFeatureAvailabilityResult.en
- FURuStoreFeatureAvailabilityResult
- FURuStoreInstallState.en
- FURuStoreInstallState
- IRuStoreInstallStateUpdateListenerInterface.en
- IRuStoreInstallStateUpdateListenerInterface
- RuStoreAppUpdate.en
- RuStoreAppUpdate
- RuStoreCore.en
- RuStoreCore
- RuStoreSDK.AndroidJavaClass.en
- RuStoreSDK.AndroidJavaClass
- RuStoreSDK.AndroidJavaObject.en
- RuStoreSDK.AndroidJavaObject
- RuStoreSDK.AppUpdateErrorListenerImpl.en
- RuStoreSDK.AppUpdateErrorListenerImpl
- RuStoreSDK.AppUpdateInfoResponseListenerImpl.en
- RuStoreSDK.AppUpdateInfoResponseListenerImpl
- RuStoreSDK.CallbackHandler.en
- RuStoreSDK.CallbackHandler
- RuStoreSDK.ErrorConverter.en
- RuStoreSDK.ErrorConverter
- RuStoreSDK.ErrorListener.en
- RuStoreSDK.ErrorListener
- RuStoreSDK.FeatureAvailabilityListenerImpl.en
- RuStoreSDK.FeatureAvailabilityListenerImpl
- RuStoreSDK.IAndroidClasses.en
- RuStoreSDK.IAndroidClasses
- RuStoreSDK.InstallStateUpdateListenerImpl.en
- RuStoreSDK.InstallStateUpdateListenerImpl
- RuStoreSDK.JavaActivity.en
- RuStoreSDK.JavaActivity
- RuStoreSDK.JavaApplication.en
- RuStoreSDK.JavaApplication
- RuStoreSDK.JavaMethodSignature.en
- RuStoreSDK.JavaMethodSignature
- RuStoreSDK.JavaTypeConverter.en
- RuStoreSDK.JavaTypeConverter
- RuStoreSDK.ResponseListener.en
- RuStoreSDK.ResponseListener
- RuStoreSDK.RuStoreListener.en
- RuStoreSDK.RuStoreListener
- RuStoreSDK.RuStoreListenerContainer.en
- RuStoreSDK.RuStoreListenerContainer
- RuStoreSDK.SimpleResponseListener.en
- RuStoreSDK.SimpleResponseListener
- RuStoreSDK.SimpleResponseListenerT.en
- RuStoreSDK.SimpleResponseListenerT
- RuStoreSDK.UnrealPlayerImpl.en
- RuStoreSDK.UnrealPlayerImpl
- RuStoreSDK.UpdateFlowResultListenerImpl.en
- RuStoreSDK.UpdateFlowResultListenerImpl
- UCompleteUpdateNode.en
- UCompleteUpdateNode
- UGetAppUpdateInfoNode.en
- UGetAppUpdateInfoNode
- URuStoreAppUpdateManager.en
- URuStoreAppUpdateManager
- URuStoreCore.en
- URuStoreCore
- URuStoreInstallStateUpdateListenerInterface.en
- URuStoreInstallStateUpdateListenerInterface
- UStartUpdateFlowNode.en
- UStartUpdateFlowNode
- UTextureDownloader.en
- UTextureDownloader
- com.Plugins.RuStoreCore.IRuStoreListener.en
- com.Plugins.RuStoreCore.IRuStoreListener
- com.Plugins.RuStoreCore.RuStoreCoreUtils.en
- com.Plugins.RuStoreCore.RuStoreCoreUtils
- com.Plugins.RuStoreCore.RuStoreImage.en
- com.Plugins.RuStoreCore.RuStoreImage
- com.Plugins.RuStoreCore.UnrealPlayerWrapper.en
- com.Plugins.RuStoreCore.UnrealPlayerWrapper