io.qt.core.QCameraPermission Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
import io.qt.*;
/**
* Access the camera for taking pictures or videos
* Java wrapper for Qt class QCameraPermission
*/
public class QCameraPermission extends QPermission
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QCameraPermission:: QCameraPermission()
*/
public QCameraPermission(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QCameraPermission instance);
/**
* See QCameraPermission:: QCameraPermission(QCameraPermission)
*/
public QCameraPermission(io.qt.core.@NonNull QCameraPermission other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QCameraPermission instance, io.qt.core.QCameraPermission other);
/**
* See QCameraPermission:: operator=(QCameraPermission)
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QCameraPermission other){
assign_native_cref_QCameraPermission(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QCameraPermission(long __this__nativeId, long other);
/**
* See operator==(QCameraPermission, QCameraPermission)
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QCameraPermission arg__2){
return equals_native_cref_QCameraPermission(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__2));
}
@QtUninvokable
private native boolean equals_native_cref_QCameraPermission(long __this__nativeId, long arg__2);
/**
* See QCameraPermission:: swap(QCameraPermission&)
*/
@QtUninvokable
public final void swap(io.qt.core.@StrictNonNull QCameraPermission other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QCameraPermission(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QCameraPermission(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCameraPermission(QPrivateConstructor p) { super(p); }
/**
* See operator==(QCameraPermission, QCameraPermission)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QCameraPermission) {
return equals((io.qt.core.QCameraPermission) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QCameraPermission)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QCameraPermission:: QCameraPermission(QCameraPermission)
*/
@QtUninvokable
@Override
public QCameraPermission clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QCameraPermission clone_native(long __this_nativeId);
}