
io.qt.core.QMicrophonePermission Maven / Gradle / Ivy
package io.qt.core;
import io.qt.*;
/**
* Access the microphone for monitoring or recording sound
* Java wrapper for Qt class QMicrophonePermission
*/
public class QMicrophonePermission extends QPermission
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QMicrophonePermission:: QMicrophonePermission()
*/
public QMicrophonePermission(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QMicrophonePermission instance);
/**
* See QMicrophonePermission:: QMicrophonePermission(QMicrophonePermission)
*/
public QMicrophonePermission(io.qt.core.@NonNull QMicrophonePermission other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QMicrophonePermission instance, io.qt.core.QMicrophonePermission other);
/**
* See QMicrophonePermission:: operator=(QMicrophonePermission)
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QMicrophonePermission other){
assign_native_cref_QMicrophonePermission(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QMicrophonePermission(long __this__nativeId, long other);
/**
* See operator==(QMicrophonePermission, QMicrophonePermission)
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QMicrophonePermission arg__2){
return equals_native_cref_QMicrophonePermission(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__2));
}
@QtUninvokable
private native boolean equals_native_cref_QMicrophonePermission(long __this__nativeId, long arg__2);
/**
* See QMicrophonePermission:: swap(QMicrophonePermission&)
*/
@QtUninvokable
public final void swap(io.qt.core.@StrictNonNull QMicrophonePermission other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QMicrophonePermission(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QMicrophonePermission(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QMicrophonePermission(QPrivateConstructor p) { super(p); }
/**
* See operator==(QMicrophonePermission, QMicrophonePermission)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QMicrophonePermission) {
return equals((io.qt.core.QMicrophonePermission) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QMicrophonePermission)
.
*/
@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 QMicrophonePermission:: QMicrophonePermission(QMicrophonePermission)
*/
@QtUninvokable
@Override
public QMicrophonePermission clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QMicrophonePermission clone_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy