io.qt.multimedia.QMediaRecorder Maven / Gradle / Ivy
package io.qt.multimedia;
import io.qt.*;
/**
* Used for encoding and recording a capture session
* Java wrapper for Qt class QMediaRecorder
*/
public class QMediaRecorder extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
@QtPropertyMember(enabled=false)
private Object __rcOutputDevice;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QMediaRecorder.class);
/**
* Java wrapper for Qt enum QMediaRecorder::EncodingMode
*/
public enum EncodingMode implements QtEnumerator {
/**
* Representing QMediaRecorder:: ConstantQualityEncoding
*/
ConstantQualityEncoding(0),
/**
* Representing QMediaRecorder:: ConstantBitRateEncoding
*/
ConstantBitRateEncoding(1),
/**
* Representing QMediaRecorder:: AverageBitRateEncoding
*/
AverageBitRateEncoding(2),
/**
* Representing QMediaRecorder:: TwoPassEncoding
*/
TwoPassEncoding(3);
static {
QtJambi_LibraryUtilities.initialize();
}
private EncodingMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull EncodingMode resolve(int value) {
switch (value) {
case 0: return ConstantQualityEncoding;
case 1: return ConstantBitRateEncoding;
case 2: return AverageBitRateEncoding;
case 3: return TwoPassEncoding;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QMediaRecorder::Error
*/
public enum Error implements QtEnumerator {
/**
* Representing QMediaRecorder:: NoError
*/
NoError(0),
/**
* Representing QMediaRecorder:: ResourceError
*/
ResourceError(1),
/**
* Representing QMediaRecorder:: FormatError
*/
FormatError(2),
/**
* Representing QMediaRecorder:: OutOfSpaceError
*/
OutOfSpaceError(3),
/**
* Representing QMediaRecorder:: LocationNotWritable
*/
LocationNotWritable(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private Error(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Error resolve(int value) {
switch (value) {
case 0: return NoError;
case 1: return ResourceError;
case 2: return FormatError;
case 3: return OutOfSpaceError;
case 4: return LocationNotWritable;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QMediaRecorder::Quality
*/
public enum Quality implements QtEnumerator {
/**
* Representing QMediaRecorder:: VeryLowQuality
*/
VeryLowQuality(0),
/**
* Representing QMediaRecorder:: LowQuality
*/
LowQuality(1),
/**
* Representing QMediaRecorder:: NormalQuality
*/
NormalQuality(2),
/**
* Representing QMediaRecorder:: HighQuality
*/
HighQuality(3),
/**
* Representing QMediaRecorder:: VeryHighQuality
*/
VeryHighQuality(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private Quality(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Quality resolve(int value) {
switch (value) {
case 0: return VeryLowQuality;
case 1: return LowQuality;
case 2: return NormalQuality;
case 3: return HighQuality;
case 4: return VeryHighQuality;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QMediaRecorder::RecorderState
*/
public enum RecorderState implements QtEnumerator {
/**
* Representing QMediaRecorder:: StoppedState
*/
StoppedState(0),
/**
* Representing QMediaRecorder:: RecordingState
*/
RecordingState(1),
/**
* Representing QMediaRecorder:: PausedState
*/
PausedState(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private RecorderState(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull RecorderState resolve(int value) {
switch (value) {
case 0: return StoppedState;
case 1: return RecordingState;
case 2: return PausedState;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QMediaRecorder:: actualLocationChanged(QUrl)
*/
@QtPropertyNotify(name="actualLocation")
public final @NonNull Signal1 actualLocationChanged = new Signal1<>();
/**
* See QMediaRecorder:: audioBitRateChanged()
*/
@QtPropertyNotify(name="audioBitRate")
public final @NonNull Signal0 audioBitRateChanged = new Signal0();
/**
* See QMediaRecorder:: audioChannelCountChanged()
*/
@QtPropertyNotify(name="audioChannelCount")
public final @NonNull Signal0 audioChannelCountChanged = new Signal0();
/**
* See QMediaRecorder:: audioSampleRateChanged()
*/
@QtPropertyNotify(name="audioSampleRate")
public final @NonNull Signal0 audioSampleRateChanged = new Signal0();
/**
* See QMediaRecorder:: autoStopChanged()
*/
@QtPropertyNotify(name="autoStop")
public final @NonNull Signal0 autoStopChanged = new Signal0();
/**
* See QMediaRecorder:: durationChanged(qint64)
*/
@QtPropertyNotify(name="duration")
public final @NonNull Signal1 durationChanged = new Signal1<>();
/**
* See QMediaRecorder:: encoderSettingsChanged()
*/
public final @NonNull Signal0 encoderSettingsChanged = new Signal0();
/**
* See QMediaRecorder:: encodingModeChanged()
*/
@QtPropertyNotify(name="encodingMode")
public final @NonNull Signal0 encodingModeChanged = new Signal0();
/**
* See QMediaRecorder:: errorChanged()
*/
@QtPropertyNotify(name="error")
public final @NonNull Signal0 errorChanged = new Signal0();
/**
* See QMediaRecorder:: errorOccurred(QMediaRecorder::Error, QString)
*/
public final @NonNull Signal2 errorOccurred = new Signal2<>();
/**
* See QMediaRecorder:: mediaFormatChanged()
*/
@QtPropertyNotify(name="mediaFormat")
public final @NonNull Signal0 mediaFormatChanged = new Signal0();
/**
* See QMediaRecorder:: metaDataChanged()
*/
@QtPropertyNotify(name="metaData")
public final @NonNull Signal0 metaDataChanged = new Signal0();
/**
* See QMediaRecorder:: qualityChanged()
*/
@QtPropertyNotify(name="quality")
public final @NonNull Signal0 qualityChanged = new Signal0();
/**
* See QMediaRecorder:: recorderStateChanged(QMediaRecorder::RecorderState)
*/
@QtPropertyNotify(name="recorderState")
public final @NonNull Signal1 recorderStateChanged = new Signal1<>();
/**
* See QMediaRecorder:: videoBitRateChanged()
*/
@QtPropertyNotify(name="videoBitRate")
public final @NonNull Signal0 videoBitRateChanged = new Signal0();
/**
* See QMediaRecorder:: videoFrameRateChanged()
*/
@QtPropertyNotify(name="videoFrameRate")
public final @NonNull Signal0 videoFrameRateChanged = new Signal0();
/**
* See QMediaRecorder:: videoResolutionChanged()
*/
@QtPropertyNotify(name="videoResolution")
public final @NonNull Signal0 videoResolutionChanged = new Signal0();
/**
* See QMediaRecorder:: QMediaRecorder(QObject*)
* @param parent
*/
public QMediaRecorder(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QMediaRecorder instance, io.qt.core.QObject parent);
/**
* See QMediaRecorder:: actualLocation()const
* @return
*/
@QtPropertyReader(name="actualLocation")
@QtUninvokable
public final io.qt.core.@NonNull QUrl actualLocation(){
return actualLocation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QUrl actualLocation_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: addMetaData(QMediaMetaData)
* @param metaData
*/
@QtUninvokable
public final void addMetaData(io.qt.multimedia.@NonNull QMediaMetaData metaData){
addMetaData_native_cref_QMediaMetaData(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(metaData));
}
@QtUninvokable
private native void addMetaData_native_cref_QMediaMetaData(long __this__nativeId, long metaData);
/**
* See QMediaRecorder:: audioBitRate()const
* @return
*/
@QtPropertyReader(name="audioBitRate")
@QtUninvokable
public final int audioBitRate(){
return audioBitRate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int audioBitRate_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: audioChannelCount()const
* @return
*/
@QtPropertyReader(name="audioChannelCount")
@QtUninvokable
public final int audioChannelCount(){
return audioChannelCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int audioChannelCount_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: audioSampleRate()const
* @return
*/
@QtPropertyReader(name="audioSampleRate")
@QtUninvokable
public final int audioSampleRate(){
return audioSampleRate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int audioSampleRate_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: autoStop()const
* @return
*/
@QtPropertyReader(name="autoStop")
@QtUninvokable
public final boolean autoStop(){
return autoStop_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean autoStop_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: captureSession()const
* @return
*/
@QtUninvokable
public final io.qt.multimedia.@Nullable QMediaCaptureSession captureSession(){
return captureSession_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.multimedia.QMediaCaptureSession captureSession_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: duration()const
* @return
*/
@QtPropertyReader(name="duration")
@QtUninvokable
public final long duration(){
return duration_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long duration_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: encodingMode()const
* @return
*/
@QtPropertyReader(name="encodingMode")
@QtUninvokable
public final io.qt.multimedia.QMediaRecorder.@NonNull EncodingMode encodingMode(){
return io.qt.multimedia.QMediaRecorder.EncodingMode.resolve(encodingMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int encodingMode_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: error()const
* @return
*/
@QtPropertyReader(name="error")
@QtUninvokable
public final io.qt.multimedia.QMediaRecorder.@NonNull Error error(){
return io.qt.multimedia.QMediaRecorder.Error.resolve(error_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int error_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: errorString()const
* @return
*/
@QtPropertyReader(name="errorString")
@QtUninvokable
public final java.lang.@NonNull String errorString(){
return errorString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String errorString_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: isAvailable()const
* @return
*/
@QtUninvokable
public final boolean isAvailable(){
return isAvailable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isAvailable_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: mediaFormat()const
* @return
*/
@QtPropertyReader(name="mediaFormat")
@QtUninvokable
public final io.qt.multimedia.@NonNull QMediaFormat mediaFormat(){
return mediaFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.multimedia.QMediaFormat mediaFormat_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: metaData()const
* @return
*/
@QtPropertyReader(name="metaData")
@QtUninvokable
public final io.qt.multimedia.@NonNull QMediaMetaData metaData(){
return metaData_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.multimedia.QMediaMetaData metaData_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: outputDevice()const
* @return
*/
@QtUninvokable
public final io.qt.core.@Nullable QIODevice outputDevice(){
return outputDevice_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QIODevice outputDevice_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: outputLocation()const
* @return
*/
@QtPropertyReader(name="outputLocation")
@QtUninvokable
public final io.qt.core.@NonNull QUrl outputLocation(){
return outputLocation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QUrl outputLocation_native_constfct(long __this__nativeId);
/**
*
*/
public final void pause(){
pause_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void pause_native(long __this__nativeId);
/**
* See QMediaRecorder:: quality()const
* @return
*/
@QtPropertyReader(name="quality")
@QtUninvokable
public final io.qt.multimedia.QMediaRecorder.@NonNull Quality quality(){
return io.qt.multimedia.QMediaRecorder.Quality.resolve(quality_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int quality_native_constfct(long __this__nativeId);
/**
*
*/
public final void record(){
record_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void record_native(long __this__nativeId);
/**
* See QMediaRecorder:: recorderState()const
* @return
*/
@QtPropertyReader(name="recorderState")
@QtUninvokable
public final io.qt.multimedia.QMediaRecorder.@NonNull RecorderState recorderState(){
return io.qt.multimedia.QMediaRecorder.RecorderState.resolve(recorderState_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int recorderState_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: setAudioBitRate(int)
* @param bitRate
*/
@QtPropertyWriter(name="audioBitRate")
@QtUninvokable
public final void setAudioBitRate(int bitRate){
setAudioBitRate_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), bitRate);
}
@QtUninvokable
private native void setAudioBitRate_native_int(long __this__nativeId, int bitRate);
/**
* See QMediaRecorder:: setAudioChannelCount(int)
* @param channels
*/
@QtPropertyWriter(name="audioChannelCount")
@QtUninvokable
public final void setAudioChannelCount(int channels){
setAudioChannelCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), channels);
}
@QtUninvokable
private native void setAudioChannelCount_native_int(long __this__nativeId, int channels);
/**
* See QMediaRecorder:: setAudioSampleRate(int)
* @param sampleRate
*/
@QtPropertyWriter(name="audioSampleRate")
@QtUninvokable
public final void setAudioSampleRate(int sampleRate){
setAudioSampleRate_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), sampleRate);
}
@QtUninvokable
private native void setAudioSampleRate_native_int(long __this__nativeId, int sampleRate);
/**
* See QMediaRecorder:: setAutoStop(bool)
* @param autoStop
*/
@QtPropertyWriter(name="autoStop")
@QtUninvokable
public final void setAutoStop(boolean autoStop){
setAutoStop_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), autoStop);
}
@QtUninvokable
private native void setAutoStop_native_bool(long __this__nativeId, boolean autoStop);
/**
* See QMediaRecorder:: setEncodingMode(QMediaRecorder::EncodingMode)
* @param arg__1
*/
@QtPropertyWriter(name="encodingMode")
@QtUninvokable
public final void setEncodingMode(io.qt.multimedia.QMediaRecorder.@NonNull EncodingMode arg__1){
setEncodingMode_native_QMediaRecorder_EncodingMode(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@QtUninvokable
private native void setEncodingMode_native_QMediaRecorder_EncodingMode(long __this__nativeId, int arg__1);
/**
* See QMediaRecorder:: setMediaFormat(QMediaFormat)
* @param format
*/
@QtPropertyWriter(name="mediaFormat")
@QtUninvokable
public final void setMediaFormat(io.qt.multimedia.@NonNull QMediaFormat format){
setMediaFormat_native_cref_QMediaFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@QtUninvokable
private native void setMediaFormat_native_cref_QMediaFormat(long __this__nativeId, long format);
/**
* See QMediaRecorder:: setMetaData(QMediaMetaData)
* @param metaData
*/
@QtPropertyWriter(name="metaData")
@QtUninvokable
public final void setMetaData(io.qt.multimedia.@NonNull QMediaMetaData metaData){
setMetaData_native_cref_QMediaMetaData(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(metaData));
}
@QtUninvokable
private native void setMetaData_native_cref_QMediaMetaData(long __this__nativeId, long metaData);
/**
* See QMediaRecorder:: setOutputDevice(QIODevice*)
* @param device
*/
@QtUninvokable
public final void setOutputDevice(io.qt.core.@Nullable QIODevice device){
InternalAccess.NativeIdInfo __device__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(device);
setOutputDevice_native_QIODevice_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __device__NativeIdInfo.nativeId());
if (__device__NativeIdInfo.needsReferenceCounting()) {
__rcOutputDevice = device;
}else{
__rcOutputDevice = null;
}
}
@QtUninvokable
private native void setOutputDevice_native_QIODevice_ptr(long __this__nativeId, long device);
/**
* See QMediaRecorder:: setOutputLocation(QUrl)
* @param location
*/
@QtPropertyWriter(name="outputLocation")
@QtUninvokable
public final void setOutputLocation(io.qt.core.@NonNull QUrl location){
setOutputLocation_native_cref_QUrl(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(location));
}
@QtUninvokable
private native void setOutputLocation_native_cref_QUrl(long __this__nativeId, long location);
/**
* See QMediaRecorder:: setQuality(QMediaRecorder::Quality)
* @param quality
*/
@QtPropertyWriter(name="quality")
@QtUninvokable
public final void setQuality(io.qt.multimedia.QMediaRecorder.@NonNull Quality quality){
setQuality_native_QMediaRecorder_Quality(QtJambi_LibraryUtilities.internal.nativeId(this), quality.value());
}
@QtUninvokable
private native void setQuality_native_QMediaRecorder_Quality(long __this__nativeId, int quality);
/**
* See QMediaRecorder:: setVideoBitRate(int)
* @param bitRate
*/
@QtPropertyWriter(name="videoBitRate")
@QtUninvokable
public final void setVideoBitRate(int bitRate){
setVideoBitRate_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), bitRate);
}
@QtUninvokable
private native void setVideoBitRate_native_int(long __this__nativeId, int bitRate);
/**
* See QMediaRecorder:: setVideoFrameRate(qreal)
* @param frameRate
*/
@QtPropertyWriter(name="videoFrameRate")
@QtUninvokable
public final void setVideoFrameRate(double frameRate){
setVideoFrameRate_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), frameRate);
}
@QtUninvokable
private native void setVideoFrameRate_native_qreal(long __this__nativeId, double frameRate);
/**
* See QMediaRecorder:: setVideoResolution(QSize)
* @param arg__1
*/
@QtPropertyWriter(name="videoResolution")
@QtUninvokable
public final void setVideoResolution(io.qt.core.@NonNull QSize arg__1){
setVideoResolution_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void setVideoResolution_native_cref_QSize(long __this__nativeId, long arg__1);
/**
* See QMediaRecorder:: setVideoResolution(int, int)
* @param width
* @param height
*/
@QtPropertyWriter(name="videoResolution")
@QtUninvokable
public final void setVideoResolution(int width, int height){
setVideoResolution_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), width, height);
}
@QtUninvokable
private native void setVideoResolution_native_int_int(long __this__nativeId, int width, int height);
/**
*
*/
public final void stop(){
stop_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void stop_native(long __this__nativeId);
/**
* See QMediaRecorder:: videoBitRate()const
* @return
*/
@QtPropertyReader(name="videoBitRate")
@QtUninvokable
public final int videoBitRate(){
return videoBitRate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int videoBitRate_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: videoFrameRate()const
* @return
*/
@QtPropertyReader(name="videoFrameRate")
@QtUninvokable
public final double videoFrameRate(){
return videoFrameRate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double videoFrameRate_native_constfct(long __this__nativeId);
/**
* See QMediaRecorder:: videoResolution()const
* @return
*/
@QtPropertyReader(name="videoResolution")
@QtUninvokable
public final io.qt.core.@NonNull QSize videoResolution(){
return videoResolution_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize videoResolution_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QMediaRecorder(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QMediaRecorder(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QMediaRecorder instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QMediaRecorder(io.qt.core.QObject)}
* with parent = null
.
*/
public QMediaRecorder() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #actualLocation()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QUrl getActualLocation() {
return actualLocation();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #audioBitRate()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getAudioBitRate() {
return audioBitRate();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #audioChannelCount()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getAudioChannelCount() {
return audioChannelCount();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #audioSampleRate()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getAudioSampleRate() {
return audioSampleRate();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #autoStop()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getAutoStop() {
return autoStop();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #duration()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final long getDuration() {
return duration();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #encodingMode()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.multimedia.QMediaRecorder.@NonNull EncodingMode getEncodingMode() {
return encodingMode();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #error()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.multimedia.QMediaRecorder.@NonNull Error getError() {
return error();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #errorString()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getErrorString() {
return errorString();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #mediaFormat()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.multimedia.@NonNull QMediaFormat getMediaFormat() {
return mediaFormat();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #metaData()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.multimedia.@NonNull QMediaMetaData getMetaData() {
return metaData();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #outputLocation()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QUrl getOutputLocation() {
return outputLocation();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #quality()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.multimedia.QMediaRecorder.@NonNull Quality getQuality() {
return quality();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #recorderState()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.multimedia.QMediaRecorder.@NonNull RecorderState getRecorderState() {
return recorderState();
}
/**
* Overloaded function for {@link #setMediaFormat(io.qt.multimedia.QMediaFormat)}.
*/
@QtUninvokable
public final void setMediaFormat(io.qt.multimedia.QMediaFormat.@NonNull FileFormat format) {
setMediaFormat(new io.qt.multimedia.QMediaFormat(format));
}
/**
* Overloaded function for {@link #setOutputLocation(io.qt.core.QUrl)}.
*/
@QtUninvokable
public final void setOutputLocation(java.lang.@NonNull String location) {
setOutputLocation(new io.qt.core.QUrl(location));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #videoBitRate()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getVideoBitRate() {
return videoBitRate();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #videoFrameRate()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getVideoFrameRate() {
return videoFrameRate();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #videoResolution()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSize getVideoResolution() {
return videoResolution();
}
}