IUpdatesService Interface

graph TD Type["IUpdatesService"] class Type type-node

Syntax

public interface IUpdatesService

Events

Name Type Summary
AutoReceiveUpdates AutoUpdateHandler
Get auto updates
ManualReceiveUpdates ManualUpdateHandler
Get manuals updates

Methods

Name Value Summary
GetCurrentStateAsync(CancellationToken) Task<IState>
Get current states of updates
GetUpdatesFromState(IState, CancellationToken) Task<IDifference>
Get manual updates
StartReceiveUpdates(TimeSpan) void
Starting receive updates. Updates will be raise an event
StopReceiveUpdates() void
Stopping receive updates