Builder class for constructing PromptUpdateOptions instances.
◆ SetIsForceUpdate()
| Builder SetIsForceUpdate |
( |
bool | isForceUpdate | ) |
|
- Parameters
-
| isForceUpdate | True if the update is mandatory; otherwise, false. |
- Returns
- The current builder instance.
◆ SetPromptTitle()
| Builder SetPromptTitle |
( |
string | promptTitle | ) |
|
- Parameters
-
| promptTitle | The title of the prompt. |
- Returns
- The current builder instance.
◆ SetPromptMessage()
| Builder SetPromptMessage |
( |
string | message | ) |
|
- Parameters
-
| message | The message of the prompt. |
- Returns
- The current builder instance.
◆ SetAllowInstallationIfDownloaded()
| Builder SetAllowInstallationIfDownloaded |
( |
bool | allowInstallationIfDownloaded | ) |
|
- Parameters
-
| allowInstallationIfDownloaded | True if the update can be installed when downloaded; otherwise, false. Default value is true. |
- Note
- If force update is enabled, this option will be considered as true.
- Returns
- The current builder instance.
◆ Build()