6 #include "IConnectivityService.h"
7 #include "CallbackCollection.h"
22 bool HasConnectivity();
23 Web::ConnectivityType GetConnectivityType();
24 void SetConnectivityType(
const int connectivityType,
const std::string& wifiSSID);
26 const std::string& GetSSIDForCurrentWifi();
34 jclass m_networkChangeReceiverClass;
35 jobject m_networkChangeReceiverInstance;
37 jclass m_networkChangeReceiverRegistrationServiceClass;
38 jobject m_networkChangeReceiverRegistrationServiceInstance;
40 std::string m_currentSSID;
42 bool m_hasConnectivity;
43 int m_connectivityType;
47 void SetHasConnectivity(
const bool hasConnectivity,
const std::string& wifiSSID);
48 void GetInitialConnectivity();
55 JNIEXPORT
void JNICALL Java_com_eegeo_web_ConnectivityServiceJniMethods_SetConnectivityType(
56 JNIEnv* jenv, jobject obj,
57 jlong nativeObjectPtr,
58 jint connectivityType,