API/Autodoc/Classes/RuStoreGodotAppUpdateManager.en.md
RuStoreGodotAppUpdateManager
class_name RuStoreGodotAppUpdateManager extends Object
The class implements an API for three update methods. Currently supported: deferred, silent (without UI from RuStore) and forced update.
Public Member Functions
| static | func | get_instance() -> RuStoreGodotAppUpdateManager: Get the instance of RuStoreGodotAppUpdateManager. Returns a pointer to the single instance of RuStoreGodotAppUpdateManager (Singleton pattern implementation). If the instance does not exist yet, creates it. |
| func | register_listener() -> bool: Registers a listener for the update download status. Returns true if registration is successful, otherwise false. |
|
| func | unregister_listener() -> bool: If the listener is no longer needed, use the listener removal method. Returns true if the operation is successful, otherwise false. |
|
| func | get_app_update_info(): Checks for available updates. |
|
| func | check_is_immediate_update_allowed() -> bool: Checks if forced update is available. Returns true if forced update is available, otherwise false. |
|
| func | start_update_flow_immediate(): Starts the download procedure for the application update. |
|
| func | complete_update_silent(): Starts the update installation procedure. Only two types of installation completion can be passed to the method ERuStoreAppUpdateType.Item.FLEXIBLE and ERuStoreAppUpdateType.Item.SILENT. |
Signals
| signal | on_get_app_update_info_success Action performed upon successful completion of get_app_update_info. |
|
| signal | on_get_app_update_info_failure Action performed in case of get_app_update_info error. |
|
| signal | on_start_update_flow_success Action performed upon successful completion of start_update_flow_*. |
|
| signal | on_start_update_flow_failure Action performed in case of start_update_flow_* error. |
|
| signal | on_complete_update_failure Action performed in case of complete_update_* error. |
|
| signal | on_state_updated Update state callback. |
- Страницы
- ERuStoreInstallErrorCode.en
- ERuStoreInstallErrorCode
- ERuStoreInstallStatus.en
- ERuStoreInstallStatus
- ERuStoreUpdateAvailability.en
- ERuStoreUpdateAvailability
- ERuStoreUpdateFlowResult.en
- ERuStoreUpdateFlowResult
- RuStoreAppUpdateInfo.en
- RuStoreAppUpdateInfo
- RuStoreError.en
- RuStoreError
- RuStoreFeatureAvailabilityResult.en
- RuStoreFeatureAvailabilityResult
- RuStoreGodotAppUpdateManager.en
- RuStoreGodotAppUpdateManager
- RuStoreGodotCoreUtils.en
- RuStoreGodotCoreUtils
- RuStoreInstallState.en
- RuStoreInstallState
- ERuStoreInstallErrorCode.en
- ERuStoreInstallErrorCode
- ERuStoreInstallStatus.en
- ERuStoreInstallStatus
- ERuStoreUpdateAvailability.en
- ERuStoreUpdateAvailability
- ERuStoreUpdateFlowResult.en
- ERuStoreUpdateFlowResult
- RuStoreAppUpdateInfo.en
- RuStoreAppUpdateInfo
- RuStoreError.en
- RuStoreError
- RuStoreFeatureAvailabilityResult.en
- RuStoreFeatureAvailabilityResult
- RuStoreGodotAppUpdateManager.en
- RuStoreGodotAppUpdateManager
- RuStoreGodotCoreUtils.en
- RuStoreGodotCoreUtils
- RuStoreInstallState.en
- RuStoreInstallState