Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QAndroidActivityResultReceiverPrivate Class Reference
+ Inheritance diagram for QAndroidActivityResultReceiverPrivate:
+ Collaboration diagram for QAndroidActivityResultReceiverPrivate:

Public Member Functions

int globalRequestCode (int localRequestCode) const
 
bool handleActivityResult (jint requestCode, jint resultCode, jobject data)
 
- Public Member Functions inherited from QtAndroidPrivate::ActivityResultListener
virtual ~ActivityResultListener ()
 

Static Public Member Functions

static QAndroidActivityResultReceiverPrivateget (QAndroidActivityResultReceiver *publicObject)
 

Public Attributes

QAndroidActivityResultReceiverq
 
QHash< int, int > localToGlobalRequestCode
 
QHash< int, int > globalToLocalRequestCode
 

Detailed Description

Definition at line 469 of file qandroidextras.cpp.

Member Function Documentation

◆ get()

static QAndroidActivityResultReceiverPrivate * QAndroidActivityResultReceiverPrivate::get ( QAndroidActivityResultReceiver * publicObject)
inlinestatic

Definition at line 500 of file qandroidextras.cpp.

Referenced by QtAndroidPrivate::startActivity(), and QtAndroidPrivate::startIntentSender().

+ Here is the caller graph for this function:

◆ globalRequestCode()

int QAndroidActivityResultReceiverPrivate::globalRequestCode ( int localRequestCode) const
inline

Definition at line 476 of file qandroidextras.cpp.

References globalRequestCode(), globalToLocalRequestCode, localToGlobalRequestCode, QHash< Key, T >::size(), and uniqueActivityRequestCode().

Referenced by globalRequestCode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleActivityResult()

bool QAndroidActivityResultReceiverPrivate::handleActivityResult ( jint requestCode,
jint resultCode,
jobject data )
inlinevirtual

Implements QtAndroidPrivate::ActivityResultListener.

Definition at line 489 of file qandroidextras.cpp.

References QHash< Key, T >::cend(), QSet< T >::find(), globalToLocalRequestCode, and it.

+ Here is the call graph for this function:

Member Data Documentation

◆ globalToLocalRequestCode

QHash<int, int> QAndroidActivityResultReceiverPrivate::globalToLocalRequestCode
mutable

Definition at line 474 of file qandroidextras.cpp.

Referenced by globalRequestCode(), and handleActivityResult().

◆ localToGlobalRequestCode

QHash<int, int> QAndroidActivityResultReceiverPrivate::localToGlobalRequestCode
mutable

Definition at line 473 of file qandroidextras.cpp.

Referenced by globalRequestCode().

◆ q

QAndroidActivityResultReceiver* QAndroidActivityResultReceiverPrivate::q

The documentation for this class was generated from the following file: