-
Notifications
You must be signed in to change notification settings - Fork 44
/
IRollbarConnectivityMonitor.cs
36 lines (35 loc) · 1.21 KB
/
IRollbarConnectivityMonitor.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
namespace Rollbar
{
/// <summary>
/// Interface IRollbarConnectivityMonitor
/// </summary>
public interface IRollbarConnectivityMonitor
{
/// <summary>
/// Gets a value indicating whether this instance is connectivity on.
/// </summary>
/// <value><c>true</c> if this instance is connectivity on; otherwise, <c>false</c>.</value>
bool IsConnectivityOn
{
get;
}
/// <summary>
/// Gets a value indicating whether this instance is disabled.
/// </summary>
/// <value><c>true</c> if this instance is disabled; otherwise, <c>false</c>.</value>
bool IsDisabled
{
get;
}
/// <summary>
/// Disables this instance.
/// </summary>
/// <remarks>
/// Any concrete Connectivity Monitor implementation may not be 100% accurate for all the possible
/// network environments. So, you may have to disable it in case it does not properly detect
/// specific network conditions. If disabled it will be assumed to always have its
/// IsConnectivityOn property returning true.
/// </remarks>
void Disable();
}
}