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
QtSurfaceTextureListener.java
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4package org.qtproject.qt.android.multimedia;
5
6import android.graphics.SurfaceTexture;
7
8public class QtSurfaceTextureListener implements SurfaceTexture.OnFrameAvailableListener
9{
10 private final long m_id;
11
13 {
14 m_id = id;
15 }
16
17 @Override
18 public void onFrameAvailable(SurfaceTexture surfaceTexture)
19 {
20 notifyFrameAvailable(m_id);
21 }
22
23 private static native void notifyFrameAvailable(long id);
24}
GLenum GLuint id
[7]