io.qt.multimedia.QMediaDevices Maven / Gradle / Ivy
package io.qt.multimedia;
import io.qt.*;
/**
* Information about available multimedia input and output devices
* Java wrapper for Qt class QMediaDevices
*/
public class QMediaDevices extends io.qt.core.QObject
{
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(QMediaDevices.class);
/**
* See QMediaDevices:: audioInputsChanged()
*/
@QtPropertyNotify(name="audioInputs")
public final @NonNull Signal0 audioInputsChanged = new Signal0();
/**
* See QMediaDevices:: audioOutputsChanged()
*/
@QtPropertyNotify(name="audioOutputs")
public final @NonNull Signal0 audioOutputsChanged = new Signal0();
/**
* See QMediaDevices:: videoInputsChanged()
*/
@QtPropertyNotify(name="videoInputs")
public final @NonNull Signal0 videoInputsChanged = new Signal0();
/**
* See QMediaDevices:: QMediaDevices(QObject*)
* @param parent
*/
public QMediaDevices(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QMediaDevices instance, io.qt.core.QObject parent);
/**
* See QObject:: connectNotify(QMetaMethod)
* @param signal
*/
@QtUninvokable
@Override
protected void connectNotify(io.qt.core.@NonNull QMetaMethod signal){
connectNotify_native_cref_QMetaMethod(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(signal));
}
@QtUninvokable
private native void connectNotify_native_cref_QMetaMethod(long __this__nativeId, long signal);
/**
* See QMediaDevices:: audioInputs()
* @return
*/
@QtPropertyReader(name="audioInputs")
public native static io.qt.core.@NonNull QList audioInputs();
/**
* See QMediaDevices:: audioOutputs()
* @return
*/
@QtPropertyReader(name="audioOutputs")
public native static io.qt.core.@NonNull QList audioOutputs();
/**
* See QMediaDevices:: defaultAudioInput()
* @return
*/
@QtPropertyReader(name="defaultAudioInput")
public native static io.qt.multimedia.@NonNull QAudioDevice defaultAudioInput();
/**
* See QMediaDevices:: defaultAudioOutput()
* @return
*/
@QtPropertyReader(name="defaultAudioOutput")
public native static io.qt.multimedia.@NonNull QAudioDevice defaultAudioOutput();
/**
* See QMediaDevices:: defaultVideoInput()
* @return
*/
@QtPropertyReader(name="defaultVideoInput")
public native static io.qt.multimedia.@NonNull QCameraDevice defaultVideoInput();
/**
* See QMediaDevices:: videoInputs()
* @return
*/
@QtPropertyReader(name="videoInputs")
public native static io.qt.core.@NonNull QList videoInputs();
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QMediaDevices(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QMediaDevices(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QMediaDevices instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QMediaDevices(io.qt.core.QObject)}
* with parent = null
.
*/
public QMediaDevices() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #audioInputs()} instead.
*/
@QtPropertyReader(enabled=false)
public static io.qt.core.@NonNull QList getAudioInputs() {
return audioInputs();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #audioOutputs()} instead.
*/
@QtPropertyReader(enabled=false)
public static io.qt.core.@NonNull QList getAudioOutputs() {
return audioOutputs();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #defaultAudioInput()} instead.
*/
@QtPropertyReader(enabled=false)
public static io.qt.multimedia.@NonNull QAudioDevice getDefaultAudioInput() {
return defaultAudioInput();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #defaultAudioOutput()} instead.
*/
@QtPropertyReader(enabled=false)
public static io.qt.multimedia.@NonNull QAudioDevice getDefaultAudioOutput() {
return defaultAudioOutput();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #defaultVideoInput()} instead.
*/
@QtPropertyReader(enabled=false)
public static io.qt.multimedia.@NonNull QCameraDevice getDefaultVideoInput() {
return defaultVideoInput();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #videoInputs()} instead.
*/
@QtPropertyReader(enabled=false)
public static io.qt.core.@NonNull QList getVideoInputs() {
return videoInputs();
}
}