Interface IInternetConnectivityMonitor
Sledovač internetového pripojenia.
Namespace: NineDigiteKasa
Assembly: NineDigit.eKasa.dll
Syntax
public interface IInternetConnectivityMonitor
Methods
GetStateAsync(CancellationToken)
Declaration
Task<InternetConnectionStateInfo> GetStateAsync(CancellationToken cancellationToken)
Parameters
Returns
Monitor(Action<InternetConnectionStateChange>)
Zahlási sa na odber zmien stavu internetového pripojenia.
Declaration
IDisposable Monitor(Action<InternetConnectionStateChange> stateChangeHandler)
Parameters
Returns
| Type |
Description |
| IDisposable |
Token, slúžiaci na odhlásenie odberu
|
Exceptions
Monitor(EventHandler<InternetConnectionStateChange>)
Zahlási sa na odber zmien stavu internetového pripojenia.
Declaration
IDisposable Monitor(EventHandler<InternetConnectionStateChange> stateChangeHandler)
Parameters
Returns
| Type |
Description |
| IDisposable |
Token, slúžiaci na odhlásenie odberu
|
Exceptions
Events
Disposed
Indikácia zlikvidovania objektu.
Declaration
event EventHandler Disposed
Event Type