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
QtMediaRecorderListener.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
4
package
org.qtproject.qt.android.multimedia;
5
6
import
android.media.MediaRecorder;
7
8
public
class
QtMediaRecorderListener
implements
MediaRecorder.OnErrorListener, MediaRecorder.OnInfoListener
9
{
10
private
long
m_id = -1;
11
12
public
QtMediaRecorderListener
(
long
id
)
13
{
14
m_id =
id
;
15
}
16
17
@Override
18
public
void
onError
(MediaRecorder mr,
int
what,
int
extra)
19
{
20
notifyError(m_id, what, extra);
21
}
22
23
@Override
24
public
void
onInfo
(MediaRecorder mr,
int
what,
int
extra)
25
{
26
notifyInfo(m_id, what, extra);
27
}
28
29
private
static
native
void
notifyError(
long
id
,
int
what,
int
extra);
30
private
static
native
void
notifyInfo(
long
id
,
int
what,
int
extra);
31
}
org.qtproject.qt.android.multimedia.QtMediaRecorderListener
Definition
QtMediaRecorderListener.java:9
org.qtproject.qt.android.multimedia.QtMediaRecorderListener.onError
void onError(MediaRecorder mr, int what, int extra)
Definition
QtMediaRecorderListener.java:18
org.qtproject.qt.android.multimedia.QtMediaRecorderListener.onInfo
void onInfo(MediaRecorder mr, int what, int extra)
Definition
QtMediaRecorderListener.java:24
org.qtproject.qt.android.multimedia.QtMediaRecorderListener.QtMediaRecorderListener
QtMediaRecorderListener(long id)
Definition
QtMediaRecorderListener.java:12
id
GLenum GLuint id
[7]
Definition
qopengles2ext.h:151
qtmultimedia
src
android
jar
src
org
qtproject
qt
android
multimedia
QtMediaRecorderListener.java
Generated by
1.10.0