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
QtAndroidBinder.java
Go to the documentation of this file.
1// Copyright (C) 2017 BogDan Vatra <bogdan@kde.org>
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.extras;
5
6import android.os.Binder;
7import android.os.Parcel;
8
10
11class QtAndroidBinder extends Binder
12{
14 public QtAndroidBinder(long id)
15 {
16 m_id = id;
17 }
18
19 public void setId(long id)
20 {
21 synchronized(this)
22 {
23 m_id = id;
24 }
25 }
26 @Override
27 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags)
28 {
29 synchronized(this)
30 {
31 return QtNative.onTransact(m_id, code, data, reply, flags);
32 }
33 }
34
35 private long m_id;
36}
GLenum GLuint id
[7]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLbitfield flags
QNetworkReply * reply