![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inheaderfile QtCore/private/qandroidextras_p.h \preliminary \inmodule QtCorePrivate More...
#include <qandroidextras_p.h>
Public Member Functions | |
QAndroidActivityResultReceiver () | |
virtual | ~QAndroidActivityResultReceiver () |
virtual void | handleActivityResult (int receiverRequestCode, int resultCode, const QJniObject &data)=0 |
Reimplement this function to get activity results after starting an activity using either QtAndroidPrivate::startActivity() or QtAndroidPrivate::startIntentSender(). |
Friends | |
class | QAndroidActivityResultReceiverPrivate |
\inheaderfile QtCore/private/qandroidextras_p.h \preliminary \inmodule QtCorePrivate
Interface used for callbacks from onActivityResult() in the main Android activity.
Create a subclass of this class to be notified of the results when using the QtAndroidPrivate::startActivity()
and QtAndroidPrivate::startIntentSender()
APIs.
Definition at line 96 of file qandroidextras_p.h.
QAndroidActivityResultReceiver::QAndroidActivityResultReceiver | ( | ) |
Definition at line 513 of file qandroidextras.cpp.
|
virtual |
Definition at line 523 of file qandroidextras.cpp.
|
pure virtual |
Reimplement this function to get activity results after starting an activity using either QtAndroidPrivate::startActivity() or QtAndroidPrivate::startIntentSender().
The receiverRequestCode is the request code unique to this receiver which was originally passed to the startActivity() or startIntentSender() functions. The resultCode is the result returned by the activity, and data is either null or a Java object of the class android.content.Intent. Both the last to arguments are identical to the arguments passed to onActivityResult().
Implemented in QAndroidActivityCallbackResultReceiver.
|
friend |
Definition at line 105 of file qandroidextras_p.h.