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
qandroidscreencapture.cpp File Reference

(304bc7b2c2559cebf793a56a08488b7c1fffec56)

#include <QtFFmpegMediaPluginImpl/private/qandroidscreencapture_p.h>
#include <QtCore/private/qjnihelpers_p.h>
#include <QtCore/qreadwritelock.h>
#include <QtFFmpegMediaPluginImpl/private/qandroidvideoframefactory_p.h>
#include <QtFFmpegMediaPluginImpl/private/qffmpegvideobuffer_p.h>
Include dependency graph for qandroidscreencapture.cpp:

Go to the source code of this file.

Classes

class  QAndroidScreenCapture::Grabber

Namespaces

namespace  QtScreenCaptureService

Functions

QT_BEGIN_NAMESPACE Q_DECLARE_JNI_CLASS (QtScreenGrabber, "org/qtproject/qt/android/multimedia/QtScreenGrabber") Q_DECLARE_JNI_CLASS(QtScreenCaptureService
static void onScreenFrameAvailable (JNIEnv *env, jobject obj, QtJniTypes::Image image, jlong id)
static void onErrorUpdate (JNIEnv *env, jobject obj, QString errorString, jlong id)

Variables

QAtomicInteger< int > QtScreenCaptureService::idCounter = 0
constexpr int QtScreenCaptureService::REQUEST_CODE_MEDIA_PROJECTION = 24680
constexpr int QtScreenCaptureService::RESULT_CANCEL = 0
constexpr int QtScreenCaptureService::RESULT_OK = -1

Function Documentation

◆ onErrorUpdate()

void onErrorUpdate ( JNIEnv * env,
jobject obj,
QString errorString,
jlong id )
static

Definition at line 150 of file qandroidscreencapture.cpp.

◆ onScreenFrameAvailable()

void onScreenFrameAvailable ( JNIEnv * env,
jobject obj,
QtJniTypes::Image image,
jlong id )
static

Definition at line 141 of file qandroidscreencapture.cpp.

◆ Q_DECLARE_JNI_CLASS()

QT_BEGIN_NAMESPACE Q_DECLARE_JNI_CLASS ( QtScreenGrabber ,
"org/qtproject/qt/android/multimedia/QtScreenGrabber"  )