io.qt.multimedia.QCapturableWindow Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-multimedia Show documentation
Show all versions of qtjambi-multimedia Show documentation
Classes for audio, video, radio and camera functionality.
The newest version!
package io.qt.multimedia;
import io.qt.*;
/**
* Used for getting the basic information of a capturable window
* Java wrapper for Qt class QCapturableWindow
* @since This class was introduced in Qt 6.6.
*/
public class QCapturableWindow 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(QCapturableWindow.class);
/**
* See QCapturableWindow:: QCapturableWindow()
*/
public QCapturableWindow(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QCapturableWindow instance);
/**
* See QCapturableWindow:: QCapturableWindow(QCapturableWindow)
* @param other
*/
public QCapturableWindow(io.qt.multimedia.@StrictNonNull QCapturableWindow other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(QCapturableWindow instance, io.qt.multimedia.QCapturableWindow other);
/**
* See QCapturableWindow:: description()const
* @return
*/
@QtPropertyReader(name="description")
@QtPropertyConstant
@QtUninvokable
public final java.lang.@NonNull String description(){
return description_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String description_native_constfct(long __this__nativeId);
/**
* See QCapturableWindow:: isValid()const
* @return
*/
@QtPropertyReader(name="isValid")
@QtPropertyConstant
@QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QCapturableWindow:: operator=(QCapturableWindow)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.multimedia.@StrictNonNull QCapturableWindow other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QCapturableWindow(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QCapturableWindow(long __this__nativeId, long other);
/**
* See operator==(QCapturableWindow, QCapturableWindow)
* @param rhs
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.multimedia.@StrictNonNull QCapturableWindow rhs){
java.util.Objects.requireNonNull(rhs, "Argument 'rhs': null not expected.");
return equals_native_cref_QCapturableWindow(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QCapturableWindow(long __this__nativeId, long rhs);
/**
* See QCapturableWindow:: swap(QCapturableWindow&)
* @param other
*/
@QtUninvokable
public final void swap(io.qt.multimedia.@StrictNonNull QCapturableWindow other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QCapturableWindow(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QCapturableWindow(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCapturableWindow(QPrivateConstructor p) { super(p); }
/**
* See operator==(QCapturableWindow, QCapturableWindow)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.multimedia.QCapturableWindow) {
return equals((io.qt.multimedia.QCapturableWindow) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QCapturableWindow)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QCapturableWindow)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QCapturableWindow:: QCapturableWindow(QCapturableWindow)
*/
@QtUninvokable
@Override
public QCapturableWindow clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QCapturableWindow clone_native(long __this_nativeId);
/**
* @hidden
* Kotlin property getter. In Java use {@link #description()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getDescription() {
return description();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy