Interface to a Build Installer, exposes installation control, progress, and state information.
更多...
#include <IBuildInstaller.h>
Interface to a Build Installer, exposes installation control, progress, and state information.
◆ CompletedSuccessfully()
| virtual bool IBuildInstaller::CompletedSuccessfully |
( |
| ) |
const |
|
pure virtual |
Get whether the process was successfully complete, meaning no errors, and was not cancelled.
Only valid if complete.
- 返回
- true if installation process completed successfully.
◆ GetBuildStatistics()
Get the build stats for the process.
This should only be called after the install has completed
- 返回
- A struct containing information about the build
◆ GetConfiguration()
Get the installation configuration object
- 返回
- a const reference to the configuration
◆ GetDownloadHealth()
| virtual EBuildPatchDownloadHealth IBuildInstaller::GetDownloadHealth |
( |
| ) |
const |
|
pure virtual |
Get the current download health rating.
- 返回
- the enum representing the download health
◆ GetDownloadSpeed()
| virtual double IBuildInstaller::GetDownloadSpeed |
( |
| ) |
const |
|
pure virtual |
Get the download speed for the current process
- 返回
- download speed progress
◆ GetErrorCode()
| virtual FString IBuildInstaller::GetErrorCode |
( |
| ) |
const |
|
pure virtual |
Get the installation error code.
This includes the failure type as well as specific code associated. The value is alphanumeric. This is only guaranteed to be set once the installation has completed.
- 返回
- the code as a string.
◆ GetErrorText()
| virtual FText IBuildInstaller::GetErrorText |
( |
| ) |
const |
|
pure virtual |
Get the display text for the error that occurred.
Only valid to call after completion
- 返回
- display error text
◆ GetErrorType()
| virtual EBuildPatchInstallError IBuildInstaller::GetErrorType |
( |
| ) |
const |
|
pure virtual |
Get the type of error for a failure that has occurred.
- 返回
- the enum representing the type of error
◆ GetState()
| virtual BuildPatchServices::EBuildPatchState IBuildInstaller::GetState |
( |
| ) |
const |
|
pure virtual |
Get the status of the install process.
- 返回
- Status of the install process.
◆ GetTotalDownloaded()
| virtual int64 IBuildInstaller::GetTotalDownloaded |
( |
| ) |
const |
|
pure virtual |
Get the total bytes downloaded
- 返回
- the total bytes downloaded
◆ GetTotalDownloadRequired()
| virtual int64 IBuildInstaller::GetTotalDownloadRequired |
( |
| ) |
const |
|
pure virtual |
Get the total download bytes required to complete
- 返回
- the total required bytes
◆ GetUpdateProgress()
| virtual float IBuildInstaller::GetUpdateProgress |
( |
| ) |
const |
|
pure virtual |
Get the update progress
- 返回
- A float describing progress: Between 0 and 1 for known progress, or less than 0 for unknown progress.
◆ HasError()
| virtual bool IBuildInstaller::HasError |
( |
| ) |
const |
|
pure virtual |
Get whether the install failed.
Only valid if complete.
- 返回
- true if installation was a failure
◆ IsCanceled()
| virtual bool IBuildInstaller::IsCanceled |
( |
| ) |
const |
|
pure virtual |
Get whether the install was canceled.
Only valid if complete.
- 返回
- true if installation was canceled
◆ IsComplete()
| virtual bool IBuildInstaller::IsComplete |
( |
| ) |
const |
|
pure virtual |
Get whether the install has complete
- 返回
- true if the thread completed
◆ IsPaused()
| virtual bool IBuildInstaller::IsPaused |
( |
| ) |
const |
|
pure virtual |
Get whether the install is currently paused.
- 返回
- true if installation is paused
◆ IsResumable()
| virtual bool IBuildInstaller::IsResumable |
( |
| ) |
const |
|
pure virtual |
Get whether the install can be resumed.
- 返回
- true if installation is resumable
◆ IsUpdate()
| virtual bool IBuildInstaller::IsUpdate |
( |
| ) |
const |
|
pure virtual |
Get whether the install is performing an update of an existing install.
- 返回
- true if installation is an update
◆ RegisterMessageHandler()
Registers a message handler with the installer.
- 参数
-
| MessageHandler | Ptr to the message handler to add. Must not be null. |
◆ StartInstallation()
| virtual bool IBuildInstaller::StartInstallation |
( |
| ) |
|
|
pure virtual |
Begin the installation process.
- 返回
- true if the installation started successfully, or is already running.
◆ TogglePauseInstall()
| virtual bool IBuildInstaller::TogglePauseInstall |
( |
| ) |
|
|
pure virtual |
Toggle the install paused state
- 返回
- true if the installer is now paused
◆ UnregisterMessageHandler()
Unregisters a message handler, will no longer receive HandleMessage calls.
- 参数
-
| MessageHandler | Ptr to the message handler to remove. |
该类的文档由以下文件生成: