Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QtNative.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.content.ComponentName;
7import android.content.ServiceConnection;
8import android.os.IBinder;
9import android.os.Parcel;
10
11public class QtNative {
12 // Binder
13 public static native boolean onTransact(long id, int code, Parcel data, Parcel reply, int flags);
14
15
16 // ServiceConnection
17 public static native void onServiceConnected(long id, String name, IBinder service);
18 public static native void onServiceDisconnected(long id, String name);
19}
static native boolean onTransact(long id, int code, Parcel data, Parcel reply, int flags)
static native void onServiceDisconnected(long id, String name)
static native void onServiceConnected(long id, String name, IBinder service)
GLbitfield flags
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLuint name
QNetworkReply * reply