Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
androidconnectivitymanager.cpp File Reference

(453c76e51b48c3d327c81777c436650482114e91)

#include "androidconnectivitymanager.h"
#include <QtCore/qcoreapplication.h>
#include <QtCore/qjnienvironment.h>
#include "moc_androidconnectivitymanager.cpp"
Include dependency graph for androidconnectivitymanager.cpp:

Go to the source code of this file.

Classes

struct  AndroidConnectivityManagerInstance

Functions

static AndroidConnectivityManagerliveConnManager ()
static void networkConnectivityChanged (JNIEnv *, jobject, jint enumValue)
static void genericInfoChanged (JNIEnv *, jobject, jboolean captivePortal, jboolean metered)
static void transportMediumChanged (JNIEnv *, jobject, jint enumValue)

Variables

static const char networkInformationClass []

Function Documentation

◆ genericInfoChanged()

void genericInfoChanged ( JNIEnv * ,
jobject ,
jboolean captivePortal,
jboolean metered )
static

Definition at line 44 of file androidconnectivitymanager.cpp.

References liveConnManager().

Here is the call graph for this function:

◆ liveConnManager()

AndroidConnectivityManager * liveConnManager ( )
static

Definition at line 24 of file androidconnectivitymanager.cpp.

Referenced by genericInfoChanged(), networkConnectivityChanged(), and transportMediumChanged().

Here is the caller graph for this function:

◆ networkConnectivityChanged()

void networkConnectivityChanged ( JNIEnv * ,
jobject ,
jint enumValue )
static

Definition at line 31 of file androidconnectivitymanager.cpp.

References liveConnManager().

Here is the call graph for this function:

◆ transportMediumChanged()

void transportMediumChanged ( JNIEnv * ,
jobject ,
jint enumValue )
static

Definition at line 56 of file androidconnectivitymanager.cpp.

References liveConnManager().

Here is the call graph for this function:

Variable Documentation

◆ networkInformationClass

const char networkInformationClass
static
Initial value:
=
"org/qtproject/qt/android/networkinformation/QtAndroidNetworkInformation"

Definition at line 21 of file androidconnectivitymanager.cpp.