All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.webengine.core.QWebEngineDesktopMediaRequest Maven / Gradle / Ivy

Go to download

Provides public API shared by both modules {@code qtjambi.webenginequick} and {@code qtjambi.webenginewidgets}.

There is a newer version: 6.7.2
Show newest version
package io.qt.webengine.core;

import io.qt.*;


/**
 * 

A request for populating a dialog with available sources for screen capturing

*

Java wrapper for Qt class QWebEngineDesktopMediaRequest

* @since This class was introduced in Qt 6.7. */ public class QWebEngineDesktopMediaRequest extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QWebEngineDesktopMediaRequest.class); /** *

See QWebEngineDesktopMediaRequest::QWebEngineDesktopMediaRequest(QWebEngineDesktopMediaRequest)

* @param other */ public QWebEngineDesktopMediaRequest(io.qt.webengine.core.@StrictNonNull QWebEngineDesktopMediaRequest other){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); initialize_native(this, other); } private native static void initialize_native(QWebEngineDesktopMediaRequest instance, io.qt.webengine.core.QWebEngineDesktopMediaRequest other); /** *

See QWebEngineDesktopMediaRequest::cancel()const

*/ public final void cancel(){ cancel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void cancel_native_constfct(long __this__nativeId); /** *

See QWebEngineDesktopMediaRequest::operator=(QWebEngineDesktopMediaRequest)

* @param other */ @QtUninvokable public final void assign(io.qt.webengine.core.@StrictNonNull QWebEngineDesktopMediaRequest other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); assign_native_cref_QWebEngineDesktopMediaRequest(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QWebEngineDesktopMediaRequest(long __this__nativeId, long other); /** *

See QWebEngineDesktopMediaRequest::screensModel()const

* @return */ @QtPropertyReader(name="screensModel") @QtUninvokable public final io.qt.core.@Nullable QAbstractListModel screensModel(){ return screensModel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QAbstractListModel screensModel_native_constfct(long __this__nativeId); /** *

See QWebEngineDesktopMediaRequest::selectScreen(QModelIndex)const

* @param index */ public final void selectScreen(io.qt.core.@NonNull QModelIndex index){ selectScreen_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } private native void selectScreen_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QWebEngineDesktopMediaRequest::selectWindow(QModelIndex)const

* @param index */ public final void selectWindow(io.qt.core.@NonNull QModelIndex index){ selectWindow_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } private native void selectWindow_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QWebEngineDesktopMediaRequest::swap(QWebEngineDesktopMediaRequest&)

* @param other */ @QtUninvokable public final void swap(io.qt.webengine.core.@StrictNonNull QWebEngineDesktopMediaRequest other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QWebEngineDesktopMediaRequest(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QWebEngineDesktopMediaRequest(long __this__nativeId, long other); /** *

See QWebEngineDesktopMediaRequest::windowsModel()const

* @return */ @QtPropertyReader(name="windowsModel") @QtUninvokable public final io.qt.core.@Nullable QAbstractListModel windowsModel(){ return windowsModel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QAbstractListModel windowsModel_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QWebEngineDesktopMediaRequest(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QWebEngineDesktopMediaRequest::QWebEngineDesktopMediaRequest(QWebEngineDesktopMediaRequest)

*/ @QtUninvokable @Override public QWebEngineDesktopMediaRequest clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QWebEngineDesktopMediaRequest clone_native(long __this_nativeId); /** * @hidden *

Kotlin property getter. In Java use {@link #screensModel()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@Nullable QAbstractListModel getScreensModel() { return screensModel(); } /** * @hidden *

Kotlin property getter. In Java use {@link #windowsModel()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@Nullable QAbstractListModel getWindowsModel() { return windowsModel(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy