Interface IUpdateService
Provides an abstraction for the Meadow Update Service
Assembly: Meadow.Contracts.dll
View Source
Declaration
public interface IUpdateService
Properties
CanUpdate
Returns the update service's current ability to apply an update
View Source
Declaration
bool CanUpdate { get; }
State
Gets the current state of the service
View Source
Declaration
UpdateState State { get; }
Methods
Stop()
Stops the service
View Source
Declaration
void Stop()
Events
StateChanged
Event raised when an the state of the Update service changes
View Source
Declaration
event EventHandler<UpdateState> StateChanged
Event Type
System.EventHandler<Meadow.UpdateState>
UpdateAvailable
Event raised when an update is available on the defined Update server
View Source
Declaration
event UpdateEventHandler UpdateAvailable
Event Type
Meadow.Update.UpdateEventHandler
RetrieveProgress
Event raised during update file retrieval progress
View Source
Declaration
event UpdateEventHandler RetrieveProgress
Event Type
Meadow.Update.UpdateEventHandler
UpdateRetrieved
Event raised after an update package has been retrieved from the defined Update server
View Source
Declaration
event UpdateEventHandler UpdateRetrieved
Event Type
Meadow.Update.UpdateEventHandler
UpdateSuccess
Event raised after an update package has been successfully applied
View Source
Declaration
event UpdateEventHandler UpdateSuccess
Event Type
Meadow.Update.UpdateEventHandler
UpdateFailure
Event raised if a failure occurs in an attempt to apply an update package
View Source
Declaration
event UpdateEventHandler UpdateFailure