C# Class Microsoft.HockeyApp.UpdateManager

Provides automatic update functionality with HockeyApp
Afficher le fichier Open project: bitstadium/HockeySDK-Windows

Private Properties

Свойство Type Description
CheckForUpdates Task
CheckForUpdates void
CheckWithUpdateFrequency bool
DoUpdate void
NavigateToUpdatePage void
RunUpdateCheck void
RunUpdateCheckAsync System.Threading.Tasks.Task
StartUi void
UpdateManager Microsoft.HockeyApp.Gui
UpdateManager Microsoft.HockeyApp.Model
UpdateVersionIfAvailable System.Threading.Tasks.Task
UpdateVersionIfAvailable void

Méthodes publiques

Méthode Description
CheckForUpdatesAsync ( bool autoShowUi, Func shutdownActions = null, Action updateAvailableAction = null ) : Task
RunUpdateCheck ( UpdateCheckSettings settings = null ) : void

Check for an update on the server HockecCient needs to be configured before calling this method (normally done by configuring a crahshandler in the App() constructor)

Méthodes protégées

Méthode Description
ShowUpdateNotification ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void
ShowVersionPopup ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void

Private Methods

Méthode Description
CheckForUpdates ( ) : Task
CheckForUpdates ( bool autoShowUi, Func shutdownActions = null, Action updateAvailableAction = null ) : void
CheckWithUpdateFrequency ( UpdateCheckFrequency frequency ) : bool
DoUpdate ( IAppVersion availableUpdate ) : void
NavigateToUpdatePage ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void
RunUpdateCheck ( string identifier, UpdateCheckSettings settings = null ) : void
RunUpdateCheckAsync ( UpdateCheckSettings settings = null ) : System.Threading.Tasks.Task

Check for an update on the server HockecCient needs to be configured before calling this method (normally done by configuring a crahshandler in the App() constructor)

StartUi ( IAppVersion newVersion ) : void
UpdateManager ( ) : Microsoft.HockeyApp.Gui
UpdateManager ( ) : Microsoft.HockeyApp.Model
UpdateVersionIfAvailable ( UpdateCheckSettings updateCheckSettings ) : System.Threading.Tasks.Task
UpdateVersionIfAvailable ( UpdateCheckSettings updateCheckSettings ) : void

Method Details

CheckForUpdatesAsync() public méthode

public CheckForUpdatesAsync ( bool autoShowUi, Func shutdownActions = null, Action updateAvailableAction = null ) : Task
autoShowUi bool
shutdownActions Func
updateAvailableAction Action
Résultat Task

RunUpdateCheck() public méthode

Check for an update on the server HockecCient needs to be configured before calling this method (normally done by configuring a crahshandler in the App() constructor)
public RunUpdateCheck ( UpdateCheckSettings settings = null ) : void
settings UpdateCheckSettings [optional] custom settings
Résultat void

ShowUpdateNotification() protected méthode

protected ShowUpdateNotification ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void
currentVersion System.Version
appVersions IEnumerable
updateCheckSettings UpdateCheckSettings
Résultat void

ShowVersionPopup() protected méthode

protected ShowVersionPopup ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void
currentVersion System.Version
appVersions IEnumerable
updateCheckSettings UpdateCheckSettings
Résultat void