Sha256: be38af5d990915b367f66ecd658ffbccdb59205b3c8c39c5a68b3b97a2bfdb31

Contents?: true

Size: 473 Bytes

Versions: 3

Compression:

Stored size: 473 Bytes

Contents

#pragma once

#include <jni.h>
#include "rhodes.h"
#include "logging/RhoLog.h"
#include "common/StringConverter.h"

#undef DEFAULT_LOGCATEGORY
#define DEFAULT_LOGCATEGORY "NetworkAvailability"
#define NETWORK_IMPL_CLASS "com.motorolasolutions.rho.network.Network"

class CNetworkAvailability
{
    static jclass s_jNetworkClass;
    static JNIEnv* init();
public:
	static int hasNetwork();
	static int hasCellNetwork();
	static int hasWifiNetwork();
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tauplatform-1.0.3 lib/commonAPI/coreapi/ext/platform/android/jni/NetworkAvailability.h
tauplatform-1.0.2 lib/commonAPI/coreapi/ext/platform/android/jni/NetworkAvailability.h
tauplatform-1.0.1 lib/commonAPI/coreapi/ext/platform/android/jni/NetworkAvailability.h