Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Web
IConnectivityService.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
#include "ICallback.h"
5
#include <string>
6
7
namespace
Eegeo
8
{
9
namespace
Web
10
{
11
enum
ConnectivityType
12
{
13
Unknown,
14
None,
15
Wifi,
16
WirelessWAN
17
};
18
19
class
IConnectivityService
20
{
21
public
:
22
virtual
~
IConnectivityService
() {}
23
24
virtual
bool
HasConnectivity() = 0;
25
virtual
ConnectivityType GetConnectivityType() = 0;
26
27
virtual
const
std::string& GetSSIDForCurrentWifi() = 0;
28
29
virtual
void
RegisterConnectivityChangedCallback(
Helpers::ICallback1<const bool&>
& callback) = 0;
30
virtual
void
UnregisterConnectivityChangedCallback(
Helpers::ICallback1<const bool&>
& callback) = 0;
31
};
32
}
33
}
Generated on Sat Jun 10 2023 02:00:35 for eeGeo Platform SDK by
1.8.3.1