qtmultimedia

package
v0.0.0-...-1f663c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2020 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertVolume

func ConvertVolume(volume float64, from int, to int) float64

Converts an audio volume from a volume scale to another, and returns the result.

Depending on the context, different scales are used to represent audio volume. All Qt Multimedia classes that have an audio volume use a linear scale, the reason is that the loudness of a speaker is controlled by modulating its voltage on a linear scale. The human ear on the other hand, perceives loudness in a logarithmic way. Using a logarithmic scale for volume controls is therefore appropriate in most applications. The decibel scale is logarithmic by nature and is commonly used to define sound levels, it is usually used for UI volume controls in professional audio applications. The cubic scale is a computationally cheap approximation of a logarithmic scale, it provides more control over lower volume levels.

The following example shows how to convert the volume value from a slider control before passing it to a QMediaPlayer. As a result, the perceived increase in volume is the same when increasing the volume slider from 20 to 30 as it is from 50 to 60:

void applyVolume(int volumeSliderValue)
{
    // volumeSliderValue is in the range [0..100]

    qreal linearVolume = QAudio::convertVolume(volumeSliderValue / qreal(100.0),
                                               QAudio::LogarithmicVolumeScale,
                                               QAudio::LinearVolumeScale);

    player.setVolume(qRound(linearVolume * 100));
}

This function was introduced in Qt 5.8.

See also VolumeScale, QMediaPlayer::setVolume(), QAudioOutput::setVolume(), QAudioInput::setVolume(), QSoundEffect::setVolume(), and QMediaRecorder::setVolume().

func DeleteQAbstractAudioDeviceInfo

func DeleteQAbstractAudioDeviceInfo(this *QAbstractAudioDeviceInfo)

func DeleteQAbstractAudioInput

func DeleteQAbstractAudioInput(this *QAbstractAudioInput)

func DeleteQAbstractAudioOutput

func DeleteQAbstractAudioOutput(this *QAbstractAudioOutput)

func DeleteQAbstractPlanarVideoBuffer

func DeleteQAbstractPlanarVideoBuffer(this *QAbstractPlanarVideoBuffer)

func DeleteQAbstractVideoBuffer

func DeleteQAbstractVideoBuffer(this *QAbstractVideoBuffer)

func DeleteQAbstractVideoFilter

func DeleteQAbstractVideoFilter(this *QAbstractVideoFilter)

func DeleteQAbstractVideoSurface

func DeleteQAbstractVideoSurface(this *QAbstractVideoSurface)

func DeleteQAudioBuffer

func DeleteQAudioBuffer(this *QAudioBuffer)

func DeleteQAudioDecoder

func DeleteQAudioDecoder(this *QAudioDecoder)

func DeleteQAudioDecoderControl

func DeleteQAudioDecoderControl(this *QAudioDecoderControl)

func DeleteQAudioDeviceInfo

func DeleteQAudioDeviceInfo(this *QAudioDeviceInfo)

func DeleteQAudioEncoderSettings

func DeleteQAudioEncoderSettings(this *QAudioEncoderSettings)

func DeleteQAudioEncoderSettingsControl

func DeleteQAudioEncoderSettingsControl(this *QAudioEncoderSettingsControl)

func DeleteQAudioFormat

func DeleteQAudioFormat(this *QAudioFormat)

func DeleteQAudioInput

func DeleteQAudioInput(this *QAudioInput)

func DeleteQAudioInputSelectorControl

func DeleteQAudioInputSelectorControl(this *QAudioInputSelectorControl)

func DeleteQAudioOutput

func DeleteQAudioOutput(this *QAudioOutput)

func DeleteQAudioOutputSelectorControl

func DeleteQAudioOutputSelectorControl(this *QAudioOutputSelectorControl)

func DeleteQAudioProbe

func DeleteQAudioProbe(this *QAudioProbe)

func DeleteQAudioRecorder

func DeleteQAudioRecorder(this *QAudioRecorder)

func DeleteQAudioRoleControl

func DeleteQAudioRoleControl(this *QAudioRoleControl)

func DeleteQAudioSystemFactoryInterface

func DeleteQAudioSystemFactoryInterface(this *QAudioSystemFactoryInterface)

func DeleteQAudioSystemPlugin

func DeleteQAudioSystemPlugin(this *QAudioSystemPlugin)

func DeleteQCamera

func DeleteQCamera(this *QCamera)

func DeleteQCameraCaptureBufferFormatControl

func DeleteQCameraCaptureBufferFormatControl(this *QCameraCaptureBufferFormatControl)

func DeleteQCameraCaptureDestinationControl

func DeleteQCameraCaptureDestinationControl(this *QCameraCaptureDestinationControl)

func DeleteQCameraControl

func DeleteQCameraControl(this *QCameraControl)

func DeleteQCameraExposure

func DeleteQCameraExposure(this *QCameraExposure)

func DeleteQCameraExposureControl

func DeleteQCameraExposureControl(this *QCameraExposureControl)

func DeleteQCameraFeedbackControl

func DeleteQCameraFeedbackControl(this *QCameraFeedbackControl)

func DeleteQCameraFlashControl

func DeleteQCameraFlashControl(this *QCameraFlashControl)

func DeleteQCameraFocus

func DeleteQCameraFocus(this *QCameraFocus)

func DeleteQCameraFocusControl

func DeleteQCameraFocusControl(this *QCameraFocusControl)

func DeleteQCameraFocusZone

func DeleteQCameraFocusZone(this *QCameraFocusZone)

func DeleteQCameraFocusZoneListx

func DeleteQCameraFocusZoneListx(this *QCameraFocusZoneListx)

func DeleteQCameraImageCapture

func DeleteQCameraImageCapture(this *QCameraImageCapture)

func DeleteQCameraImageCaptureControl

func DeleteQCameraImageCaptureControl(this *QCameraImageCaptureControl)

func DeleteQCameraImageProcessing

func DeleteQCameraImageProcessing(this *QCameraImageProcessing)

func DeleteQCameraImageProcessingControl

func DeleteQCameraImageProcessingControl(this *QCameraImageProcessingControl)

func DeleteQCameraInfo

func DeleteQCameraInfo(this *QCameraInfo)

func DeleteQCameraInfoControl

func DeleteQCameraInfoControl(this *QCameraInfoControl)

func DeleteQCameraInfoListx

func DeleteQCameraInfoListx(this *QCameraInfoListx)

func DeleteQCameraLocksControl

func DeleteQCameraLocksControl(this *QCameraLocksControl)

func DeleteQCameraViewfinderSettings

func DeleteQCameraViewfinderSettings(this *QCameraViewfinderSettings)

func DeleteQCameraViewfinderSettingsControl

func DeleteQCameraViewfinderSettingsControl(this *QCameraViewfinderSettingsControl)

func DeleteQCameraViewfinderSettingsControl2

func DeleteQCameraViewfinderSettingsControl2(this *QCameraViewfinderSettingsControl2)

func DeleteQCameraZoomControl

func DeleteQCameraZoomControl(this *QCameraZoomControl)

func DeleteQCustomAudioRoleControl

func DeleteQCustomAudioRoleControl(this *QCustomAudioRoleControl)

func DeleteQImageEncoderControl

func DeleteQImageEncoderControl(this *QImageEncoderControl)

func DeleteQImageEncoderSettings

func DeleteQImageEncoderSettings(this *QImageEncoderSettings)

func DeleteQMediaAudioProbeControl

func DeleteQMediaAudioProbeControl(this *QMediaAudioProbeControl)

func DeleteQMediaAvailabilityControl

func DeleteQMediaAvailabilityControl(this *QMediaAvailabilityControl)

func DeleteQMediaBindableInterface

func DeleteQMediaBindableInterface(this *QMediaBindableInterface)

func DeleteQMediaContainerControl

func DeleteQMediaContainerControl(this *QMediaContainerControl)

func DeleteQMediaContent

func DeleteQMediaContent(this *QMediaContent)

func DeleteQMediaControl

func DeleteQMediaControl(this *QMediaControl)

func DeleteQMediaGaplessPlaybackControl

func DeleteQMediaGaplessPlaybackControl(this *QMediaGaplessPlaybackControl)

func DeleteQMediaNetworkAccessControl

func DeleteQMediaNetworkAccessControl(this *QMediaNetworkAccessControl)

func DeleteQMediaObject

func DeleteQMediaObject(this *QMediaObject)

func DeleteQMediaPlayer

func DeleteQMediaPlayer(this *QMediaPlayer)

func DeleteQMediaPlayerControl

func DeleteQMediaPlayerControl(this *QMediaPlayerControl)

func DeleteQMediaPlaylist

func DeleteQMediaPlaylist(this *QMediaPlaylist)

func DeleteQMediaRecorder

func DeleteQMediaRecorder(this *QMediaRecorder)

func DeleteQMediaRecorderControl

func DeleteQMediaRecorderControl(this *QMediaRecorderControl)

func DeleteQMediaResource

func DeleteQMediaResource(this *QMediaResource)

func DeleteQMediaResourceListx

func DeleteQMediaResourceListx(this *QMediaResourceListx)

func DeleteQMediaService

func DeleteQMediaService(this *QMediaService)

func DeleteQMediaServiceCameraInfoInterface

func DeleteQMediaServiceCameraInfoInterface(this *QMediaServiceCameraInfoInterface)

func DeleteQMediaServiceDefaultDeviceInterface

func DeleteQMediaServiceDefaultDeviceInterface(this *QMediaServiceDefaultDeviceInterface)

func DeleteQMediaServiceFeaturesInterface

func DeleteQMediaServiceFeaturesInterface(this *QMediaServiceFeaturesInterface)

func DeleteQMediaServiceProviderFactoryInterface

func DeleteQMediaServiceProviderFactoryInterface(this *QMediaServiceProviderFactoryInterface)

func DeleteQMediaServiceProviderHint

func DeleteQMediaServiceProviderHint(this *QMediaServiceProviderHint)

func DeleteQMediaServiceProviderPlugin

func DeleteQMediaServiceProviderPlugin(this *QMediaServiceProviderPlugin)

func DeleteQMediaServiceSupportedDevicesInterface

func DeleteQMediaServiceSupportedDevicesInterface(this *QMediaServiceSupportedDevicesInterface)

func DeleteQMediaServiceSupportedFormatsInterface

func DeleteQMediaServiceSupportedFormatsInterface(this *QMediaServiceSupportedFormatsInterface)

func DeleteQMediaStreamsControl

func DeleteQMediaStreamsControl(this *QMediaStreamsControl)

func DeleteQMediaTimeInterval

func DeleteQMediaTimeInterval(this *QMediaTimeInterval)

func DeleteQMediaTimeRange

func DeleteQMediaTimeRange(this *QMediaTimeRange)

func DeleteQMediaVideoProbeControl

func DeleteQMediaVideoProbeControl(this *QMediaVideoProbeControl)

func DeleteQMetaDataReaderControl

func DeleteQMetaDataReaderControl(this *QMetaDataReaderControl)

func DeleteQMetaDataWriterControl

func DeleteQMetaDataWriterControl(this *QMetaDataWriterControl)

func DeleteQRadioData

func DeleteQRadioData(this *QRadioData)

func DeleteQRadioDataControl

func DeleteQRadioDataControl(this *QRadioDataControl)

func DeleteQRadioTuner

func DeleteQRadioTuner(this *QRadioTuner)

func DeleteQRadioTunerControl

func DeleteQRadioTunerControl(this *QRadioTunerControl)

func DeleteQSound

func DeleteQSound(this *QSound)

func DeleteQSoundEffect

func DeleteQSoundEffect(this *QSoundEffect)

func DeleteQVideoDeviceSelectorControl

func DeleteQVideoDeviceSelectorControl(this *QVideoDeviceSelectorControl)

func DeleteQVideoEncoderSettings

func DeleteQVideoEncoderSettings(this *QVideoEncoderSettings)

func DeleteQVideoEncoderSettingsControl

func DeleteQVideoEncoderSettingsControl(this *QVideoEncoderSettingsControl)

func DeleteQVideoFilterRunnable

func DeleteQVideoFilterRunnable(this *QVideoFilterRunnable)

func DeleteQVideoFrame

func DeleteQVideoFrame(this *QVideoFrame)

func DeleteQVideoProbe

func DeleteQVideoProbe(this *QVideoProbe)

func DeleteQVideoRendererControl

func DeleteQVideoRendererControl(this *QVideoRendererControl)

func DeleteQVideoSurfaceFormat

func DeleteQVideoSurfaceFormat(this *QVideoSurfaceFormat)

func DeleteQVideoWindowControl

func DeleteQVideoWindowControl(this *QVideoWindowControl)

func Operator_equal_equal62

func Operator_equal_equal62(r1 int, r2 int) bool

func Operator_equal_equal63

func Operator_equal_equal63(arg0 QMediaTimeInterval_ITF, arg1 QMediaTimeInterval_ITF) bool

func Operator_equal_equal64

func Operator_equal_equal64(arg0 QMediaTimeRange_ITF, arg1 QMediaTimeRange_ITF) bool

func Operator_not_equal60

func Operator_not_equal60(r1 int, r2 int) bool

func Operator_not_equal62

func Operator_not_equal62(arg0 QMediaTimeInterval_ITF, arg1 QMediaTimeInterval_ITF) bool

func Operator_not_equal63

func Operator_not_equal63(arg0 QMediaTimeRange_ITF, arg1 QMediaTimeRange_ITF) bool

func Operator_or72

func Operator_or72(f1 int, f2 int) *qtcore.QIncompatibleFlag

func Operator_or73

func Operator_or73(f1 int, f2 int) *qtcore.QIncompatibleFlag

func Operator_or74

func Operator_or74(f1 int, f2 int) *qtcore.QIncompatibleFlag

func Operator_or75

func Operator_or75(f1 int, f2 int) *qtcore.QIncompatibleFlag

func Operator_or76

func Operator_or76(f1 int, f2 int) *qtcore.QIncompatibleFlag

func Operator_or77

func Operator_or77(f1 int, f2 int) *qtcore.QIncompatibleFlag

func QAbstractVideoBuffer_HandleTypeItemName

func QAbstractVideoBuffer_HandleTypeItemName(val int) string

func QAbstractVideoBuffer_MapModeItemName

func QAbstractVideoBuffer_MapModeItemName(val int) string

func QAbstractVideoSurface_ErrorItemName

func QAbstractVideoSurface_ErrorItemName(val int) string

func QAudioDecoder_ErrorItemName

func QAudioDecoder_ErrorItemName(val int) string

func QAudioDecoder_HasSupport

func QAudioDecoder_HasSupport(mimeType string, codecs qtcore.QStringList_ITF) int

func QAudioDecoder_StateItemName

func QAudioDecoder_StateItemName(val int) string

func QAudioFormat_EndianItemName

func QAudioFormat_EndianItemName(val int) string

func QAudioFormat_SampleTypeItemName

func QAudioFormat_SampleTypeItemName(val int) string

func QCameraControl_PropertyChangeTypeItemName

func QCameraControl_PropertyChangeTypeItemName(val int) string

func QCameraExposureControl_ExposureParameterItemName

func QCameraExposureControl_ExposureParameterItemName(val int) string

func QCameraExposure_ExposureModeItemName

func QCameraExposure_ExposureModeItemName(val int) string

func QCameraExposure_FlashModeItemName

func QCameraExposure_FlashModeItemName(val int) string

func QCameraExposure_MeteringModeItemName

func QCameraExposure_MeteringModeItemName(val int) string

func QCameraFeedbackControl_EventTypeItemName

func QCameraFeedbackControl_EventTypeItemName(val int) string

func QCameraFocusZone_FocusZoneStatusItemName

func QCameraFocusZone_FocusZoneStatusItemName(val int) string

func QCameraFocus_FocusModeItemName

func QCameraFocus_FocusModeItemName(val int) string

func QCameraFocus_FocusPointModeItemName

func QCameraFocus_FocusPointModeItemName(val int) string

func QCameraImageCapture_CaptureDestinationItemName

func QCameraImageCapture_CaptureDestinationItemName(val int) string

func QCameraImageCapture_DriveModeItemName

func QCameraImageCapture_DriveModeItemName(val int) string

func QCameraImageCapture_ErrorItemName

func QCameraImageCapture_ErrorItemName(val int) string

func QCameraImageProcessingControl_ProcessingParameterItemName

func QCameraImageProcessingControl_ProcessingParameterItemName(val int) string

func QCameraImageProcessing_ColorFilterItemName

func QCameraImageProcessing_ColorFilterItemName(val int) string

func QCameraImageProcessing_WhiteBalanceModeItemName

func QCameraImageProcessing_WhiteBalanceModeItemName(val int) string

func QCameraViewfinderSettingsControl_ViewfinderParameterItemName

func QCameraViewfinderSettingsControl_ViewfinderParameterItemName(val int) string

func QCamera_CaptureModeItemName

func QCamera_CaptureModeItemName(val int) string

func QCamera_DeviceDescription

func QCamera_DeviceDescription(device qtcore.QByteArray_ITF) string

func QCamera_ErrorItemName

func QCamera_ErrorItemName(val int) string

func QCamera_LockChangeReasonItemName

func QCamera_LockChangeReasonItemName(val int) string

func QCamera_LockStatusItemName

func QCamera_LockStatusItemName(val int) string

func QCamera_LockTypeItemName

func QCamera_LockTypeItemName(val int) string

func QCamera_PositionItemName

func QCamera_PositionItemName(val int) string

func QCamera_StateItemName

func QCamera_StateItemName(val int) string

func QCamera_StatusItemName

func QCamera_StatusItemName(val int) string

func QMediaPlayer_ErrorItemName

func QMediaPlayer_ErrorItemName(val int) string

func QMediaPlayer_FlagItemName

func QMediaPlayer_FlagItemName(val int) string

func QMediaPlayer_HasSupport

func QMediaPlayer_HasSupport(mimeType string, codecs qtcore.QStringList_ITF, flags int) int

func QMediaPlayer_MediaStatusItemName

func QMediaPlayer_MediaStatusItemName(val int) string

func QMediaPlayer_StateItemName

func QMediaPlayer_StateItemName(val int) string

func QMediaPlayer_SupportedMimeTypes

func QMediaPlayer_SupportedMimeTypes(flags int) *qtcore.QStringList

func QMediaPlaylist_ErrorItemName

func QMediaPlaylist_ErrorItemName(val int) string

func QMediaPlaylist_PlaybackModeItemName

func QMediaPlaylist_PlaybackModeItemName(val int) string

func QMediaRecorder_ErrorItemName

func QMediaRecorder_ErrorItemName(val int) string

func QMediaRecorder_StateItemName

func QMediaRecorder_StateItemName(val int) string

func QMediaRecorder_StatusItemName

func QMediaRecorder_StatusItemName(val int) string

func QMediaResource_PropertyItemName

func QMediaResource_PropertyItemName(val int) string

func QMediaServiceProviderHint_FeatureItemName

func QMediaServiceProviderHint_FeatureItemName(val int) string

func QMediaServiceProviderHint_TypeItemName

func QMediaServiceProviderHint_TypeItemName(val int) string

func QMediaStreamsControl_StreamTypeItemName

func QMediaStreamsControl_StreamTypeItemName(val int) string

func QRadioData_ErrorItemName

func QRadioData_ErrorItemName(val int) string

func QRadioData_ProgramTypeItemName

func QRadioData_ProgramTypeItemName(val int) string

func QRadioTuner_BandItemName

func QRadioTuner_BandItemName(val int) string

func QRadioTuner_ErrorItemName

func QRadioTuner_ErrorItemName(val int) string

func QRadioTuner_SearchModeItemName

func QRadioTuner_SearchModeItemName(val int) string

func QRadioTuner_StateItemName

func QRadioTuner_StateItemName(val int) string

func QRadioTuner_StereoModeItemName

func QRadioTuner_StereoModeItemName(val int) string

func QSoundEffect_LoopItemName

func QSoundEffect_LoopItemName(val int) string

func QSoundEffect_StatusItemName

func QSoundEffect_StatusItemName(val int) string

func QSoundEffect_SupportedMimeTypes

func QSoundEffect_SupportedMimeTypes() *qtcore.QStringList

func QSound_LoopItemName

func QSound_LoopItemName(val int) string

func QSound_Play

func QSound_Play(filename string)

func QVideoFilterRunnable_RunFlagItemName

func QVideoFilterRunnable_RunFlagItemName(val int) string

func QVideoFrame_FieldTypeItemName

func QVideoFrame_FieldTypeItemName(val int) string

func QVideoFrame_ImageFormatFromPixelFormat

func QVideoFrame_ImageFormatFromPixelFormat(format int) int

func QVideoFrame_PixelFormatFromImageFormat

func QVideoFrame_PixelFormatFromImageFormat(format int) int

func QVideoFrame_PixelFormatItemName

func QVideoFrame_PixelFormatItemName(val int) string

func QVideoSurfaceFormat_DirectionItemName

func QVideoSurfaceFormat_DirectionItemName(val int) string

func QVideoSurfaceFormat_YCbCrColorSpaceItemName

func QVideoSurfaceFormat_YCbCrColorSpaceItemName(val int) string

func Swap61

Swaps this viewfinder settings object with other. This function is very fast and never fails.

Types

type QAbstractAudioDeviceInfo

type QAbstractAudioDeviceInfo struct {
	*qtcore.QObject
}

func NewQAbstractAudioDeviceInfoFromPointer

func NewQAbstractAudioDeviceInfoFromPointer(cthis unsafe.Pointer) *QAbstractAudioDeviceInfo

func (*QAbstractAudioDeviceInfo) DeviceName

func (this *QAbstractAudioDeviceInfo) DeviceName() string

func (*QAbstractAudioDeviceInfo) GetCthis

func (this *QAbstractAudioDeviceInfo) GetCthis() unsafe.Pointer

func (*QAbstractAudioDeviceInfo) IsFormatSupported

func (this *QAbstractAudioDeviceInfo) IsFormatSupported(format QAudioFormat_ITF) bool

func (*QAbstractAudioDeviceInfo) MetaObject

func (this *QAbstractAudioDeviceInfo) MetaObject() *qtcore.QMetaObject

func (*QAbstractAudioDeviceInfo) NewFromPointer

func (*QAbstractAudioDeviceInfo) PreferredFormat

func (this *QAbstractAudioDeviceInfo) PreferredFormat() *QAudioFormat

func (*QAbstractAudioDeviceInfo) QAbstractAudioDeviceInfo_PTR

func (ptr *QAbstractAudioDeviceInfo) QAbstractAudioDeviceInfo_PTR() *QAbstractAudioDeviceInfo

func (*QAbstractAudioDeviceInfo) SetCthis

func (this *QAbstractAudioDeviceInfo) SetCthis(cthis unsafe.Pointer)

func (*QAbstractAudioDeviceInfo) SupportedCodecs

func (this *QAbstractAudioDeviceInfo) SupportedCodecs() *qtcore.QStringList

type QAbstractAudioDeviceInfo_ITF

type QAbstractAudioDeviceInfo_ITF interface {
	qtcore.QObject_ITF
	QAbstractAudioDeviceInfo_PTR() *QAbstractAudioDeviceInfo
}

type QAbstractAudioInput

type QAbstractAudioInput struct {
	*qtcore.QObject
}

func NewQAbstractAudioInputFromPointer

func NewQAbstractAudioInputFromPointer(cthis unsafe.Pointer) *QAbstractAudioInput

func (*QAbstractAudioInput) BufferSize

func (this *QAbstractAudioInput) BufferSize() int

func (*QAbstractAudioInput) BytesReady

func (this *QAbstractAudioInput) BytesReady() int

func (*QAbstractAudioInput) ElapsedUSecs

func (this *QAbstractAudioInput) ElapsedUSecs() int64

func (*QAbstractAudioInput) Error

func (this *QAbstractAudioInput) Error() int

func (*QAbstractAudioInput) ErrorChanged

func (this *QAbstractAudioInput) ErrorChanged(error int)

func (*QAbstractAudioInput) Format

func (this *QAbstractAudioInput) Format() *QAudioFormat

func (*QAbstractAudioInput) GetCthis

func (this *QAbstractAudioInput) GetCthis() unsafe.Pointer

func (*QAbstractAudioInput) MetaObject

func (this *QAbstractAudioInput) MetaObject() *qtcore.QMetaObject

func (*QAbstractAudioInput) NewFromPointer

func (*QAbstractAudioInput) NewFromPointer(cthis unsafe.Pointer) *QAbstractAudioInput

func (*QAbstractAudioInput) Notify

func (this *QAbstractAudioInput) Notify()

func (*QAbstractAudioInput) NotifyInterval

func (this *QAbstractAudioInput) NotifyInterval() int

func (*QAbstractAudioInput) PeriodSize

func (this *QAbstractAudioInput) PeriodSize() int

func (*QAbstractAudioInput) ProcessedUSecs

func (this *QAbstractAudioInput) ProcessedUSecs() int64

func (*QAbstractAudioInput) QAbstractAudioInput_PTR

func (ptr *QAbstractAudioInput) QAbstractAudioInput_PTR() *QAbstractAudioInput

func (*QAbstractAudioInput) Reset

func (this *QAbstractAudioInput) Reset()

func (*QAbstractAudioInput) Resume

func (this *QAbstractAudioInput) Resume()

func (*QAbstractAudioInput) SetBufferSize

func (this *QAbstractAudioInput) SetBufferSize(value int)

func (*QAbstractAudioInput) SetCthis

func (this *QAbstractAudioInput) SetCthis(cthis unsafe.Pointer)

func (*QAbstractAudioInput) SetFormat

func (this *QAbstractAudioInput) SetFormat(fmt_ QAudioFormat_ITF)

func (*QAbstractAudioInput) SetNotifyInterval

func (this *QAbstractAudioInput) SetNotifyInterval(milliSeconds int)

func (*QAbstractAudioInput) SetVolume

func (this *QAbstractAudioInput) SetVolume(arg0 float64)

func (*QAbstractAudioInput) Start

func (this *QAbstractAudioInput) Start(device qtcore.QIODevice_ITF)

func (*QAbstractAudioInput) Start1

func (this *QAbstractAudioInput) Start1() *qtcore.QIODevice

func (*QAbstractAudioInput) State

func (this *QAbstractAudioInput) State() int

func (*QAbstractAudioInput) StateChanged

func (this *QAbstractAudioInput) StateChanged(state int)

func (*QAbstractAudioInput) Stop

func (this *QAbstractAudioInput) Stop()

func (*QAbstractAudioInput) Suspend

func (this *QAbstractAudioInput) Suspend()

func (*QAbstractAudioInput) Volume

func (this *QAbstractAudioInput) Volume() float64

type QAbstractAudioInput_ITF

type QAbstractAudioInput_ITF interface {
	qtcore.QObject_ITF
	QAbstractAudioInput_PTR() *QAbstractAudioInput
}

type QAbstractAudioOutput

type QAbstractAudioOutput struct {
	*qtcore.QObject
}

func NewQAbstractAudioOutputFromPointer

func NewQAbstractAudioOutputFromPointer(cthis unsafe.Pointer) *QAbstractAudioOutput

func (*QAbstractAudioOutput) BufferSize

func (this *QAbstractAudioOutput) BufferSize() int

func (*QAbstractAudioOutput) BytesFree

func (this *QAbstractAudioOutput) BytesFree() int

func (*QAbstractAudioOutput) Category

func (this *QAbstractAudioOutput) Category() string

func (*QAbstractAudioOutput) ElapsedUSecs

func (this *QAbstractAudioOutput) ElapsedUSecs() int64

func (*QAbstractAudioOutput) Error

func (this *QAbstractAudioOutput) Error() int

func (*QAbstractAudioOutput) ErrorChanged

func (this *QAbstractAudioOutput) ErrorChanged(error int)

func (*QAbstractAudioOutput) Format

func (this *QAbstractAudioOutput) Format() *QAudioFormat

func (*QAbstractAudioOutput) GetCthis

func (this *QAbstractAudioOutput) GetCthis() unsafe.Pointer

func (*QAbstractAudioOutput) MetaObject

func (this *QAbstractAudioOutput) MetaObject() *qtcore.QMetaObject

func (*QAbstractAudioOutput) NewFromPointer

func (*QAbstractAudioOutput) NewFromPointer(cthis unsafe.Pointer) *QAbstractAudioOutput

func (*QAbstractAudioOutput) Notify

func (this *QAbstractAudioOutput) Notify()

func (*QAbstractAudioOutput) NotifyInterval

func (this *QAbstractAudioOutput) NotifyInterval() int

func (*QAbstractAudioOutput) PeriodSize

func (this *QAbstractAudioOutput) PeriodSize() int

func (*QAbstractAudioOutput) ProcessedUSecs

func (this *QAbstractAudioOutput) ProcessedUSecs() int64

func (*QAbstractAudioOutput) QAbstractAudioOutput_PTR

func (ptr *QAbstractAudioOutput) QAbstractAudioOutput_PTR() *QAbstractAudioOutput

func (*QAbstractAudioOutput) Reset

func (this *QAbstractAudioOutput) Reset()

func (*QAbstractAudioOutput) Resume

func (this *QAbstractAudioOutput) Resume()

func (*QAbstractAudioOutput) SetBufferSize

func (this *QAbstractAudioOutput) SetBufferSize(value int)

func (*QAbstractAudioOutput) SetCategory

func (this *QAbstractAudioOutput) SetCategory(arg0 string)

func (*QAbstractAudioOutput) SetCthis

func (this *QAbstractAudioOutput) SetCthis(cthis unsafe.Pointer)

func (*QAbstractAudioOutput) SetFormat

func (this *QAbstractAudioOutput) SetFormat(fmt_ QAudioFormat_ITF)

func (*QAbstractAudioOutput) SetNotifyInterval

func (this *QAbstractAudioOutput) SetNotifyInterval(milliSeconds int)

func (*QAbstractAudioOutput) SetVolume

func (this *QAbstractAudioOutput) SetVolume(arg0 float64)

func (*QAbstractAudioOutput) Start

func (this *QAbstractAudioOutput) Start(device qtcore.QIODevice_ITF)

func (*QAbstractAudioOutput) Start1

func (this *QAbstractAudioOutput) Start1() *qtcore.QIODevice

func (*QAbstractAudioOutput) State

func (this *QAbstractAudioOutput) State() int

func (*QAbstractAudioOutput) StateChanged

func (this *QAbstractAudioOutput) StateChanged(state int)

func (*QAbstractAudioOutput) Stop

func (this *QAbstractAudioOutput) Stop()

func (*QAbstractAudioOutput) Suspend

func (this *QAbstractAudioOutput) Suspend()

func (*QAbstractAudioOutput) Volume

func (this *QAbstractAudioOutput) Volume() float64

type QAbstractAudioOutput_ITF

type QAbstractAudioOutput_ITF interface {
	qtcore.QObject_ITF
	QAbstractAudioOutput_PTR() *QAbstractAudioOutput
}

type QAbstractPlanarVideoBuffer

type QAbstractPlanarVideoBuffer struct {
	*QAbstractVideoBuffer
}

func NewQAbstractPlanarVideoBuffer

func NewQAbstractPlanarVideoBuffer(type_ int) *QAbstractPlanarVideoBuffer

func NewQAbstractPlanarVideoBufferFromPointer

func NewQAbstractPlanarVideoBufferFromPointer(cthis unsafe.Pointer) *QAbstractPlanarVideoBuffer

func (*QAbstractPlanarVideoBuffer) GetCthis

func (this *QAbstractPlanarVideoBuffer) GetCthis() unsafe.Pointer

func (*QAbstractPlanarVideoBuffer) Map

func (this *QAbstractPlanarVideoBuffer) Map(mode int, numBytes unsafe.Pointer, bytesPerLine unsafe.Pointer) unsafe.Pointer

Maps the contents of a video buffer to memory.

In some cases the video buffer might be stored in video memory or otherwise inaccessible memory, so it is necessary to map the buffer before accessing the pixel data. This may involve copying the contents around, so avoid mapping and unmapping unless required.

The map mode indicates whether the contents of the mapped memory should be read from and/or written to the buffer. If the map mode includes the QAbstractVideoBuffer::ReadOnly flag the mapped memory will be populated with the content of the buffer when initially mapped. If the map mode includes the QAbstractVideoBuffer::WriteOnly flag the content of the possibly modified mapped memory will be written back to the buffer when unmapped.

When access to the data is no longer needed be sure to call the unmap() function to release the mapped memory and possibly update the buffer contents.

Returns a pointer to the mapped memory region, or a null pointer if the mapping failed. The size in bytes of the mapped memory region is returned in numBytes, and the line stride in bytesPerLine.

Note: Writing to memory that is mapped as read-only is undefined, and may result in changes to shared data or crashes.

See also unmap() and mapMode().

func (*QAbstractPlanarVideoBuffer) Map1

func (this *QAbstractPlanarVideoBuffer) Map1(mode int, numBytes unsafe.Pointer, bytesPerLine unsafe.Pointer, data unsafe.Pointer) int

Maps the contents of a video buffer to memory.

In some cases the video buffer might be stored in video memory or otherwise inaccessible memory, so it is necessary to map the buffer before accessing the pixel data. This may involve copying the contents around, so avoid mapping and unmapping unless required.

The map mode indicates whether the contents of the mapped memory should be read from and/or written to the buffer. If the map mode includes the QAbstractVideoBuffer::ReadOnly flag the mapped memory will be populated with the content of the buffer when initially mapped. If the map mode includes the QAbstractVideoBuffer::WriteOnly flag the content of the possibly modified mapped memory will be written back to the buffer when unmapped.

When access to the data is no longer needed be sure to call the unmap() function to release the mapped memory and possibly update the buffer contents.

Returns a pointer to the mapped memory region, or a null pointer if the mapping failed. The size in bytes of the mapped memory region is returned in numBytes, and the line stride in bytesPerLine.

Note: Writing to memory that is mapped as read-only is undefined, and may result in changes to shared data or crashes.

See also unmap() and mapMode().

func (*QAbstractPlanarVideoBuffer) NewForInherit

func (*QAbstractPlanarVideoBuffer) NewFromPointer

func (*QAbstractPlanarVideoBuffer) QAbstractPlanarVideoBuffer_PTR

func (ptr *QAbstractPlanarVideoBuffer) QAbstractPlanarVideoBuffer_PTR() *QAbstractPlanarVideoBuffer

func (*QAbstractPlanarVideoBuffer) SetCthis

func (this *QAbstractPlanarVideoBuffer) SetCthis(cthis unsafe.Pointer)

type QAbstractPlanarVideoBuffer_ITF

type QAbstractPlanarVideoBuffer_ITF interface {
	QAbstractVideoBuffer_ITF
	QAbstractPlanarVideoBuffer_PTR() *QAbstractPlanarVideoBuffer
}

type QAbstractVideoBuffer

type QAbstractVideoBuffer struct {
	*qtrt.CObject
}

func NewQAbstractVideoBuffer

func NewQAbstractVideoBuffer(type_ int) *QAbstractVideoBuffer

func NewQAbstractVideoBufferFromPointer

func NewQAbstractVideoBufferFromPointer(cthis unsafe.Pointer) *QAbstractVideoBuffer

func (*QAbstractVideoBuffer) GetCthis

func (this *QAbstractVideoBuffer) GetCthis() unsafe.Pointer

func (*QAbstractVideoBuffer) Handle

func (this *QAbstractVideoBuffer) Handle() *qtcore.QVariant

Returns a type specific handle to the data buffer.

The type of the handle is given by handleType() function.

See also handleType().

func (*QAbstractVideoBuffer) HandleType

func (this *QAbstractVideoBuffer) HandleType() int

Returns the type of a video buffer's handle.

See also handle().

func (*QAbstractVideoBuffer) HandleTypeItemName

func (this *QAbstractVideoBuffer) HandleTypeItemName(val int) string

func (*QAbstractVideoBuffer) Map

func (this *QAbstractVideoBuffer) Map(mode int, numBytes unsafe.Pointer, bytesPerLine unsafe.Pointer) unsafe.Pointer

Maps the contents of a video buffer to memory.

In some cases the video buffer might be stored in video memory or otherwise inaccessible memory, so it is necessary to map the buffer before accessing the pixel data. This may involve copying the contents around, so avoid mapping and unmapping unless required.

The map mode indicates whether the contents of the mapped memory should be read from and/or written to the buffer. If the map mode includes the QAbstractVideoBuffer::ReadOnly flag the mapped memory will be populated with the content of the buffer when initially mapped. If the map mode includes the QAbstractVideoBuffer::WriteOnly flag the content of the possibly modified mapped memory will be written back to the buffer when unmapped.

When access to the data is no longer needed be sure to call the unmap() function to release the mapped memory and possibly update the buffer contents.

Returns a pointer to the mapped memory region, or a null pointer if the mapping failed. The size in bytes of the mapped memory region is returned in numBytes, and the line stride in bytesPerLine.

Note: Writing to memory that is mapped as read-only is undefined, and may result in changes to shared data or crashes.

See also unmap() and mapMode().

func (*QAbstractVideoBuffer) MapMode

func (this *QAbstractVideoBuffer) MapMode() int

Returns the mode a video buffer is mapped in.

See also map().

func (*QAbstractVideoBuffer) MapModeItemName

func (this *QAbstractVideoBuffer) MapModeItemName(val int) string

func (*QAbstractVideoBuffer) MapPlanes

func (this *QAbstractVideoBuffer) MapPlanes(mode int, numBytes unsafe.Pointer, bytesPerLine unsafe.Pointer, data unsafe.Pointer) int

Independently maps the planes of a video buffer to memory.

The map mode indicates whether the contents of the mapped memory should be read from and/or written to the buffer. If the map mode includes the QAbstractVideoBuffer::ReadOnly flag the mapped memory will be populated with the content of the buffer when initially mapped. If the map mode includes the QAbstractVideoBuffer::WriteOnly flag the content of the possibly modified mapped memory will be written back to the buffer when unmapped.

When access to the data is no longer needed be sure to call the unmap() function to release the mapped memory and possibly update the buffer contents.

Returns the number of planes in the mapped video data. For each plane the line stride of that plane will be returned in bytesPerLine, and a pointer to the plane data will be returned in data. The accumulative size of the mapped data is returned in numBytes.

Not all buffer implementations will map more than the first plane, if this returns a single plane for a planar format the additional planes will have to be calculated from the line stride of the first plane and the frame height. Mapping a buffer with QVideoFrame will do this for you.

To implement this function create a derivative of QAbstractPlanarVideoBuffer and implement its map function instance instead.

This function was introduced in Qt 5.4.

func (*QAbstractVideoBuffer) NewForInherit

func (*QAbstractVideoBuffer) NewForInherit(type_ int) *QAbstractVideoBuffer

Constructs an abstract video buffer of the given type.

func (*QAbstractVideoBuffer) NewFromPointer

func (*QAbstractVideoBuffer) NewFromPointer(cthis unsafe.Pointer) *QAbstractVideoBuffer

func (*QAbstractVideoBuffer) QAbstractVideoBuffer_PTR

func (ptr *QAbstractVideoBuffer) QAbstractVideoBuffer_PTR() *QAbstractVideoBuffer

func (*QAbstractVideoBuffer) Release

func (this *QAbstractVideoBuffer) Release()

Releases the video buffer.

QVideoFrame calls QAbstractVideoBuffer::release when the buffer is not used any more and can be destroyed or returned to the buffer pool.

The default implementation deletes the buffer instance.

func (*QAbstractVideoBuffer) SetCthis

func (this *QAbstractVideoBuffer) SetCthis(cthis unsafe.Pointer)

func (*QAbstractVideoBuffer) Unmap

func (this *QAbstractVideoBuffer) Unmap()

Releases the memory mapped by the map() function.

If the MapMode included the QAbstractVideoBuffer::WriteOnly flag this will write the current content of the mapped memory back to the video frame.

See also map().

type QAbstractVideoBuffer_ITF

type QAbstractVideoBuffer_ITF interface {
	QAbstractVideoBuffer_PTR() *QAbstractVideoBuffer
}

type QAbstractVideoBuffer__HandleType

type QAbstractVideoBuffer__HandleType = int

Identifies the type of a video buffers handle.

See also handleType().

const QAbstractVideoBuffer__CoreImageHandle QAbstractVideoBuffer__HandleType = 3

The handle contains pointer to macOS CIImage.

const QAbstractVideoBuffer__EGLImageHandle QAbstractVideoBuffer__HandleType = 5

The handle of the buffer is an EGLImageKHR.

const QAbstractVideoBuffer__GLTextureHandle QAbstractVideoBuffer__HandleType = 1

The handle of the buffer is an OpenGL texture ID.

const QAbstractVideoBuffer__NoHandle QAbstractVideoBuffer__HandleType = 0

The buffer has no handle, its data can only be accessed by mapping the buffer.

const QAbstractVideoBuffer__QPixmapHandle QAbstractVideoBuffer__HandleType = 4

The handle of the buffer is a QPixmap.

const QAbstractVideoBuffer__UserHandle QAbstractVideoBuffer__HandleType = 1000
const QAbstractVideoBuffer__XvShmImageHandle QAbstractVideoBuffer__HandleType = 2

The handle contains pointer to shared memory XVideo image.

type QAbstractVideoBuffer__MapMode

type QAbstractVideoBuffer__MapMode = int

Enumerates how a video buffer's data is mapped to system memory.

QAbstractVideoBuffer::ReadWriteReadOnly | WriteOnlyThe mapped memory is populated with data from the video buffer, and the video buffer is repopulated with the content of the mapped memory when it is unmapped.

See also mapMode() and map().

const QAbstractVideoBuffer__NotMapped QAbstractVideoBuffer__MapMode = 0
const QAbstractVideoBuffer__ReadOnly QAbstractVideoBuffer__MapMode = 1
const QAbstractVideoBuffer__ReadWrite QAbstractVideoBuffer__MapMode = 3
const QAbstractVideoBuffer__WriteOnly QAbstractVideoBuffer__MapMode = 2

type QAbstractVideoFilter

type QAbstractVideoFilter struct {
	*qtcore.QObject
}

func NewQAbstractVideoFilter

func NewQAbstractVideoFilter(parent qtcore.QObject_ITF) *QAbstractVideoFilter

func NewQAbstractVideoFilterFromPointer

func NewQAbstractVideoFilterFromPointer(cthis unsafe.Pointer) *QAbstractVideoFilter

func NewQAbstractVideoFilterp

func NewQAbstractVideoFilterp() *QAbstractVideoFilter

func (*QAbstractVideoFilter) ActiveChanged

func (this *QAbstractVideoFilter) ActiveChanged()

func (*QAbstractVideoFilter) CreateFilterRunnable

func (this *QAbstractVideoFilter) CreateFilterRunnable() *QVideoFilterRunnable

Factory function to create a new instance of a QVideoFilterRunnable subclass corresponding to this filter.

This function is called on the thread on which the Qt Quick scene graph performs rendering, with the OpenGL context bound. Ownership of the returned instance is transferred: the returned instance will live on the render thread and will be destroyed automatically when necessary.

Typically, implementations of the function will simply construct a new QVideoFilterRunnable instance, passing this to the constructor as the filter runnables must know their associated QAbstractVideoFilter instance to access dynamic properties and optionally emit signals.

func (*QAbstractVideoFilter) GetCthis

func (this *QAbstractVideoFilter) GetCthis() unsafe.Pointer

func (*QAbstractVideoFilter) IsActive

func (this *QAbstractVideoFilter) IsActive() bool

func (*QAbstractVideoFilter) MetaObject

func (this *QAbstractVideoFilter) MetaObject() *qtcore.QMetaObject

func (*QAbstractVideoFilter) NewForInherit

Constructs a new QAbstractVideoFilter instance with parent object parent.

func (*QAbstractVideoFilter) NewForInheritp

func (*QAbstractVideoFilter) NewForInheritp() *QAbstractVideoFilter

Constructs a new QAbstractVideoFilter instance with parent object parent.

func (*QAbstractVideoFilter) NewFromPointer

func (*QAbstractVideoFilter) NewFromPointer(cthis unsafe.Pointer) *QAbstractVideoFilter

func (*QAbstractVideoFilter) QAbstractVideoFilter_PTR

func (ptr *QAbstractVideoFilter) QAbstractVideoFilter_PTR() *QAbstractVideoFilter

func (*QAbstractVideoFilter) SetActive

func (this *QAbstractVideoFilter) SetActive(v bool)

func (*QAbstractVideoFilter) SetCthis

func (this *QAbstractVideoFilter) SetCthis(cthis unsafe.Pointer)

type QAbstractVideoFilter_ITF

type QAbstractVideoFilter_ITF interface {
	qtcore.QObject_ITF
	QAbstractVideoFilter_PTR() *QAbstractVideoFilter
}

type QAbstractVideoSurface

type QAbstractVideoSurface struct {
	*qtcore.QObject
}

func NewQAbstractVideoSurface

func NewQAbstractVideoSurface(parent qtcore.QObject_ITF) *QAbstractVideoSurface

func NewQAbstractVideoSurfaceFromPointer

func NewQAbstractVideoSurfaceFromPointer(cthis unsafe.Pointer) *QAbstractVideoSurface

func NewQAbstractVideoSurfacep

func NewQAbstractVideoSurfacep() *QAbstractVideoSurface

func (*QAbstractVideoSurface) ActiveChanged

func (this *QAbstractVideoSurface) ActiveChanged(active bool)

Signals that the active state of a video surface has changed.

See also isActive(), start(), and stop().

func (*QAbstractVideoSurface) Error

func (this *QAbstractVideoSurface) Error() int

Returns the last error that occurred.

If a surface fails to start(), or stops unexpectedly this function can be called to discover what error occurred.

See also setError().

func (*QAbstractVideoSurface) ErrorItemName

func (this *QAbstractVideoSurface) ErrorItemName(val int) string

func (*QAbstractVideoSurface) GetCthis

func (this *QAbstractVideoSurface) GetCthis() unsafe.Pointer

func (*QAbstractVideoSurface) InheritSetError

func (this *QAbstractVideoSurface) InheritSetError(f func(error int))

void setError(QAbstractVideoSurface::Error)

func (*QAbstractVideoSurface) InheritSetNativeResolution

func (this *QAbstractVideoSurface) InheritSetNativeResolution(f func(resolution *qtcore.QSize))

void setNativeResolution(const QSize &)

func (*QAbstractVideoSurface) IsActive

func (this *QAbstractVideoSurface) IsActive() bool

Indicates whether a video surface has been started.

Returns true if the surface has been started, and false otherwise.

func (*QAbstractVideoSurface) IsFormatSupported

func (this *QAbstractVideoSurface) IsFormatSupported(format QVideoSurfaceFormat_ITF) bool

Tests a video surface format to determine if a surface can accept it.

Returns true if the format is supported by the surface, and false otherwise.

func (*QAbstractVideoSurface) MetaObject

func (this *QAbstractVideoSurface) MetaObject() *qtcore.QMetaObject

func (*QAbstractVideoSurface) NativeResolution

func (this *QAbstractVideoSurface) NativeResolution() *qtcore.QSize

func (*QAbstractVideoSurface) NativeResolutionChanged

func (this *QAbstractVideoSurface) NativeResolutionChanged(resolution qtcore.QSize_ITF)

Signals the native resolution of video surface has changed.

Note: Notifier signal for property nativeResolution.

func (*QAbstractVideoSurface) NearestFormat

Returns a supported video surface format that is similar to format.

A similar surface format is one that has the same pixel format and handle type but may differ in some of the other properties. For example, if there are restrictions on the frame sizes a video surface can accept it may suggest a format with a larger frame size and a viewport the size of the original frame size.

If the format is already supported it will be returned unchanged, or if there is no similar supported format an invalid format will be returned.

func (*QAbstractVideoSurface) NewForInherit

Constructs a video surface with the given parent.

func (*QAbstractVideoSurface) NewForInheritp

func (*QAbstractVideoSurface) NewForInheritp() *QAbstractVideoSurface

Constructs a video surface with the given parent.

func (*QAbstractVideoSurface) NewFromPointer

func (*QAbstractVideoSurface) Present

func (this *QAbstractVideoSurface) Present(frame QVideoFrame_ITF) bool

Presents a video frame.

Returns true if the frame was presented, and false if an error occurred.

Not all surfaces will block until the presentation of a frame has completed. Calling present() on a non-blocking surface may fail if called before the presentation of a previous frame has completed. In such cases the surface may not return to a ready state until it has had an opportunity to process events.

If present() fails for any other reason the surface should immediately enter the stopped state and an error() value will be set.

A video surface must be in the started state for present() to succeed, and the format of the video frame must be compatible with the current video surface format.

See also error().

func (*QAbstractVideoSurface) QAbstractVideoSurface_PTR

func (ptr *QAbstractVideoSurface) QAbstractVideoSurface_PTR() *QAbstractVideoSurface

func (*QAbstractVideoSurface) SetCthis

func (this *QAbstractVideoSurface) SetCthis(cthis unsafe.Pointer)

func (*QAbstractVideoSurface) SetError

func (this *QAbstractVideoSurface) SetError(error int)

Sets the value of error() to error.

This can be called by implementors of this interface to communicate what the most recent error was.

See also error().

func (*QAbstractVideoSurface) SetNativeResolution

func (this *QAbstractVideoSurface) SetNativeResolution(resolution qtcore.QSize_ITF)

Set the video surface native resolution.

This function can be called by implementors of this interface to specify to frame producers what the native resolution of this surface is.

See also nativeResolution().

func (*QAbstractVideoSurface) Start

Starts a video surface presenting format frames.

Returns true if the surface was started, and false if an error occurred.

Note: You must call the base class implementation of start() at the end of your implementation.

See also isActive() and stop().

func (*QAbstractVideoSurface) Stop

func (this *QAbstractVideoSurface) Stop()

Stops a video surface presenting frames and releases any resources acquired in start().

Note: You must call the base class implementation of stop() at the start of your implementation.

See also isActive() and start().

func (*QAbstractVideoSurface) SupportedFormatsChanged

func (this *QAbstractVideoSurface) SupportedFormatsChanged()

Signals that the set of formats supported by a video surface has changed.

See also supportedPixelFormats() and isFormatSupported().

func (*QAbstractVideoSurface) SurfaceFormat

func (this *QAbstractVideoSurface) SurfaceFormat() *QVideoSurfaceFormat

Returns the format of a video surface.

func (*QAbstractVideoSurface) SurfaceFormatChanged

func (this *QAbstractVideoSurface) SurfaceFormatChanged(format QVideoSurfaceFormat_ITF)

Signals that the configured format of a video surface has changed.

See also surfaceFormat() and start().

type QAbstractVideoSurface_ITF

type QAbstractVideoSurface_ITF interface {
	qtcore.QObject_ITF
	QAbstractVideoSurface_PTR() *QAbstractVideoSurface
}

type QAbstractVideoSurface__Error

type QAbstractVideoSurface__Error = int

This enum describes the errors that may be returned by the error() function.

const QAbstractVideoSurface__IncorrectFormatError QAbstractVideoSurface__Error = 2

A video frame was not compatible with the format of the surface.

const QAbstractVideoSurface__NoError QAbstractVideoSurface__Error = 0

No error occurred.

const QAbstractVideoSurface__ResourceError QAbstractVideoSurface__Error = 4

The surface could not allocate some resource.

const QAbstractVideoSurface__StoppedError QAbstractVideoSurface__Error = 3

The surface has not been started.

const QAbstractVideoSurface__UnsupportedFormatError QAbstractVideoSurface__Error = 1

A video format was not supported.

type QAudioBuffer

type QAudioBuffer struct {
	*qtrt.CObject
}

func NewQAudioBuffer

func NewQAudioBuffer() *QAudioBuffer

func NewQAudioBuffer1

func NewQAudioBuffer1(data qtcore.QByteArray_ITF, format QAudioFormat_ITF, startTime int64) *QAudioBuffer

func NewQAudioBuffer1p

func NewQAudioBuffer1p(data qtcore.QByteArray_ITF, format QAudioFormat_ITF) *QAudioBuffer

func NewQAudioBuffer2

func NewQAudioBuffer2(numFrames int, format QAudioFormat_ITF, startTime int64) *QAudioBuffer

func NewQAudioBuffer2p

func NewQAudioBuffer2p(numFrames int, format QAudioFormat_ITF) *QAudioBuffer

func NewQAudioBufferFromPointer

func NewQAudioBufferFromPointer(cthis unsafe.Pointer) *QAudioBuffer

func (*QAudioBuffer) ByteCount

func (this *QAudioBuffer) ByteCount() int

Returns the size of this buffer, in bytes.

func (*QAudioBuffer) ConstData

func (this *QAudioBuffer) ConstData() unsafe.Pointer

Returns a pointer to this buffer's data. You can only read it.

This method is preferred over the const version of data() to prevent unnecessary copying.

There is also a templatized version of this constData() function that allows you to retrieve a specific type of read-only pointer to the data. Note that there is no checking done on the format of the audio buffer - this is simply a convenience function.

// With a 16bit sample buffer:
const quint16 *data = buffer->constData<quint16>();

func (*QAudioBuffer) Data

func (this *QAudioBuffer) Data() unsafe.Pointer

Returns a pointer to this buffer's data. You can only read it.

You should use the constData() function rather than this to prevent accidental deep copying.

There is also a templatized version of this data() function that allows you to retrieve a specific type of read-only pointer to the data. Note that there is no checking done on the format of the audio buffer - this is simply a convenience function.

// With a 16bit sample const buffer:
const quint16 *data = buffer->data<quint16>();

func (*QAudioBuffer) Data1

func (this *QAudioBuffer) Data1() unsafe.Pointer

Returns a pointer to this buffer's data. You can only read it.

You should use the constData() function rather than this to prevent accidental deep copying.

There is also a templatized version of this data() function that allows you to retrieve a specific type of read-only pointer to the data. Note that there is no checking done on the format of the audio buffer - this is simply a convenience function.

// With a 16bit sample const buffer:
const quint16 *data = buffer->data<quint16>();

func (*QAudioBuffer) Duration

func (this *QAudioBuffer) Duration() int64

Returns the duration of audio in this buffer, in microseconds.

This depends on the format(), and the frameCount().

func (*QAudioBuffer) Format

func (this *QAudioBuffer) Format() *QAudioFormat

Returns the format of this buffer.

Several properties of this format influence how the duration() or byteCount() are calculated from the frameCount().

func (*QAudioBuffer) FrameCount

func (this *QAudioBuffer) FrameCount() int

Returns the number of complete audio frames in this buffer.

An audio frame is an interleaved set of one sample per channel for the same instant in time.

func (*QAudioBuffer) GetCthis

func (this *QAudioBuffer) GetCthis() unsafe.Pointer

func (*QAudioBuffer) IsValid

func (this *QAudioBuffer) IsValid() bool

Returns true if this is a valid buffer. A valid buffer has more than zero frames in it and a valid format.

func (*QAudioBuffer) NewForInherit

func (*QAudioBuffer) NewForInherit() *QAudioBuffer

Create a new, empty, invalid buffer.

func (*QAudioBuffer) NewForInherit1

func (*QAudioBuffer) NewForInherit1(data qtcore.QByteArray_ITF, format QAudioFormat_ITF, startTime int64) *QAudioBuffer

Create a new, empty, invalid buffer.

func (*QAudioBuffer) NewForInherit1p

func (*QAudioBuffer) NewForInherit1p(data qtcore.QByteArray_ITF, format QAudioFormat_ITF) *QAudioBuffer

Create a new, empty, invalid buffer.

func (*QAudioBuffer) NewForInherit2

func (*QAudioBuffer) NewForInherit2(numFrames int, format QAudioFormat_ITF, startTime int64) *QAudioBuffer

Create a new, empty, invalid buffer.

func (*QAudioBuffer) NewForInherit2p

func (*QAudioBuffer) NewForInherit2p(numFrames int, format QAudioFormat_ITF) *QAudioBuffer

Create a new, empty, invalid buffer.

func (*QAudioBuffer) NewFromPointer

func (*QAudioBuffer) NewFromPointer(cthis unsafe.Pointer) *QAudioBuffer

func (*QAudioBuffer) Operator_equal

func (this *QAudioBuffer) Operator_equal(other QAudioBuffer_ITF) *QAudioBuffer

func (*QAudioBuffer) QAudioBuffer_PTR

func (ptr *QAudioBuffer) QAudioBuffer_PTR() *QAudioBuffer

func (*QAudioBuffer) SampleCount

func (this *QAudioBuffer) SampleCount() int

Returns the number of samples in this buffer.

If the format of this buffer has multiple channels, then this count includes all channels. This means that a stereo buffer with 1000 samples in total will have 500 left samples and 500 right samples (interleaved), and this function will return 1000.

See also frameCount().

func (*QAudioBuffer) SetCthis

func (this *QAudioBuffer) SetCthis(cthis unsafe.Pointer)

func (*QAudioBuffer) StartTime

func (this *QAudioBuffer) StartTime() int64

Returns the time in a stream that this buffer starts at (in microseconds).

If this buffer is not part of a stream, this will return -1.

type QAudioBuffer_ITF

type QAudioBuffer_ITF interface {
	QAudioBuffer_PTR() *QAudioBuffer
}

type QAudioDecoder

type QAudioDecoder struct {
	*QMediaObject
}

func NewQAudioDecoder

func NewQAudioDecoder(parent qtcore.QObject_ITF) *QAudioDecoder

func NewQAudioDecoderFromPointer

func NewQAudioDecoderFromPointer(cthis unsafe.Pointer) *QAudioDecoder

func NewQAudioDecoderp

func NewQAudioDecoderp() *QAudioDecoder

func (*QAudioDecoder) AudioFormat

func (this *QAudioDecoder) AudioFormat() *QAudioFormat

Returns the current audio format of the decoded stream.

Any buffers returned should have this format.

See also setAudioFormat() and formatChanged().

func (*QAudioDecoder) Bind

func (this *QAudioDecoder) Bind(arg0 qtcore.QObject_ITF) bool

func (*QAudioDecoder) BufferAvailable

func (this *QAudioDecoder) BufferAvailable() bool

Returns true if a buffer is available to be read, and false otherwise. If there is no buffer available, calling the read() function will return an invalid buffer.

Note: Getter function for property bufferAvailable.

func (*QAudioDecoder) BufferAvailableChanged

func (this *QAudioDecoder) BufferAvailableChanged(arg0 bool)

Signals the availability (if available is true) of a new buffer.

If available is false, there are no buffers available.

Note: Notifier signal for property bufferAvailable.

See also bufferAvailable() and bufferReady().

func (*QAudioDecoder) BufferReady

func (this *QAudioDecoder) BufferReady()

Signals that a new decoded audio buffer is available to be read.

See also read() and bufferAvailable().

func (*QAudioDecoder) Duration

func (this *QAudioDecoder) Duration() int64

Returns total duration (in milliseconds) of the audio stream or -1 if not available.

func (*QAudioDecoder) DurationChanged

func (this *QAudioDecoder) DurationChanged(duration int64)

Signals that the estimated duration of the decoded data has changed.

See also positionChanged().

func (*QAudioDecoder) Error

func (this *QAudioDecoder) Error() int

Returns the current error state.

func (*QAudioDecoder) Error1

func (this *QAudioDecoder) Error1(error int)

Returns the current error state.

func (*QAudioDecoder) ErrorItemName

func (this *QAudioDecoder) ErrorItemName(val int) string

func (*QAudioDecoder) ErrorString

func (this *QAudioDecoder) ErrorString() string

func (*QAudioDecoder) Finished

func (this *QAudioDecoder) Finished()

Signals that the decoding has finished successfully. If decoding fails, error signal is emitted instead.

See also start(), stop(), and error().

func (*QAudioDecoder) FormatChanged

func (this *QAudioDecoder) FormatChanged(format QAudioFormat_ITF)

Signals that the current audio format of the decoder has changed to format.

See also audioFormat() and setAudioFormat().

func (*QAudioDecoder) GetCthis

func (this *QAudioDecoder) GetCthis() unsafe.Pointer

func (*QAudioDecoder) HasSupport

func (this *QAudioDecoder) HasSupport(mimeType string, codecs qtcore.QStringList_ITF) int

Returns the level of support an audio decoder has for a mimeType and a set of codecs.

func (*QAudioDecoder) HasSupportp

func (this *QAudioDecoder) HasSupportp(mimeType string) int

Returns the level of support an audio decoder has for a mimeType and a set of codecs.

func (*QAudioDecoder) MetaObject

func (this *QAudioDecoder) MetaObject() *qtcore.QMetaObject

func (*QAudioDecoder) NewForInherit

func (*QAudioDecoder) NewForInherit(parent qtcore.QObject_ITF) *QAudioDecoder

Construct an QAudioDecoder instance parented to parent.

func (*QAudioDecoder) NewForInheritp

func (*QAudioDecoder) NewForInheritp() *QAudioDecoder

Construct an QAudioDecoder instance parented to parent.

func (*QAudioDecoder) NewFromPointer

func (*QAudioDecoder) NewFromPointer(cthis unsafe.Pointer) *QAudioDecoder

func (*QAudioDecoder) Position

func (this *QAudioDecoder) Position() int64

Returns position (in milliseconds) of the last buffer read from the decoder or -1 if no buffers have been read.

func (*QAudioDecoder) PositionChanged

func (this *QAudioDecoder) PositionChanged(position int64)

Signals that the current position of the decoder has changed.

See also durationChanged().

func (*QAudioDecoder) QAudioDecoder_PTR

func (ptr *QAudioDecoder) QAudioDecoder_PTR() *QAudioDecoder

func (*QAudioDecoder) Read

func (this *QAudioDecoder) Read() *QAudioBuffer

Read a buffer from the decoder, if one is available. Returns an invalid buffer if there are no decoded buffers currently available, or on failure. In both cases this function will not block.

You should either respond to the bufferReady() signal or check the bufferAvailable() function before calling read() to make sure you get useful data.

func (*QAudioDecoder) SetAudioFormat

func (this *QAudioDecoder) SetAudioFormat(format QAudioFormat_ITF)

Set the desired audio format for decoded samples to format.

This property can only be set while the decoder is stopped. Setting this property at other times will be ignored.

If the decoder does not support this format, error() will be set to FormatError.

If you do not specify a format, the format of the decoded audio itself will be used. Otherwise, some format conversion will be applied.

If you wish to reset the decoded format to that of the original audio file, you can specify an invalid format.

See also audioFormat().

func (*QAudioDecoder) SetCthis

func (this *QAudioDecoder) SetCthis(cthis unsafe.Pointer)

func (*QAudioDecoder) SetSourceDevice

func (this *QAudioDecoder) SetSourceDevice(device qtcore.QIODevice_ITF)

Sets the current audio QIODevice to device.

When this property is set any current decoding is stopped, and any audio buffers are discarded.

You can only specify either a source filename or a source QIODevice. Setting one will unset the other.

See also sourceDevice().

func (*QAudioDecoder) SetSourceFilename

func (this *QAudioDecoder) SetSourceFilename(fileName string)

Sets the current audio file name to fileName.

When this property is set any current decoding is stopped, and any audio buffers are discarded.

You can only specify either a source filename or a source QIODevice. Setting one will unset the other.

Note: Setter function for property sourceFilename.

See also sourceFilename().

func (*QAudioDecoder) SourceChanged

func (this *QAudioDecoder) SourceChanged()

Signals that the current source of the decoder has changed.

Note: Notifier signal for property sourceFilename.

See also sourceFilename() and sourceDevice().

func (*QAudioDecoder) SourceDevice

func (this *QAudioDecoder) SourceDevice() *qtcore.QIODevice

Returns the current source QIODevice, if one was set. If setSourceFilename() was called, this will be 0.

See also setSourceDevice().

func (*QAudioDecoder) SourceFilename

func (this *QAudioDecoder) SourceFilename() string

Returns the current file name to decode. If setSourceDevice was called, this will be empty.

Note: Getter function for property sourceFilename.

See also setSourceFilename().

func (*QAudioDecoder) Start

func (this *QAudioDecoder) Start()

Starts decoding the audio resource.

As data gets decoded, the bufferReady() signal will be emitted when enough data has been decoded. Calling read() will then return an audio buffer without blocking.

If you call read() before a buffer is ready, an invalid buffer will be returned, again without blocking.

See also read().

func (*QAudioDecoder) State

func (this *QAudioDecoder) State() int

func (*QAudioDecoder) StateChanged

func (this *QAudioDecoder) StateChanged(newState int)

Signal the state of the decoder object has changed.

Note: Notifier signal for property state.

func (*QAudioDecoder) StateItemName

func (this *QAudioDecoder) StateItemName(val int) string

func (*QAudioDecoder) Stop

func (this *QAudioDecoder) Stop()

Stop decoding audio. Calling start() again will resume decoding from the beginning.

func (*QAudioDecoder) Unbind

func (this *QAudioDecoder) Unbind(arg0 qtcore.QObject_ITF)

type QAudioDecoderControl

type QAudioDecoderControl struct {
	*QMediaControl
}

func NewQAudioDecoderControl

func NewQAudioDecoderControl(parent qtcore.QObject_ITF) *QAudioDecoderControl

func NewQAudioDecoderControlFromPointer

func NewQAudioDecoderControlFromPointer(cthis unsafe.Pointer) *QAudioDecoderControl

func NewQAudioDecoderControlp

func NewQAudioDecoderControlp() *QAudioDecoderControl

func (*QAudioDecoderControl) AudioFormat

func (this *QAudioDecoderControl) AudioFormat() *QAudioFormat

Returns the current audio format of the decoded stream.

Any buffers returned should have this format.

See also setAudioFormat() and formatChanged().

func (*QAudioDecoderControl) BufferAvailable

func (this *QAudioDecoderControl) BufferAvailable() bool

Returns true if a buffer is available to be read, and false otherwise.

func (*QAudioDecoderControl) BufferAvailableChanged

func (this *QAudioDecoderControl) BufferAvailableChanged(available bool)

Signals that the bufferAvailable property has changed to available.

func (*QAudioDecoderControl) BufferReady

func (this *QAudioDecoderControl) BufferReady()

Signals that a new buffer is ready for reading.

func (*QAudioDecoderControl) Duration

func (this *QAudioDecoderControl) Duration() int64

Returns total duration (in milliseconds) of the audio stream or -1 if not available.

func (*QAudioDecoderControl) DurationChanged

func (this *QAudioDecoderControl) DurationChanged(duration int64)

Signals that the estimated duration of the decoded data has changed.

See also positionChanged().

func (*QAudioDecoderControl) Error

func (this *QAudioDecoderControl) Error(error int, errorString string)

Signals that an error has occurred. The errorString provides a more detailed explanation.

func (*QAudioDecoderControl) Finished

func (this *QAudioDecoderControl) Finished()

Signals that the decoding has finished successfully. If decoding fails, error signal is emitted instead.

See also start(), stop(), and error().

func (*QAudioDecoderControl) FormatChanged

func (this *QAudioDecoderControl) FormatChanged(format QAudioFormat_ITF)

Signals that the current audio format of the decoder has changed to format.

See also audioFormat() and setAudioFormat().

func (*QAudioDecoderControl) GetCthis

func (this *QAudioDecoderControl) GetCthis() unsafe.Pointer

func (*QAudioDecoderControl) MetaObject

func (this *QAudioDecoderControl) MetaObject() *qtcore.QMetaObject

func (*QAudioDecoderControl) NewForInherit

Constructs a new audio decoder control with the given parent.

func (*QAudioDecoderControl) NewForInheritp

func (*QAudioDecoderControl) NewForInheritp() *QAudioDecoderControl

Constructs a new audio decoder control with the given parent.

func (*QAudioDecoderControl) NewFromPointer

func (*QAudioDecoderControl) NewFromPointer(cthis unsafe.Pointer) *QAudioDecoderControl

func (*QAudioDecoderControl) Position

func (this *QAudioDecoderControl) Position() int64

Returns position (in milliseconds) of the last buffer read from the decoder or -1 if no buffers have been read.

func (*QAudioDecoderControl) PositionChanged

func (this *QAudioDecoderControl) PositionChanged(position int64)

Signals that the current position of the decoder has changed.

See also durationChanged().

func (*QAudioDecoderControl) QAudioDecoderControl_PTR

func (ptr *QAudioDecoderControl) QAudioDecoderControl_PTR() *QAudioDecoderControl

func (*QAudioDecoderControl) Read

func (this *QAudioDecoderControl) Read() *QAudioBuffer

Attempts to read a buffer from the decoder, without blocking. Returns invalid buffer if there are no decoded buffers available, or on error.

func (*QAudioDecoderControl) SetAudioFormat

func (this *QAudioDecoderControl) SetAudioFormat(format QAudioFormat_ITF)

Set the desired audio format for decoded samples to format.

If the decoder does not support this format, error() will be set to FormatError.

If you do not specify a format, the format of the decoded audio itself will be used. Otherwise, some format conversion will be applied.

If you wish to reset the decoded format to that of the original audio file, you can specify an invalid format.

See also audioFormat().

func (*QAudioDecoderControl) SetCthis

func (this *QAudioDecoderControl) SetCthis(cthis unsafe.Pointer)

func (*QAudioDecoderControl) SetSourceDevice

func (this *QAudioDecoderControl) SetSourceDevice(device qtcore.QIODevice_ITF)

Sets the current source to device. Changing the source will stop any current decoding and discard any buffers.

Sources are exclusive, so only one can be set.

See also sourceDevice().

func (*QAudioDecoderControl) SetSourceFilename

func (this *QAudioDecoderControl) SetSourceFilename(fileName string)

Sets the current source to fileName. Changing the source will stop any current decoding and discard any buffers.

Sources are exclusive, so only one can be set.

See also sourceFilename().

func (*QAudioDecoderControl) SourceChanged

func (this *QAudioDecoderControl) SourceChanged()

Signals that the current source of the decoder has changed.

See also sourceFilename() and sourceDevice().

func (*QAudioDecoderControl) SourceDevice

func (this *QAudioDecoderControl) SourceDevice() *qtcore.QIODevice

Returns the current media source QIODevice, or 0 if none (or a file).

See also setSourceDevice().

func (*QAudioDecoderControl) SourceFilename

func (this *QAudioDecoderControl) SourceFilename() string

Returns the current media source filename, or a null QString if none (or a device)

See also setSourceFilename().

func (*QAudioDecoderControl) Start

func (this *QAudioDecoderControl) Start()

Starts decoding the current media.

If successful the player control will immediately enter the decoding state.

See also state() and read().

func (*QAudioDecoderControl) State

func (this *QAudioDecoderControl) State() int

Returns the state of a player control.

func (*QAudioDecoderControl) StateChanged

func (this *QAudioDecoderControl) StateChanged(newState int)

Signals that the state of a player control has changed to newState.

See also state().

func (*QAudioDecoderControl) Stop

func (this *QAudioDecoderControl) Stop()

Stops playback of the current media and discards any buffers.

If successful the player control will immediately enter the stopped state.

type QAudioDecoderControl_ITF

type QAudioDecoderControl_ITF interface {
	QMediaControl_ITF
	QAudioDecoderControl_PTR() *QAudioDecoderControl
}

type QAudioDecoder_ITF

type QAudioDecoder_ITF interface {
	QMediaObject_ITF
	QAudioDecoder_PTR() *QAudioDecoder
}

type QAudioDecoder__Error

type QAudioDecoder__Error = int

Defines a media player error condition.

const QAudioDecoder__AccessDeniedError QAudioDecoder__Error = 3

There are not the appropriate permissions to play a media resource.

const QAudioDecoder__FormatError QAudioDecoder__Error = 2

The format of a media resource isn't supported.

const QAudioDecoder__NoError QAudioDecoder__Error = 0

No error has occurred.

const QAudioDecoder__ResourceError QAudioDecoder__Error = 1

A media resource couldn't be resolved.

const QAudioDecoder__ServiceMissingError QAudioDecoder__Error = 4

A valid playback service was not found, playback cannot proceed.

type QAudioDecoder__State

type QAudioDecoder__State = int

Defines the current state of a media player.

const QAudioDecoder__DecodingState QAudioDecoder__State = 1

The audio player is currently decoding media.

const QAudioDecoder__StoppedState QAudioDecoder__State = 0

The decoder is not decoding. Decoding will start at the start of the media.

type QAudioDeviceInfo

type QAudioDeviceInfo struct {
	*qtrt.CObject
}

func NewQAudioDeviceInfo

func NewQAudioDeviceInfo() *QAudioDeviceInfo

func NewQAudioDeviceInfoFromPointer

func NewQAudioDeviceInfoFromPointer(cthis unsafe.Pointer) *QAudioDeviceInfo

func QAudioDeviceInfo_DefaultInputDevice

func QAudioDeviceInfo_DefaultInputDevice() *QAudioDeviceInfo

func QAudioDeviceInfo_DefaultOutputDevice

func QAudioDeviceInfo_DefaultOutputDevice() *QAudioDeviceInfo

func (*QAudioDeviceInfo) DefaultInputDevice

func (this *QAudioDeviceInfo) DefaultInputDevice() *QAudioDeviceInfo

Returns the information for the default input audio device. All platform and audio plugin implementations provide a default audio device to use.

func (*QAudioDeviceInfo) DefaultOutputDevice

func (this *QAudioDeviceInfo) DefaultOutputDevice() *QAudioDeviceInfo

Returns the information for the default output audio device. All platform and audio plugin implementations provide a default audio device to use.

func (*QAudioDeviceInfo) DeviceName

func (this *QAudioDeviceInfo) DeviceName() string

Returns the human readable name of the audio device.

Device names vary depending on the platform/audio plugin being used.

They are a unique string identifier for the audio device.

eg. default, Intel, U0x46d0x9a4

func (*QAudioDeviceInfo) GetCthis

func (this *QAudioDeviceInfo) GetCthis() unsafe.Pointer

func (*QAudioDeviceInfo) IsFormatSupported

func (this *QAudioDeviceInfo) IsFormatSupported(format QAudioFormat_ITF) bool

Returns true if the supplied settings are supported by the audio device described by this QAudioDeviceInfo.

func (*QAudioDeviceInfo) IsNull

func (this *QAudioDeviceInfo) IsNull() bool

Returns whether this QAudioDeviceInfo object holds a valid device definition.

func (*QAudioDeviceInfo) NearestFormat

func (this *QAudioDeviceInfo) NearestFormat(format QAudioFormat_ITF) *QAudioFormat

Returns the closest QAudioFormat to the supplied settings that the system supports.

These settings are provided by the platform/audio plugin being used.

They are also dependent on the QAudio::Mode being used.

func (*QAudioDeviceInfo) NewForInherit

func (*QAudioDeviceInfo) NewForInherit() *QAudioDeviceInfo

Constructs an empty QAudioDeviceInfo object.

func (*QAudioDeviceInfo) NewFromPointer

func (*QAudioDeviceInfo) NewFromPointer(cthis unsafe.Pointer) *QAudioDeviceInfo

func (*QAudioDeviceInfo) Operator_equal

func (this *QAudioDeviceInfo) Operator_equal(other QAudioDeviceInfo_ITF) *QAudioDeviceInfo

func (*QAudioDeviceInfo) Operator_equal_equal

func (this *QAudioDeviceInfo) Operator_equal_equal(other QAudioDeviceInfo_ITF) bool

func (*QAudioDeviceInfo) Operator_not_equal

func (this *QAudioDeviceInfo) Operator_not_equal(other QAudioDeviceInfo_ITF) bool

func (*QAudioDeviceInfo) PreferredFormat

func (this *QAudioDeviceInfo) PreferredFormat() *QAudioFormat

Returns the default audio format settings for this device.

These settings are provided by the platform/audio plugin being used.

They are also dependent on the QAudio::Mode being used.

A typical audio system would provide something like:

Input settings: 8000Hz mono 8 bit. Output settings: 44100Hz stereo 16 bit little endian.

func (*QAudioDeviceInfo) QAudioDeviceInfo_PTR

func (ptr *QAudioDeviceInfo) QAudioDeviceInfo_PTR() *QAudioDeviceInfo

func (*QAudioDeviceInfo) SetCthis

func (this *QAudioDeviceInfo) SetCthis(cthis unsafe.Pointer)

func (*QAudioDeviceInfo) SupportedCodecs

func (this *QAudioDeviceInfo) SupportedCodecs() *qtcore.QStringList

Returns a list of supported codecs.

All platform and plugin implementations should provide support for:

"audio/pcm" - Linear PCM

For writing plugins to support additional codecs refer to:

http://www.iana.org/assignments/media-types/audio/

type QAudioDeviceInfo_ITF

type QAudioDeviceInfo_ITF interface {
	QAudioDeviceInfo_PTR() *QAudioDeviceInfo
}

type QAudioEncoderSettings

type QAudioEncoderSettings struct {
	*qtrt.CObject
}

func NewQAudioEncoderSettings

func NewQAudioEncoderSettings() *QAudioEncoderSettings

func NewQAudioEncoderSettingsFromPointer

func NewQAudioEncoderSettingsFromPointer(cthis unsafe.Pointer) *QAudioEncoderSettings

func (*QAudioEncoderSettings) BitRate

func (this *QAudioEncoderSettings) BitRate() int

func (*QAudioEncoderSettings) ChannelCount

func (this *QAudioEncoderSettings) ChannelCount() int

func (*QAudioEncoderSettings) Codec

func (this *QAudioEncoderSettings) Codec() string

func (*QAudioEncoderSettings) EncodingMode

func (this *QAudioEncoderSettings) EncodingMode() int

func (*QAudioEncoderSettings) EncodingOption

func (this *QAudioEncoderSettings) EncodingOption(option string) *qtcore.QVariant

func (*QAudioEncoderSettings) GetCthis

func (this *QAudioEncoderSettings) GetCthis() unsafe.Pointer

func (*QAudioEncoderSettings) IsNull

func (this *QAudioEncoderSettings) IsNull() bool

func (*QAudioEncoderSettings) NewForInherit

func (*QAudioEncoderSettings) NewForInherit() *QAudioEncoderSettings

func (*QAudioEncoderSettings) NewFromPointer

func (*QAudioEncoderSettings) Operator_equal

func (*QAudioEncoderSettings) Operator_equal_equal

func (this *QAudioEncoderSettings) Operator_equal_equal(other QAudioEncoderSettings_ITF) bool

func (*QAudioEncoderSettings) Operator_not_equal

func (this *QAudioEncoderSettings) Operator_not_equal(other QAudioEncoderSettings_ITF) bool

func (*QAudioEncoderSettings) QAudioEncoderSettings_PTR

func (ptr *QAudioEncoderSettings) QAudioEncoderSettings_PTR() *QAudioEncoderSettings

func (*QAudioEncoderSettings) Quality

func (this *QAudioEncoderSettings) Quality() int

func (*QAudioEncoderSettings) SampleRate

func (this *QAudioEncoderSettings) SampleRate() int

func (*QAudioEncoderSettings) SetBitRate

func (this *QAudioEncoderSettings) SetBitRate(bitrate int)

func (*QAudioEncoderSettings) SetChannelCount

func (this *QAudioEncoderSettings) SetChannelCount(channels int)

func (*QAudioEncoderSettings) SetCodec

func (this *QAudioEncoderSettings) SetCodec(codec string)

func (*QAudioEncoderSettings) SetCthis

func (this *QAudioEncoderSettings) SetCthis(cthis unsafe.Pointer)

func (*QAudioEncoderSettings) SetEncodingMode

func (this *QAudioEncoderSettings) SetEncodingMode(arg0 int)

func (*QAudioEncoderSettings) SetEncodingOption

func (this *QAudioEncoderSettings) SetEncodingOption(option string, value qtcore.QVariant_ITF)

func (*QAudioEncoderSettings) SetQuality

func (this *QAudioEncoderSettings) SetQuality(quality int)

func (*QAudioEncoderSettings) SetSampleRate

func (this *QAudioEncoderSettings) SetSampleRate(rate int)

type QAudioEncoderSettingsControl

type QAudioEncoderSettingsControl struct {
	*QMediaControl
}

func NewQAudioEncoderSettingsControl

func NewQAudioEncoderSettingsControl(parent qtcore.QObject_ITF) *QAudioEncoderSettingsControl

func NewQAudioEncoderSettingsControlFromPointer

func NewQAudioEncoderSettingsControlFromPointer(cthis unsafe.Pointer) *QAudioEncoderSettingsControl

func NewQAudioEncoderSettingsControlp

func NewQAudioEncoderSettingsControlp() *QAudioEncoderSettingsControl

func (*QAudioEncoderSettingsControl) AudioSettings

func (this *QAudioEncoderSettingsControl) AudioSettings() *QAudioEncoderSettings

Returns the audio encoder settings.

The returned value may be different tha passed to QAudioEncoderSettingsControl::setAudioSettings() if the settings contains the default or undefined parameters. In this case if the undefined parameters are already resolved, they should be returned.

See also setAudioSettings().

func (*QAudioEncoderSettingsControl) CodecDescription

func (this *QAudioEncoderSettingsControl) CodecDescription(codecName string) string

Returns the description of audio codec codecName.

func (*QAudioEncoderSettingsControl) GetCthis

func (this *QAudioEncoderSettingsControl) GetCthis() unsafe.Pointer

func (*QAudioEncoderSettingsControl) MetaObject

func (this *QAudioEncoderSettingsControl) MetaObject() *qtcore.QMetaObject

func (*QAudioEncoderSettingsControl) NewForInherit

Create a new audio encoder settings control object with the given parent.

func (*QAudioEncoderSettingsControl) NewForInheritp

Create a new audio encoder settings control object with the given parent.

func (*QAudioEncoderSettingsControl) NewFromPointer

func (*QAudioEncoderSettingsControl) QAudioEncoderSettingsControl_PTR

func (ptr *QAudioEncoderSettingsControl) QAudioEncoderSettingsControl_PTR() *QAudioEncoderSettingsControl

func (*QAudioEncoderSettingsControl) SetAudioSettings

func (this *QAudioEncoderSettingsControl) SetAudioSettings(settings QAudioEncoderSettings_ITF)

Sets the selected audio settings.

See also audioSettings().

func (*QAudioEncoderSettingsControl) SetCthis

func (this *QAudioEncoderSettingsControl) SetCthis(cthis unsafe.Pointer)

func (*QAudioEncoderSettingsControl) SupportedAudioCodecs

func (this *QAudioEncoderSettingsControl) SupportedAudioCodecs() *qtcore.QStringList

Returns the list of supported audio codec names.

type QAudioEncoderSettingsControl_ITF

type QAudioEncoderSettingsControl_ITF interface {
	QMediaControl_ITF
	QAudioEncoderSettingsControl_PTR() *QAudioEncoderSettingsControl
}

type QAudioEncoderSettings_ITF

type QAudioEncoderSettings_ITF interface {
	QAudioEncoderSettings_PTR() *QAudioEncoderSettings
}

type QAudioFormat

type QAudioFormat struct {
	*qtrt.CObject
}

func NewQAudioFormat

func NewQAudioFormat() *QAudioFormat

func NewQAudioFormatFromPointer

func NewQAudioFormatFromPointer(cthis unsafe.Pointer) *QAudioFormat

func (*QAudioFormat) ByteOrder

func (this *QAudioFormat) ByteOrder() int

Returns the current byteOrder value.

See also setByteOrder().

func (*QAudioFormat) BytesForDuration

func (this *QAudioFormat) BytesForDuration(duration int64) int

Returns the number of bytes required for this audio format for duration microseconds.

Returns 0 if this format is not valid.

Note that some rounding may occur if duration is not an exact fraction of the sampleRate().

See also durationForBytes().

func (*QAudioFormat) BytesForFrames

func (this *QAudioFormat) BytesForFrames(frameCount int) int

Returns the number of bytes required for frameCount frames of this format.

Returns 0 if this format is not valid.

See also bytesForDuration().

func (*QAudioFormat) BytesPerFrame

func (this *QAudioFormat) BytesPerFrame() int

Returns the number of bytes required to represent one frame (a sample in each channel) in this format.

Returns 0 if this format is invalid.

func (*QAudioFormat) ChannelCount

func (this *QAudioFormat) ChannelCount() int

Returns the current channel count value.

See also setChannelCount().

func (*QAudioFormat) Codec

func (this *QAudioFormat) Codec() string

Returns the current codec identifier.

See also setCodec() and QAudioDeviceInfo::supportedCodecs().

func (*QAudioFormat) DurationForBytes

func (this *QAudioFormat) DurationForBytes(byteCount int) int64

Returns the number of microseconds represented by bytes in this format.

Returns 0 if this format is not valid.

Note that some rounding may occur if bytes is not an exact multiple of the number of bytes per frame.

See also bytesForDuration().

func (*QAudioFormat) DurationForFrames

func (this *QAudioFormat) DurationForFrames(frameCount int) int64

Return the number of microseconds represented by frameCount frames in this format.

func (*QAudioFormat) EndianItemName

func (this *QAudioFormat) EndianItemName(val int) string

func (*QAudioFormat) FramesForBytes

func (this *QAudioFormat) FramesForBytes(byteCount int) int

Returns the number of frames represented by byteCount in this format.

Note that some rounding may occur if byteCount is not an exact multiple of the number of bytes per frame.

Each frame has one sample per channel.

See also framesForDuration().

func (*QAudioFormat) FramesForDuration

func (this *QAudioFormat) FramesForDuration(duration int64) int

Returns the number of frames required to represent duration microseconds in this format.

Note that some rounding may occur if duration is not an exact fraction of the sampleRate().

func (*QAudioFormat) GetCthis

func (this *QAudioFormat) GetCthis() unsafe.Pointer

func (*QAudioFormat) IsValid

func (this *QAudioFormat) IsValid() bool

Returns true if all of the parameters are valid.

func (*QAudioFormat) NewForInherit

func (*QAudioFormat) NewForInherit() *QAudioFormat

Construct a new audio format.

Values are initialized as follows:

sampleRate() = -1 channelCount() = -1 sampleSize() = -1 byteOrder() = QAudioFormat::Endian(QSysInfo::ByteOrder) sampleType() = QAudioFormat::Unknown codec() = ""

func (*QAudioFormat) NewFromPointer

func (*QAudioFormat) NewFromPointer(cthis unsafe.Pointer) *QAudioFormat

func (*QAudioFormat) Operator_equal

func (this *QAudioFormat) Operator_equal(other QAudioFormat_ITF) *QAudioFormat

func (*QAudioFormat) Operator_equal_equal

func (this *QAudioFormat) Operator_equal_equal(other QAudioFormat_ITF) bool

func (*QAudioFormat) Operator_not_equal

func (this *QAudioFormat) Operator_not_equal(other QAudioFormat_ITF) bool

func (*QAudioFormat) QAudioFormat_PTR

func (ptr *QAudioFormat) QAudioFormat_PTR() *QAudioFormat

func (*QAudioFormat) SampleRate

func (this *QAudioFormat) SampleRate() int

Returns the current sample rate in Hertz.

See also setSampleRate().

func (*QAudioFormat) SampleSize

func (this *QAudioFormat) SampleSize() int

Returns the current sample size value, in bits.

See also setSampleSize() and bytesPerFrame().

func (*QAudioFormat) SampleType

func (this *QAudioFormat) SampleType() int

Returns the current SampleType value.

See also setSampleType().

func (*QAudioFormat) SampleTypeItemName

func (this *QAudioFormat) SampleTypeItemName(val int) string

func (*QAudioFormat) SetByteOrder

func (this *QAudioFormat) SetByteOrder(byteOrder int)

Sets the byteOrder to byteOrder.

See also byteOrder().

func (*QAudioFormat) SetChannelCount

func (this *QAudioFormat) SetChannelCount(channelCount int)

Sets the channel count to channels.

See also channelCount().

func (*QAudioFormat) SetCodec

func (this *QAudioFormat) SetCodec(codec string)

Sets the codec to codec.

The parameter to this function should be one of the types reported by the QAudioDeviceInfo::supportedCodecs() function for the audio device you are working with.

See also codec() and QAudioDeviceInfo::supportedCodecs().

func (*QAudioFormat) SetCthis

func (this *QAudioFormat) SetCthis(cthis unsafe.Pointer)

func (*QAudioFormat) SetSampleRate

func (this *QAudioFormat) SetSampleRate(sampleRate int)

Sets the sample rate to samplerate Hertz.

See also sampleRate().

func (*QAudioFormat) SetSampleSize

func (this *QAudioFormat) SetSampleSize(sampleSize int)

Sets the sample size to the sampleSize specified, in bits.

This is typically 8 or 16, but some systems may support higher sample sizes.

See also sampleSize().

func (*QAudioFormat) SetSampleType

func (this *QAudioFormat) SetSampleType(sampleType int)

Sets the sampleType to sampleType.

See also sampleType().

type QAudioFormat_ITF

type QAudioFormat_ITF interface {
	QAudioFormat_PTR() *QAudioFormat
}

type QAudioFormat__Endian

type QAudioFormat__Endian = int

QAudioFormat::BigEndianQSysInfo::BigEndianSamples are big endian byte order QAudioFormat::LittleEndianQSysInfo::LittleEndianSamples are little endian byte order

const QAudioFormat__BigEndian QAudioFormat__Endian = 0
const QAudioFormat__LittleEndian QAudioFormat__Endian = 1

type QAudioFormat__SampleType

type QAudioFormat__SampleType = int
const QAudioFormat__Float QAudioFormat__SampleType = 3

Samples are floats

const QAudioFormat__SignedInt QAudioFormat__SampleType = 1

Samples are signed integers

const QAudioFormat__UnSignedInt QAudioFormat__SampleType = 2

Samples are unsigned intergers

const QAudioFormat__Unknown QAudioFormat__SampleType = 0

Not Set

type QAudioInput

type QAudioInput struct {
	*qtcore.QObject
}

func NewQAudioInput

func NewQAudioInput(format QAudioFormat_ITF, parent qtcore.QObject_ITF) *QAudioInput

func NewQAudioInput1

func NewQAudioInput1(audioDeviceInfo QAudioDeviceInfo_ITF, format QAudioFormat_ITF, parent qtcore.QObject_ITF) *QAudioInput

func NewQAudioInput1p

func NewQAudioInput1p(audioDeviceInfo QAudioDeviceInfo_ITF) *QAudioInput

func NewQAudioInput1p1

func NewQAudioInput1p1(audioDeviceInfo QAudioDeviceInfo_ITF, format QAudioFormat_ITF) *QAudioInput

func NewQAudioInputFromPointer

func NewQAudioInputFromPointer(cthis unsafe.Pointer) *QAudioInput

func NewQAudioInputp

func NewQAudioInputp() *QAudioInput

func NewQAudioInputp1

func NewQAudioInputp1(format QAudioFormat_ITF) *QAudioInput

func (*QAudioInput) BufferSize

func (this *QAudioInput) BufferSize() int

Returns the audio buffer size in bytes.

If called before start(), returns platform default value. If called before start() but setBufferSize() was called prior, returns value set by setBufferSize(). If called after start(), returns the actual buffer size being used. This may not be what was set previously by setBufferSize().

See also setBufferSize().

func (*QAudioInput) BytesReady

func (this *QAudioInput) BytesReady() int

Returns the amount of audio data available to read in bytes.

Note: returned value is only valid while in QAudio::ActiveState or QAudio::IdleState state, otherwise returns zero.

func (*QAudioInput) ElapsedUSecs

func (this *QAudioInput) ElapsedUSecs() int64

Returns the microseconds since start() was called, including time in Idle and Suspend states.

func (*QAudioInput) Error

func (this *QAudioInput) Error() int

Returns the error state.

func (*QAudioInput) Format

func (this *QAudioInput) Format() *QAudioFormat

Returns the QAudioFormat being used.

func (*QAudioInput) GetCthis

func (this *QAudioInput) GetCthis() unsafe.Pointer

func (*QAudioInput) MetaObject

func (this *QAudioInput) MetaObject() *qtcore.QMetaObject

func (*QAudioInput) NewForInherit

func (*QAudioInput) NewForInherit(format QAudioFormat_ITF, parent qtcore.QObject_ITF) *QAudioInput

Construct a new audio input and attach it to parent. The default audio input device is used with the output format parameters.

func (*QAudioInput) NewForInherit1

func (*QAudioInput) NewForInherit1(audioDeviceInfo QAudioDeviceInfo_ITF, format QAudioFormat_ITF, parent qtcore.QObject_ITF) *QAudioInput

Construct a new audio input and attach it to parent. The default audio input device is used with the output format parameters.

func (*QAudioInput) NewForInherit1p

func (*QAudioInput) NewForInherit1p(audioDeviceInfo QAudioDeviceInfo_ITF) *QAudioInput

Construct a new audio input and attach it to parent. The default audio input device is used with the output format parameters.

func (*QAudioInput) NewForInherit1p1

func (*QAudioInput) NewForInherit1p1(audioDeviceInfo QAudioDeviceInfo_ITF, format QAudioFormat_ITF) *QAudioInput

Construct a new audio input and attach it to parent. The default audio input device is used with the output format parameters.

func (*QAudioInput) NewForInheritp

func (*QAudioInput) NewForInheritp() *QAudioInput

Construct a new audio input and attach it to parent. The default audio input device is used with the output format parameters.

func (*QAudioInput) NewForInheritp1

func (*QAudioInput) NewForInheritp1(format QAudioFormat_ITF) *QAudioInput

Construct a new audio input and attach it to parent. The default audio input device is used with the output format parameters.

func (*QAudioInput) NewFromPointer

func (*QAudioInput) NewFromPointer(cthis unsafe.Pointer) *QAudioInput

func (*QAudioInput) Notify

func (this *QAudioInput) Notify()

This signal is emitted when x ms of audio data has been processed the interval set by setNotifyInterval(x).

func (*QAudioInput) NotifyInterval

func (this *QAudioInput) NotifyInterval() int

Returns the notify interval in milliseconds.

See also setNotifyInterval().

func (*QAudioInput) PeriodSize

func (this *QAudioInput) PeriodSize() int

Returns the period size in bytes.

Note: This is the recommended read size in bytes.

func (*QAudioInput) ProcessedUSecs

func (this *QAudioInput) ProcessedUSecs() int64

Returns the amount of audio data processed since start() was called in microseconds.

func (*QAudioInput) QAudioInput_PTR

func (ptr *QAudioInput) QAudioInput_PTR() *QAudioInput

func (*QAudioInput) Reset

func (this *QAudioInput) Reset()

Drops all audio data in the buffers, resets buffers to zero.

func (*QAudioInput) Resume

func (this *QAudioInput) Resume()

Resumes processing audio data after a suspend().

Sets error() to QAudio::NoError. Sets state() to QAudio::ActiveState if you previously called start(QIODevice*). Sets state() to QAudio::IdleState if you previously called start(). emits stateChanged() signal.

func (*QAudioInput) SetBufferSize

func (this *QAudioInput) SetBufferSize(bytes int)

Sets the audio buffer size to value bytes.

Note: This function can be called anytime before start(), calls to this are ignored after start(). It should not be assumed that the buffer size set is the actual buffer size used, calling bufferSize() anytime after start() will return the actual buffer size being used.

See also bufferSize().

func (*QAudioInput) SetCthis

func (this *QAudioInput) SetCthis(cthis unsafe.Pointer)

func (*QAudioInput) SetNotifyInterval

func (this *QAudioInput) SetNotifyInterval(milliSeconds int)

Sets the interval for notify() signal to be emitted. This is based on the ms of audio data processed not on actual real-time. The minimum resolution of the timer is platform specific and values should be checked with notifyInterval() to confirm actual value being used.

See also notifyInterval().

func (*QAudioInput) SetVolume

func (this *QAudioInput) SetVolume(volume float64)

Sets the input volume to volume.

The volume is scaled linearly from 0.0 (silence) to 1.0 (full volume). Values outside this range will be clamped.

If the device does not support adjusting the input volume then volume will be ignored and the input volume will remain at 1.0.

The default volume is 1.0.

Note: Adjustments to the volume will change the volume of this audio stream, not the global volume.

See also volume().

func (*QAudioInput) Start

func (this *QAudioInput) Start(device qtcore.QIODevice_ITF)

Starts transferring audio data from the system's audio input to the device. The device must have been opened in the WriteOnly, Append or ReadWrite modes.

If the QAudioInput is able to successfully get audio data, state() returns either QAudio::ActiveState or QAudio::IdleState, error() returns QAudio::NoError and the stateChanged() signal is emitted.

If a problem occurs during this process, error() returns QAudio::OpenError, state() returns QAudio::StoppedState and the stateChanged() signal is emitted.

See also QIODevice.

func (*QAudioInput) Start1

func (this *QAudioInput) Start1() *qtcore.QIODevice

Starts transferring audio data from the system's audio input to the device. The device must have been opened in the WriteOnly, Append or ReadWrite modes.

If the QAudioInput is able to successfully get audio data, state() returns either QAudio::ActiveState or QAudio::IdleState, error() returns QAudio::NoError and the stateChanged() signal is emitted.

If a problem occurs during this process, error() returns QAudio::OpenError, state() returns QAudio::StoppedState and the stateChanged() signal is emitted.

See also QIODevice.

func (*QAudioInput) State

func (this *QAudioInput) State() int

Returns the state of audio processing.

func (*QAudioInput) StateChanged

func (this *QAudioInput) StateChanged(state int)

This signal is emitted when the device state has changed.

func (*QAudioInput) Stop

func (this *QAudioInput) Stop()

Stops the audio input, detaching from the system resource.

Sets error() to QAudio::NoError, state() to QAudio::StoppedState and emit stateChanged() signal.

func (*QAudioInput) Suspend

func (this *QAudioInput) Suspend()

Stops processing audio data, preserving buffered audio data.

Sets error() to QAudio::NoError, state() to QAudio::SuspendedState and emit stateChanged() signal.

func (*QAudioInput) Volume

func (this *QAudioInput) Volume() float64

Returns the input volume.

If the device does not support adjusting the input volume the returned value will be 1.0.

See also setVolume().

type QAudioInputSelectorControl

type QAudioInputSelectorControl struct {
	*QMediaControl
}

func NewQAudioInputSelectorControl

func NewQAudioInputSelectorControl(parent qtcore.QObject_ITF) *QAudioInputSelectorControl

func NewQAudioInputSelectorControlFromPointer

func NewQAudioInputSelectorControlFromPointer(cthis unsafe.Pointer) *QAudioInputSelectorControl

func NewQAudioInputSelectorControlp

func NewQAudioInputSelectorControlp() *QAudioInputSelectorControl

func (*QAudioInputSelectorControl) ActiveInput

func (this *QAudioInputSelectorControl) ActiveInput() string

Returns the name of the currently selected audio input.

See also setActiveInput().

func (*QAudioInputSelectorControl) ActiveInputChanged

func (this *QAudioInputSelectorControl) ActiveInputChanged(name string)

Signals that the audio input has changed to name.

func (*QAudioInputSelectorControl) AvailableInputsChanged

func (this *QAudioInputSelectorControl) AvailableInputsChanged()

Signals that list of available inputs has changed.

func (*QAudioInputSelectorControl) DefaultInput

func (this *QAudioInputSelectorControl) DefaultInput() string

Returns the name of the default audio input.

func (*QAudioInputSelectorControl) GetCthis

func (this *QAudioInputSelectorControl) GetCthis() unsafe.Pointer

func (*QAudioInputSelectorControl) InputDescription

func (this *QAudioInputSelectorControl) InputDescription(name string) string

Returns the description of the input name.

func (*QAudioInputSelectorControl) MetaObject

func (this *QAudioInputSelectorControl) MetaObject() *qtcore.QMetaObject

func (*QAudioInputSelectorControl) NewForInherit

Constructs a new audio input selector control with the given parent.

func (*QAudioInputSelectorControl) NewForInheritp

Constructs a new audio input selector control with the given parent.

func (*QAudioInputSelectorControl) NewFromPointer

func (*QAudioInputSelectorControl) QAudioInputSelectorControl_PTR

func (ptr *QAudioInputSelectorControl) QAudioInputSelectorControl_PTR() *QAudioInputSelectorControl

func (*QAudioInputSelectorControl) SetActiveInput

func (this *QAudioInputSelectorControl) SetActiveInput(name string)

Set the active audio input to name.

See also activeInput().

func (*QAudioInputSelectorControl) SetCthis

func (this *QAudioInputSelectorControl) SetCthis(cthis unsafe.Pointer)

type QAudioInputSelectorControl_ITF

type QAudioInputSelectorControl_ITF interface {
	QMediaControl_ITF
	QAudioInputSelectorControl_PTR() *QAudioInputSelectorControl
}

type QAudioInput_ITF

type QAudioInput_ITF interface {
	qtcore.QObject_ITF
	QAudioInput_PTR() *QAudioInput
}

type QAudioOutput

type QAudioOutput struct {
	*qtcore.QObject
}

func NewQAudioOutput

func NewQAudioOutput(format QAudioFormat_ITF, parent qtcore.QObject_ITF) *QAudioOutput

func NewQAudioOutput1

func NewQAudioOutput1(audioDeviceInfo QAudioDeviceInfo_ITF, format QAudioFormat_ITF, parent qtcore.QObject_ITF) *QAudioOutput

func NewQAudioOutput1p

func NewQAudioOutput1p(audioDeviceInfo QAudioDeviceInfo_ITF) *QAudioOutput

func NewQAudioOutput1p1

func NewQAudioOutput1p1(audioDeviceInfo QAudioDeviceInfo_ITF, format QAudioFormat_ITF) *QAudioOutput

func NewQAudioOutputFromPointer

func NewQAudioOutputFromPointer(cthis unsafe.Pointer) *QAudioOutput

func NewQAudioOutputp

func NewQAudioOutputp() *QAudioOutput

func NewQAudioOutputp1

func NewQAudioOutputp1(format QAudioFormat_ITF) *QAudioOutput

func (*QAudioOutput) BufferSize

func (this *QAudioOutput) BufferSize() int

Returns the audio buffer size in bytes.

If called before start(), returns platform default value. If called before start() but setBufferSize() was called prior, returns value set by setBufferSize(). If called after start(), returns the actual buffer size being used. This may not be what was set previously by setBufferSize().

See also setBufferSize().

func (*QAudioOutput) BytesFree

func (this *QAudioOutput) BytesFree() int

Returns the number of free bytes available in the audio buffer.

Note: The returned value is only valid while in QAudio::ActiveState or QAudio::IdleState state, otherwise returns zero.

func (*QAudioOutput) Category

func (this *QAudioOutput) Category() string

Returns the audio category of this audio stream.

Some platforms can group audio streams into categories and manage their volumes independently, or display them in a system mixer control. You can set this property to allow the platform to distinguish the purpose of your streams.

See also setCategory().

func (*QAudioOutput) ElapsedUSecs

func (this *QAudioOutput) ElapsedUSecs() int64

Returns the microseconds since start() was called, including time in Idle and Suspend states.

func (*QAudioOutput) Error

func (this *QAudioOutput) Error() int

Returns the error state.

func (*QAudioOutput) Format

func (this *QAudioOutput) Format() *QAudioFormat

Returns the QAudioFormat being used.

func (*QAudioOutput) GetCthis

func (this *QAudioOutput) GetCthis() unsafe.Pointer

func (*QAudioOutput) MetaObject

func (this *QAudioOutput) MetaObject() *qtcore.QMetaObject

func (*QAudioOutput) NewForInherit

func (*QAudioOutput) NewForInherit(format QAudioFormat_ITF, parent qtcore.QObject_ITF) *QAudioOutput

Construct a new audio output and attach it to parent. The default audio output device is used with the output format parameters.

func (*QAudioOutput) NewForInherit1

func (*QAudioOutput) NewForInherit1(audioDeviceInfo QAudioDeviceInfo_ITF, format QAudioFormat_ITF, parent qtcore.QObject_ITF) *QAudioOutput

Construct a new audio output and attach it to parent. The default audio output device is used with the output format parameters.

func (*QAudioOutput) NewForInherit1p

func (*QAudioOutput) NewForInherit1p(audioDeviceInfo QAudioDeviceInfo_ITF) *QAudioOutput

Construct a new audio output and attach it to parent. The default audio output device is used with the output format parameters.

func (*QAudioOutput) NewForInherit1p1

func (*QAudioOutput) NewForInherit1p1(audioDeviceInfo QAudioDeviceInfo_ITF, format QAudioFormat_ITF) *QAudioOutput

Construct a new audio output and attach it to parent. The default audio output device is used with the output format parameters.

func (*QAudioOutput) NewForInheritp

func (*QAudioOutput) NewForInheritp() *QAudioOutput

Construct a new audio output and attach it to parent. The default audio output device is used with the output format parameters.

func (*QAudioOutput) NewForInheritp1

func (*QAudioOutput) NewForInheritp1(format QAudioFormat_ITF) *QAudioOutput

Construct a new audio output and attach it to parent. The default audio output device is used with the output format parameters.

func (*QAudioOutput) NewFromPointer

func (*QAudioOutput) NewFromPointer(cthis unsafe.Pointer) *QAudioOutput

func (*QAudioOutput) Notify

func (this *QAudioOutput) Notify()

This signal is emitted when a certain interval of milliseconds of audio data has been processed. The interval is set by setNotifyInterval().

func (*QAudioOutput) NotifyInterval

func (this *QAudioOutput) NotifyInterval() int

Returns the notify interval in milliseconds.

See also setNotifyInterval().

func (*QAudioOutput) PeriodSize

func (this *QAudioOutput) PeriodSize() int

Returns the period size in bytes. This is the amount of data required each period to prevent buffer underrun, and to ensure uninterrupted playback.

Note: It is recommended to provide at least enough data for a full period with each write operation.

func (*QAudioOutput) ProcessedUSecs

func (this *QAudioOutput) ProcessedUSecs() int64

Returns the amount of audio data processed since start() was called (in microseconds).

func (*QAudioOutput) QAudioOutput_PTR

func (ptr *QAudioOutput) QAudioOutput_PTR() *QAudioOutput

func (*QAudioOutput) Reset

func (this *QAudioOutput) Reset()

Drops all audio data in the buffers, resets buffers to zero.

func (*QAudioOutput) Resume

func (this *QAudioOutput) Resume()

Resumes processing audio data after a suspend().

Sets error() to QAudio::NoError. Sets state() to QAudio::ActiveState if you previously called start(QIODevice*). Sets state() to QAudio::IdleState if you previously called start(). emits stateChanged() signal.

func (*QAudioOutput) SetBufferSize

func (this *QAudioOutput) SetBufferSize(bytes int)

Sets the audio buffer size to value in bytes.

Note: This function can be called anytime before start(). Calls to this are ignored after start(). It should not be assumed that the buffer size set is the actual buffer size used - call bufferSize() anytime after start() to return the actual buffer size being used.

See also bufferSize().

func (*QAudioOutput) SetCategory

func (this *QAudioOutput) SetCategory(category string)

Sets the audio category of this audio stream to category.

Some platforms can group audio streams into categories and manage their volumes independently, or display them in a system mixer control. You can set this property to allow the platform to distinguish the purpose of your streams.

Not all platforms support audio stream categorization. In this case, the function call will be ignored.

Changing an audio output stream's category while it is opened will not take effect until it is reopened.

See also category().

func (*QAudioOutput) SetCthis

func (this *QAudioOutput) SetCthis(cthis unsafe.Pointer)

func (*QAudioOutput) SetNotifyInterval

func (this *QAudioOutput) SetNotifyInterval(milliSeconds int)

Sets the interval for notify() signal to be emitted. This is based on the ms of audio data processed, not on wall clock time. The minimum resolution of the timer is platform specific and values should be checked with notifyInterval() to confirm the actual value being used.

See also notifyInterval().

func (*QAudioOutput) SetVolume

func (this *QAudioOutput) SetVolume(arg0 float64)

Sets the output volume to volume.

The volume is scaled linearly from 0.0 (silence) to 1.0 (full volume). Values outside this range will be clamped.

The default volume is 1.0.

Note: Adjustments to the volume will change the volume of this audio stream, not the global volume.

UI volume controls should usually be scaled nonlinearly. For example, using a logarithmic scale will produce linear changes in perceived loudness, which is what a user would normally expect from a volume control. See QAudio::convertVolume() for more details.

See also volume().

func (*QAudioOutput) Start

func (this *QAudioOutput) Start(device qtcore.QIODevice_ITF)

Starts transferring audio data from the device to the system's audio output. The device must have been opened in the ReadOnly or ReadWrite modes.

If the QAudioOutput is able to successfully output audio data, state() returns QAudio::ActiveState, error() returns QAudio::NoError and the stateChanged() signal is emitted.

If a problem occurs during this process, error() returns QAudio::OpenError, state() returns QAudio::StoppedState and the stateChanged() signal is emitted.

See also QIODevice.

func (*QAudioOutput) Start1

func (this *QAudioOutput) Start1() *qtcore.QIODevice

Starts transferring audio data from the device to the system's audio output. The device must have been opened in the ReadOnly or ReadWrite modes.

If the QAudioOutput is able to successfully output audio data, state() returns QAudio::ActiveState, error() returns QAudio::NoError and the stateChanged() signal is emitted.

If a problem occurs during this process, error() returns QAudio::OpenError, state() returns QAudio::StoppedState and the stateChanged() signal is emitted.

See also QIODevice.

func (*QAudioOutput) State

func (this *QAudioOutput) State() int

Returns the state of audio processing.

func (*QAudioOutput) StateChanged

func (this *QAudioOutput) StateChanged(state int)

This signal is emitted when the device state has changed. This is the current state of the audio output.

func (*QAudioOutput) Stop

func (this *QAudioOutput) Stop()

Stops the audio output, detaching from the system resource.

Sets error() to QAudio::NoError, state() to QAudio::StoppedState and emit stateChanged() signal.

func (*QAudioOutput) Suspend

func (this *QAudioOutput) Suspend()

Stops processing audio data, preserving buffered audio data.

Sets error() to QAudio::NoError, state() to QAudio::SuspendedState and emits stateChanged() signal.

func (*QAudioOutput) Volume

func (this *QAudioOutput) Volume() float64

Returns the volume between 0.0 and 1.0 inclusive.

See also setVolume().

type QAudioOutputSelectorControl

type QAudioOutputSelectorControl struct {
	*QMediaControl
}

func NewQAudioOutputSelectorControl

func NewQAudioOutputSelectorControl(parent qtcore.QObject_ITF) *QAudioOutputSelectorControl

func NewQAudioOutputSelectorControlFromPointer

func NewQAudioOutputSelectorControlFromPointer(cthis unsafe.Pointer) *QAudioOutputSelectorControl

func NewQAudioOutputSelectorControlp

func NewQAudioOutputSelectorControlp() *QAudioOutputSelectorControl

func (*QAudioOutputSelectorControl) ActiveOutput

func (this *QAudioOutputSelectorControl) ActiveOutput() string

Returns the name of the currently selected audio output.

See also setActiveOutput().

func (*QAudioOutputSelectorControl) ActiveOutputChanged

func (this *QAudioOutputSelectorControl) ActiveOutputChanged(name string)

Signals that the audio output has changed to name.

func (*QAudioOutputSelectorControl) AvailableOutputsChanged

func (this *QAudioOutputSelectorControl) AvailableOutputsChanged()

Signals that list of available outputs has changed.

func (*QAudioOutputSelectorControl) DefaultOutput

func (this *QAudioOutputSelectorControl) DefaultOutput() string

Returns the name of the default audio output.

func (*QAudioOutputSelectorControl) GetCthis

func (this *QAudioOutputSelectorControl) GetCthis() unsafe.Pointer

func (*QAudioOutputSelectorControl) MetaObject

func (this *QAudioOutputSelectorControl) MetaObject() *qtcore.QMetaObject

func (*QAudioOutputSelectorControl) NewForInherit

Constructs a new audio output selector control with the given parent.

func (*QAudioOutputSelectorControl) NewForInheritp

Constructs a new audio output selector control with the given parent.

func (*QAudioOutputSelectorControl) NewFromPointer

func (*QAudioOutputSelectorControl) OutputDescription

func (this *QAudioOutputSelectorControl) OutputDescription(name string) string

Returns the description of the output name.

func (*QAudioOutputSelectorControl) QAudioOutputSelectorControl_PTR

func (ptr *QAudioOutputSelectorControl) QAudioOutputSelectorControl_PTR() *QAudioOutputSelectorControl

func (*QAudioOutputSelectorControl) SetActiveOutput

func (this *QAudioOutputSelectorControl) SetActiveOutput(name string)

Set the active audio output to name.

See also activeOutput().

func (*QAudioOutputSelectorControl) SetCthis

func (this *QAudioOutputSelectorControl) SetCthis(cthis unsafe.Pointer)

type QAudioOutputSelectorControl_ITF

type QAudioOutputSelectorControl_ITF interface {
	QMediaControl_ITF
	QAudioOutputSelectorControl_PTR() *QAudioOutputSelectorControl
}

type QAudioOutput_ITF

type QAudioOutput_ITF interface {
	qtcore.QObject_ITF
	QAudioOutput_PTR() *QAudioOutput
}

type QAudioProbe

type QAudioProbe struct {
	*qtcore.QObject
}

func NewQAudioProbe

func NewQAudioProbe(parent qtcore.QObject_ITF) *QAudioProbe

func NewQAudioProbeFromPointer

func NewQAudioProbeFromPointer(cthis unsafe.Pointer) *QAudioProbe

func NewQAudioProbep

func NewQAudioProbep() *QAudioProbe

func (*QAudioProbe) AudioBufferProbed

func (this *QAudioProbe) AudioBufferProbed(buffer QAudioBuffer_ITF)

This signal should be emitted when an audio buffer is processed in the media service.

func (*QAudioProbe) Flush

func (this *QAudioProbe) Flush()

This signal should be emitted when it is required to release all buffers. Application must release all outstanding references to audio buffers.

func (*QAudioProbe) GetCthis

func (this *QAudioProbe) GetCthis() unsafe.Pointer

func (*QAudioProbe) IsActive

func (this *QAudioProbe) IsActive() bool

Returns true if this probe is monitoring something, or false otherwise.

The source being monitored does not need to be active.

func (*QAudioProbe) MetaObject

func (this *QAudioProbe) MetaObject() *qtcore.QMetaObject

func (*QAudioProbe) NewForInherit

func (*QAudioProbe) NewForInherit(parent qtcore.QObject_ITF) *QAudioProbe

Creates a new QAudioProbe class with a parent. After setting the source to monitor with setSource(), the audioBufferProbed() signal will be emitted when audio buffers are flowing in the source media object.

func (*QAudioProbe) NewForInheritp

func (*QAudioProbe) NewForInheritp() *QAudioProbe

Creates a new QAudioProbe class with a parent. After setting the source to monitor with setSource(), the audioBufferProbed() signal will be emitted when audio buffers are flowing in the source media object.

func (*QAudioProbe) NewFromPointer

func (*QAudioProbe) NewFromPointer(cthis unsafe.Pointer) *QAudioProbe

func (*QAudioProbe) QAudioProbe_PTR

func (ptr *QAudioProbe) QAudioProbe_PTR() *QAudioProbe

func (*QAudioProbe) SetCthis

func (this *QAudioProbe) SetCthis(cthis unsafe.Pointer)

func (*QAudioProbe) SetSource

func (this *QAudioProbe) SetSource(source QMediaObject_ITF) bool

Sets the media object to monitor to source.

If source is zero, this probe will be deactivated and this function wil return true.

If the media object does not support monitoring audio, this function will return false.

The previous object will no longer be monitored. Passing in the same object will be ignored, but monitoring will continue.

func (*QAudioProbe) SetSource1

func (this *QAudioProbe) SetSource1(source QMediaRecorder_ITF) bool

Sets the media object to monitor to source.

If source is zero, this probe will be deactivated and this function wil return true.

If the media object does not support monitoring audio, this function will return false.

The previous object will no longer be monitored. Passing in the same object will be ignored, but monitoring will continue.

type QAudioProbe_ITF

type QAudioProbe_ITF interface {
	qtcore.QObject_ITF
	QAudioProbe_PTR() *QAudioProbe
}

type QAudioRecorder

type QAudioRecorder struct {
	*QMediaRecorder
}

func NewQAudioRecorder

func NewQAudioRecorder(parent qtcore.QObject_ITF) *QAudioRecorder

func NewQAudioRecorderFromPointer

func NewQAudioRecorderFromPointer(cthis unsafe.Pointer) *QAudioRecorder

func NewQAudioRecorderp

func NewQAudioRecorderp() *QAudioRecorder

func (*QAudioRecorder) AudioInput

func (this *QAudioRecorder) AudioInput() string

Returns the active audio input name.

Note: Getter function for property audioInput.

See also setAudioInput().

func (*QAudioRecorder) AudioInputChanged

func (this *QAudioRecorder) AudioInputChanged(name string)

Signal emitted when active audio input changes to name.

Note: Notifier signal for property audioInput.

func (*QAudioRecorder) AudioInputDescription

func (this *QAudioRecorder) AudioInputDescription(name string) string

Returns the readable translated description of the audio input device with name.

func (*QAudioRecorder) AudioInputs

func (this *QAudioRecorder) AudioInputs() *qtcore.QStringList

Returns a list of available audio inputs

func (*QAudioRecorder) AvailableAudioInputsChanged

func (this *QAudioRecorder) AvailableAudioInputsChanged()

Signal is emitted when the available audio inputs change.

func (*QAudioRecorder) DefaultAudioInput

func (this *QAudioRecorder) DefaultAudioInput() string

Returns the default audio input name.

func (*QAudioRecorder) GetCthis

func (this *QAudioRecorder) GetCthis() unsafe.Pointer

func (*QAudioRecorder) MetaObject

func (this *QAudioRecorder) MetaObject() *qtcore.QMetaObject

func (*QAudioRecorder) NewForInherit

func (*QAudioRecorder) NewForInherit(parent qtcore.QObject_ITF) *QAudioRecorder

Constructs an audio recorder. The parent is passed to QMediaObject.

func (*QAudioRecorder) NewForInheritp

func (*QAudioRecorder) NewForInheritp() *QAudioRecorder

Constructs an audio recorder. The parent is passed to QMediaObject.

func (*QAudioRecorder) NewFromPointer

func (*QAudioRecorder) NewFromPointer(cthis unsafe.Pointer) *QAudioRecorder

func (*QAudioRecorder) QAudioRecorder_PTR

func (ptr *QAudioRecorder) QAudioRecorder_PTR() *QAudioRecorder

func (*QAudioRecorder) SetAudioInput

func (this *QAudioRecorder) SetAudioInput(name string)

Set the active audio input to name.

Note: Setter function for property audioInput.

See also audioInput().

func (*QAudioRecorder) SetCthis

func (this *QAudioRecorder) SetCthis(cthis unsafe.Pointer)

type QAudioRecorder_ITF

type QAudioRecorder_ITF interface {
	QMediaRecorder_ITF
	QAudioRecorder_PTR() *QAudioRecorder
}

type QAudioRoleControl

type QAudioRoleControl struct {
	*QMediaControl
}

func NewQAudioRoleControl

func NewQAudioRoleControl(parent qtcore.QObject_ITF) *QAudioRoleControl

func NewQAudioRoleControlFromPointer

func NewQAudioRoleControlFromPointer(cthis unsafe.Pointer) *QAudioRoleControl

func NewQAudioRoleControlp

func NewQAudioRoleControlp() *QAudioRoleControl

func (*QAudioRoleControl) AudioRole

func (this *QAudioRoleControl) AudioRole() int

Returns the audio role of the media played by the media service.

See also setAudioRole().

func (*QAudioRoleControl) AudioRoleChanged

func (this *QAudioRoleControl) AudioRoleChanged(role int)

Signal emitted when the audio role has changed.

func (*QAudioRoleControl) GetCthis

func (this *QAudioRoleControl) GetCthis() unsafe.Pointer

func (*QAudioRoleControl) MetaObject

func (this *QAudioRoleControl) MetaObject() *qtcore.QMetaObject

func (*QAudioRoleControl) NewForInherit

func (*QAudioRoleControl) NewForInherit(parent qtcore.QObject_ITF) *QAudioRoleControl

Construct a QAudioRoleControl with the given parent.

func (*QAudioRoleControl) NewForInheritp

func (*QAudioRoleControl) NewForInheritp() *QAudioRoleControl

Construct a QAudioRoleControl with the given parent.

func (*QAudioRoleControl) NewFromPointer

func (*QAudioRoleControl) NewFromPointer(cthis unsafe.Pointer) *QAudioRoleControl

func (*QAudioRoleControl) QAudioRoleControl_PTR

func (ptr *QAudioRoleControl) QAudioRoleControl_PTR() *QAudioRoleControl

func (*QAudioRoleControl) SetAudioRole

func (this *QAudioRoleControl) SetAudioRole(role int)

Sets the audio role of the media played by the media service.

See also audioRole().

func (*QAudioRoleControl) SetCthis

func (this *QAudioRoleControl) SetCthis(cthis unsafe.Pointer)

type QAudioRoleControl_ITF

type QAudioRoleControl_ITF interface {
	QMediaControl_ITF
	QAudioRoleControl_PTR() *QAudioRoleControl
}

type QAudioSystemFactoryInterface

type QAudioSystemFactoryInterface struct {
	*qtrt.CObject
}

func NewQAudioSystemFactoryInterfaceFromPointer

func NewQAudioSystemFactoryInterfaceFromPointer(cthis unsafe.Pointer) *QAudioSystemFactoryInterface

func (*QAudioSystemFactoryInterface) CreateDeviceInfo

func (this *QAudioSystemFactoryInterface) CreateDeviceInfo(device qtcore.QByteArray_ITF, mode int) *QAbstractAudioDeviceInfo

Returns a pointer to a QAbstractAudioDeviceInfo created using device and mode

func (*QAudioSystemFactoryInterface) CreateInput

Returns a pointer to a QAbstractAudioInput created using device identifier

func (*QAudioSystemFactoryInterface) CreateOutput

Returns a pointer to a QAbstractAudioOutput created using device identifier

func (*QAudioSystemFactoryInterface) GetCthis

func (this *QAudioSystemFactoryInterface) GetCthis() unsafe.Pointer

func (*QAudioSystemFactoryInterface) NewFromPointer

func (*QAudioSystemFactoryInterface) QAudioSystemFactoryInterface_PTR

func (ptr *QAudioSystemFactoryInterface) QAudioSystemFactoryInterface_PTR() *QAudioSystemFactoryInterface

func (*QAudioSystemFactoryInterface) SetCthis

func (this *QAudioSystemFactoryInterface) SetCthis(cthis unsafe.Pointer)

type QAudioSystemFactoryInterface_ITF

type QAudioSystemFactoryInterface_ITF interface {
	QAudioSystemFactoryInterface_PTR() *QAudioSystemFactoryInterface
}

type QAudioSystemPlugin

type QAudioSystemPlugin struct {
	*qtcore.QObject
	*QAudioSystemFactoryInterface
}

func NewQAudioSystemPlugin

func NewQAudioSystemPlugin(parent qtcore.QObject_ITF) *QAudioSystemPlugin

func NewQAudioSystemPluginFromPointer

func NewQAudioSystemPluginFromPointer(cthis unsafe.Pointer) *QAudioSystemPlugin

func NewQAudioSystemPluginp

func NewQAudioSystemPluginp() *QAudioSystemPlugin

func (*QAudioSystemPlugin) CreateDeviceInfo

func (this *QAudioSystemPlugin) CreateDeviceInfo(device qtcore.QByteArray_ITF, mode int) *QAbstractAudioDeviceInfo

Returns a pointer to a QAbstractAudioDeviceInfo created using device and mode

func (*QAudioSystemPlugin) CreateInput

func (this *QAudioSystemPlugin) CreateInput(device qtcore.QByteArray_ITF) *QAbstractAudioInput

Returns a pointer to a QAbstractAudioInput created using device identifier

func (*QAudioSystemPlugin) CreateOutput

func (this *QAudioSystemPlugin) CreateOutput(device qtcore.QByteArray_ITF) *QAbstractAudioOutput

Returns a pointer to a QAbstractAudioOutput created using device identifier

func (*QAudioSystemPlugin) GetCthis

func (this *QAudioSystemPlugin) GetCthis() unsafe.Pointer

func (*QAudioSystemPlugin) MetaObject

func (this *QAudioSystemPlugin) MetaObject() *qtcore.QMetaObject

func (*QAudioSystemPlugin) NewForInherit

func (*QAudioSystemPlugin) NewForInherit(parent qtcore.QObject_ITF) *QAudioSystemPlugin

Constructs a new audio plugin with parent. This is invoked automatically by the Q_PLUGIN_METADATA() macro.

func (*QAudioSystemPlugin) NewForInheritp

func (*QAudioSystemPlugin) NewForInheritp() *QAudioSystemPlugin

Constructs a new audio plugin with parent. This is invoked automatically by the Q_PLUGIN_METADATA() macro.

func (*QAudioSystemPlugin) NewFromPointer

func (*QAudioSystemPlugin) NewFromPointer(cthis unsafe.Pointer) *QAudioSystemPlugin

func (*QAudioSystemPlugin) QAudioSystemPlugin_PTR

func (ptr *QAudioSystemPlugin) QAudioSystemPlugin_PTR() *QAudioSystemPlugin

func (*QAudioSystemPlugin) SetCthis

func (this *QAudioSystemPlugin) SetCthis(cthis unsafe.Pointer)

type QAudioSystemPlugin_ITF

type QAudioSystemPlugin_ITF interface {
	qtcore.QObject_ITF
	QAudioSystemFactoryInterface_ITF
	QAudioSystemPlugin_PTR() *QAudioSystemPlugin
}

type QCamera

type QCamera struct {
	*QMediaObject
}

func NewQCamera

func NewQCamera(parent qtcore.QObject_ITF) *QCamera

func NewQCamera1

func NewQCamera1(deviceName qtcore.QByteArray_ITF, parent qtcore.QObject_ITF) *QCamera

func NewQCamera1p

func NewQCamera1p(deviceName qtcore.QByteArray_ITF) *QCamera

func NewQCamera2

func NewQCamera2(cameraInfo QCameraInfo_ITF, parent qtcore.QObject_ITF) *QCamera

func NewQCamera2p

func NewQCamera2p(cameraInfo QCameraInfo_ITF) *QCamera

func NewQCamera3

func NewQCamera3(position int, parent qtcore.QObject_ITF) *QCamera

func NewQCamera3p

func NewQCamera3p(position int) *QCamera

func NewQCameraFromPointer

func NewQCameraFromPointer(cthis unsafe.Pointer) *QCamera

func NewQCamerap

func NewQCamerap() *QCamera

func (*QCamera) Availability

func (this *QCamera) Availability() int

Reimplemented from QMediaObject::availability().

Returns the availability state of the camera service.

func (*QCamera) CaptureMode

func (this *QCamera) CaptureMode() int

func (*QCamera) CaptureModeChanged

func (this *QCamera) CaptureModeChanged(arg0 int)

Signals the capture mode has changed.

Note: Notifier signal for property captureMode.

func (*QCamera) CaptureModeItemName

func (this *QCamera) CaptureModeItemName(val int) string

func (*QCamera) DeviceDescription

func (this *QCamera) DeviceDescription(device qtcore.QByteArray_ITF) string

func (*QCamera) Error

func (this *QCamera) Error() int

Returns the error state of the object.

func (*QCamera) Error1

func (this *QCamera) Error1(arg0 int)

Returns the error state of the object.

func (*QCamera) ErrorItemName

func (this *QCamera) ErrorItemName(val int) string

func (*QCamera) ErrorString

func (this *QCamera) ErrorString() string

Returns a string describing a camera's error state.

func (*QCamera) Exposure

func (this *QCamera) Exposure() *QCameraExposure

Returns the camera exposure control object.

func (*QCamera) Focus

func (this *QCamera) Focus() *QCameraFocus

Returns the camera focus control object.

func (*QCamera) GetCthis

func (this *QCamera) GetCthis() unsafe.Pointer

func (*QCamera) ImageProcessing

func (this *QCamera) ImageProcessing() *QCameraImageProcessing

Returns the camera image processing control object.

func (*QCamera) IsCaptureModeSupported

func (this *QCamera) IsCaptureModeSupported(mode int) bool

Returns true if the capture mode is suported.

func (*QCamera) Load

func (this *QCamera) Load()

Open the camera device. The camera state is changed to QCamera::LoadedStatus.

It's not necessary to explcitly load the camera, unless unless the application have to read the supported camera settings and change the default depending on the camera capabilities.

In all the other cases it's possible to start the camera directly from unloaded state.

func (*QCamera) LockChangeReasonItemName

func (this *QCamera) LockChangeReasonItemName(val int) string

func (*QCamera) LockFailed

func (this *QCamera) LockFailed()

Signals locking of at least one requested camera settings failed.

func (*QCamera) LockStatus

func (this *QCamera) LockStatus() int

Returns the status of requested camera settings locks.

Note: Getter function for property lockStatus.

func (*QCamera) LockStatus1

func (this *QCamera) LockStatus1(lock int) int

Returns the status of requested camera settings locks.

Note: Getter function for property lockStatus.

func (*QCamera) LockStatusChanged

func (this *QCamera) LockStatusChanged(status int, reason int)

Signals the overall status for all the requested camera locks was changed with specified reason.

Note: Signal lockStatusChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(camera, QOverload<QCamera::LockStatus, QCamera::LockChangeReason>::of(&QCamera::lockStatusChanged),
    [=](QCamera::LockStatus status, QCamera::LockChangeReason reason){ /-* ... *-/ });

Note: Notifier signal for property lockStatus.

func (*QCamera) LockStatusChanged1

func (this *QCamera) LockStatusChanged1(lock int, status int, reason int)

Signals the overall status for all the requested camera locks was changed with specified reason.

Note: Signal lockStatusChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(camera, QOverload<QCamera::LockStatus, QCamera::LockChangeReason>::of(&QCamera::lockStatusChanged),
    [=](QCamera::LockStatus status, QCamera::LockChangeReason reason){ /-* ... *-/ });

Note: Notifier signal for property lockStatus.

func (*QCamera) LockStatusItemName

func (this *QCamera) LockStatusItemName(val int) string

func (*QCamera) LockTypeItemName

func (this *QCamera) LockTypeItemName(val int) string

func (*QCamera) Locked

func (this *QCamera) Locked()

Signals all the requested camera settings are locked.

func (*QCamera) MetaObject

func (this *QCamera) MetaObject() *qtcore.QMetaObject

func (*QCamera) NewForInherit

func (*QCamera) NewForInherit(parent qtcore.QObject_ITF) *QCamera

Construct a QCamera with a parent.

func (*QCamera) NewForInherit1

func (*QCamera) NewForInherit1(deviceName qtcore.QByteArray_ITF, parent qtcore.QObject_ITF) *QCamera

Construct a QCamera with a parent.

func (*QCamera) NewForInherit1p

func (*QCamera) NewForInherit1p(deviceName qtcore.QByteArray_ITF) *QCamera

Construct a QCamera with a parent.

func (*QCamera) NewForInherit2

func (*QCamera) NewForInherit2(cameraInfo QCameraInfo_ITF, parent qtcore.QObject_ITF) *QCamera

Construct a QCamera with a parent.

func (*QCamera) NewForInherit2p

func (*QCamera) NewForInherit2p(cameraInfo QCameraInfo_ITF) *QCamera

Construct a QCamera with a parent.

func (*QCamera) NewForInherit3

func (*QCamera) NewForInherit3(position int, parent qtcore.QObject_ITF) *QCamera

Construct a QCamera with a parent.

func (*QCamera) NewForInherit3p

func (*QCamera) NewForInherit3p(position int) *QCamera

Construct a QCamera with a parent.

func (*QCamera) NewForInheritp

func (*QCamera) NewForInheritp() *QCamera

Construct a QCamera with a parent.

func (*QCamera) NewFromPointer

func (*QCamera) NewFromPointer(cthis unsafe.Pointer) *QCamera

func (*QCamera) PositionItemName

func (this *QCamera) PositionItemName(val int) string

func (*QCamera) QCamera_PTR

func (ptr *QCamera) QCamera_PTR() *QCamera

func (*QCamera) RequestedLocks

func (this *QCamera) RequestedLocks() int

Returns the requested lock types.

func (*QCamera) SearchAndLock

func (this *QCamera) SearchAndLock()

Lock all the supported camera settings.

func (*QCamera) SearchAndLock1

func (this *QCamera) SearchAndLock1(locks int)

Lock all the supported camera settings.

func (*QCamera) SetCaptureMode

func (this *QCamera) SetCaptureMode(mode int)

func (*QCamera) SetCthis

func (this *QCamera) SetCthis(cthis unsafe.Pointer)

func (*QCamera) SetViewfinder

func (this *QCamera) SetViewfinder(surface QAbstractVideoSurface_ITF)

Sets the QVideoWidget based camera viewfinder. The previously set viewfinder is detached.

func (*QCamera) SetViewfinderSettings

func (this *QCamera) SetViewfinderSettings(settings QCameraViewfinderSettings_ITF)

Sets the viewfinder settings.

If some parameters are not specified, or null settings are passed, the camera will choose default values.

If the camera is used to capture videos or images, the viewfinder settings might be ignored if they conflict with the capture settings. You can check the actual viewfinder settings once the camera is in the QCamera::ActiveStatus status.

Changing the viewfinder settings while the camera is in the QCamera::ActiveState state may cause the camera to be restarted.

This function was introduced in Qt 5.5.

See also viewfinderSettings(), supportedViewfinderResolutions(), supportedViewfinderFrameRateRanges(), and supportedViewfinderPixelFormats().

func (*QCamera) Start

func (this *QCamera) Start()

Starts the camera.

State is changed to QCamera::ActiveState if camera is started successfully, otherwise error() signal is emitted.

While the camera state is changed to QCamera::ActiveState, starting the camera service can be asynchronous with the actual status reported with QCamera::status property.

func (*QCamera) State

func (this *QCamera) State() int

func (*QCamera) StateChanged

func (this *QCamera) StateChanged(state int)

Signals the camera state has changed.

Usually the state changes is caused by calling load(), unload(), start() and stop(), but the state can also be changed change as a result of camera error.

Note: Notifier signal for property state.

func (*QCamera) StateItemName

func (this *QCamera) StateItemName(val int) string

func (*QCamera) Status

func (this *QCamera) Status() int

func (*QCamera) StatusChanged

func (this *QCamera) StatusChanged(status int)

Signals the camera status has changed.

Note: Notifier signal for property status.

func (*QCamera) StatusItemName

func (this *QCamera) StatusItemName(val int) string

func (*QCamera) Stop

func (this *QCamera) Stop()

Stops the camera. The camera state is changed from QCamera::ActiveState to QCamera::LoadedState.

func (*QCamera) SupportedLocks

func (this *QCamera) SupportedLocks() int

Returns the lock types, camera supports.

func (*QCamera) SupportedViewfinderResolutions

func (this *QCamera) SupportedViewfinderResolutions(settings QCameraViewfinderSettings_ITF) *qtcore.QSizeList

Returns a list of supported viewfinder resolutions.

This is a convenience function which retrieves unique resolutions from the supported settings.

If non null viewfinder settings are passed, the returned list is reduced to resolutions supported with partial settings applied.

The camera must be loaded before calling this function, otherwise the returned list is empty.

This function was introduced in Qt 5.5.

See also QCameraViewfinderSettings::resolution() and setViewfinderSettings().

func (*QCamera) SupportedViewfinderResolutionsp

func (this *QCamera) SupportedViewfinderResolutionsp() *qtcore.QSizeList

Returns a list of supported viewfinder resolutions.

This is a convenience function which retrieves unique resolutions from the supported settings.

If non null viewfinder settings are passed, the returned list is reduced to resolutions supported with partial settings applied.

The camera must be loaded before calling this function, otherwise the returned list is empty.

This function was introduced in Qt 5.5.

See also QCameraViewfinderSettings::resolution() and setViewfinderSettings().

func (*QCamera) Unload

func (this *QCamera) Unload()

Close the camera device and deallocate the related resources. The camera state is changed to QCamera::UnloadedStatus.

func (*QCamera) Unlock

func (this *QCamera) Unlock()

Unlock all the requested camera locks.

func (*QCamera) Unlock1

func (this *QCamera) Unlock1(locks int)

Unlock all the requested camera locks.

func (*QCamera) ViewfinderSettings

func (this *QCamera) ViewfinderSettings() *QCameraViewfinderSettings

Returns the viewfinder settings being used by the camera.

Settings may change when the camera is started, for example if the viewfinder settings are undefined or if unsupported values are set.

If viewfinder settings are not supported by the camera, it always returns a null QCameraViewfinderSettings object.

This function was introduced in Qt 5.5.

See also setViewfinderSettings().

type QCameraCaptureBufferFormatControl

type QCameraCaptureBufferFormatControl struct {
	*QMediaControl
}

func NewQCameraCaptureBufferFormatControl

func NewQCameraCaptureBufferFormatControl(parent qtcore.QObject_ITF) *QCameraCaptureBufferFormatControl

func NewQCameraCaptureBufferFormatControlFromPointer

func NewQCameraCaptureBufferFormatControlFromPointer(cthis unsafe.Pointer) *QCameraCaptureBufferFormatControl

func NewQCameraCaptureBufferFormatControlp

func NewQCameraCaptureBufferFormatControlp() *QCameraCaptureBufferFormatControl

func (*QCameraCaptureBufferFormatControl) BufferFormat

func (this *QCameraCaptureBufferFormatControl) BufferFormat() int

Returns the current buffer capture format.

See also setBufferFormat().

func (*QCameraCaptureBufferFormatControl) BufferFormatChanged

func (this *QCameraCaptureBufferFormatControl) BufferFormatChanged(format int)

Signals the buffer image capture format changed to format.

func (*QCameraCaptureBufferFormatControl) GetCthis

func (*QCameraCaptureBufferFormatControl) MetaObject

func (*QCameraCaptureBufferFormatControl) NewForInherit

Constructs a new image buffer capture format control object with the given parent

func (*QCameraCaptureBufferFormatControl) NewForInheritp

Constructs a new image buffer capture format control object with the given parent

func (*QCameraCaptureBufferFormatControl) NewFromPointer

func (*QCameraCaptureBufferFormatControl) QCameraCaptureBufferFormatControl_PTR

func (ptr *QCameraCaptureBufferFormatControl) QCameraCaptureBufferFormatControl_PTR() *QCameraCaptureBufferFormatControl

func (*QCameraCaptureBufferFormatControl) SetBufferFormat

func (this *QCameraCaptureBufferFormatControl) SetBufferFormat(format int)

Sets the buffer capture format.

See also bufferFormat().

func (*QCameraCaptureBufferFormatControl) SetCthis

func (this *QCameraCaptureBufferFormatControl) SetCthis(cthis unsafe.Pointer)

type QCameraCaptureBufferFormatControl_ITF

type QCameraCaptureBufferFormatControl_ITF interface {
	QMediaControl_ITF
	QCameraCaptureBufferFormatControl_PTR() *QCameraCaptureBufferFormatControl
}

type QCameraCaptureDestinationControl

type QCameraCaptureDestinationControl struct {
	*QMediaControl
}

func NewQCameraCaptureDestinationControl

func NewQCameraCaptureDestinationControl(parent qtcore.QObject_ITF) *QCameraCaptureDestinationControl

func NewQCameraCaptureDestinationControlFromPointer

func NewQCameraCaptureDestinationControlFromPointer(cthis unsafe.Pointer) *QCameraCaptureDestinationControl

func NewQCameraCaptureDestinationControlp

func NewQCameraCaptureDestinationControlp() *QCameraCaptureDestinationControl

func (*QCameraCaptureDestinationControl) CaptureDestination

func (this *QCameraCaptureDestinationControl) CaptureDestination() int

Returns the current capture destination. The default destination is QCameraImageCapture::CaptureToFile.

See also setCaptureDestination().

func (*QCameraCaptureDestinationControl) CaptureDestinationChanged

func (this *QCameraCaptureDestinationControl) CaptureDestinationChanged(destination int)

Signals the image capture destination changed.

func (*QCameraCaptureDestinationControl) GetCthis

func (*QCameraCaptureDestinationControl) IsCaptureDestinationSupported

func (this *QCameraCaptureDestinationControl) IsCaptureDestinationSupported(destination int) bool

Returns true if the capture destination is supported; and false if it is not.

func (*QCameraCaptureDestinationControl) MetaObject

func (*QCameraCaptureDestinationControl) NewForInherit

Constructs a new image capture destination control object with the given parent

func (*QCameraCaptureDestinationControl) NewForInheritp

Constructs a new image capture destination control object with the given parent

func (*QCameraCaptureDestinationControl) NewFromPointer

func (*QCameraCaptureDestinationControl) QCameraCaptureDestinationControl_PTR

func (ptr *QCameraCaptureDestinationControl) QCameraCaptureDestinationControl_PTR() *QCameraCaptureDestinationControl

func (*QCameraCaptureDestinationControl) SetCaptureDestination

func (this *QCameraCaptureDestinationControl) SetCaptureDestination(destination int)

Sets the capture destination.

See also captureDestination().

func (*QCameraCaptureDestinationControl) SetCthis

func (this *QCameraCaptureDestinationControl) SetCthis(cthis unsafe.Pointer)

type QCameraCaptureDestinationControl_ITF

type QCameraCaptureDestinationControl_ITF interface {
	QMediaControl_ITF
	QCameraCaptureDestinationControl_PTR() *QCameraCaptureDestinationControl
}

type QCameraControl

type QCameraControl struct {
	*QMediaControl
}

func NewQCameraControl

func NewQCameraControl(parent qtcore.QObject_ITF) *QCameraControl

func NewQCameraControlFromPointer

func NewQCameraControlFromPointer(cthis unsafe.Pointer) *QCameraControl

func NewQCameraControlp

func NewQCameraControlp() *QCameraControl

func (*QCameraControl) CanChangeProperty

func (this *QCameraControl) CanChangeProperty(changeType int, status int) bool

Returns true if backend can effectively apply changing camera properties of changeType type while the camera state is QCamera::Active and camera status matches status parameter.

If backend doesn't support applying this change in the active state, it will be stopped before the settings are changed and restarted after. Otherwise the backend should apply the change in the current state, with the camera status indicating the progress, if necessary.

func (*QCameraControl) CaptureMode

func (this *QCameraControl) CaptureMode() int

Returns the current capture mode.

See also setCaptureMode().

func (*QCameraControl) CaptureModeChanged

func (this *QCameraControl) CaptureModeChanged(mode int)

Signal emitted when the camera capture mode changes.

func (*QCameraControl) Error

func (this *QCameraControl) Error(error int, errorString string)

Signal emitted when an error occurs with error code error and a description of the error errorString.

func (*QCameraControl) GetCthis

func (this *QCameraControl) GetCthis() unsafe.Pointer

func (*QCameraControl) IsCaptureModeSupported

func (this *QCameraControl) IsCaptureModeSupported(mode int) bool

Returns true if the capture mode is suported.

func (*QCameraControl) MetaObject

func (this *QCameraControl) MetaObject() *qtcore.QMetaObject

func (*QCameraControl) NewForInherit

func (*QCameraControl) NewForInherit(parent qtcore.QObject_ITF) *QCameraControl

Constructs a camera control object with parent.

func (*QCameraControl) NewForInheritp

func (*QCameraControl) NewForInheritp() *QCameraControl

Constructs a camera control object with parent.

func (*QCameraControl) NewFromPointer

func (*QCameraControl) NewFromPointer(cthis unsafe.Pointer) *QCameraControl

func (*QCameraControl) PropertyChangeTypeItemName

func (this *QCameraControl) PropertyChangeTypeItemName(val int) string

func (*QCameraControl) QCameraControl_PTR

func (ptr *QCameraControl) QCameraControl_PTR() *QCameraControl

func (*QCameraControl) SetCaptureMode

func (this *QCameraControl) SetCaptureMode(arg0 int)

Sets the current capture mode.

The capture mode changes are synchronous and allowed in any camera state.

If the capture mode is changed while camera is active, it's recommended to change status to QCamera::LoadedStatus and start activating the camera in the next event loop with the status changed to QCamera::StartingStatus. This allows the capture settings to be applied before camera is started. Than change the status to QCamera::StartedStatus when the capture mode change is done.

See also captureMode().

func (*QCameraControl) SetCthis

func (this *QCameraControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraControl) SetState

func (this *QCameraControl) SetState(state int)

Sets the camera state.

State changes are synchronous and indicate user intention, while camera status is used as a feedback mechanism to inform application about backend status. Status changes are reported asynchronously with QCameraControl::statusChanged() signal.

See also state() and QCamera::State.

func (*QCameraControl) State

func (this *QCameraControl) State() int

Returns the state of the camera service.

See also setState() and QCamera::state.

func (*QCameraControl) StateChanged

func (this *QCameraControl) StateChanged(arg0 int)

Signal emitted when the camera state changes.

In most cases the state chage is caused by QCameraControl::setState(), but if critical error has occurred the state changes to QCamera::UnloadedState.

func (*QCameraControl) Status

func (this *QCameraControl) Status() int

Returns the status of the camera service.

See also QCamera::state.

func (*QCameraControl) StatusChanged

func (this *QCameraControl) StatusChanged(arg0 int)

Signal emitted when the camera status changes.

type QCameraControl_ITF

type QCameraControl_ITF interface {
	QMediaControl_ITF
	QCameraControl_PTR() *QCameraControl
}

type QCameraControl__PropertyChangeType

type QCameraControl__PropertyChangeType = int
const QCameraControl__CaptureMode QCameraControl__PropertyChangeType = 1

Indicates the capture mode is changed.

const QCameraControl__ImageEncodingSettings QCameraControl__PropertyChangeType = 2

Image encoder settings are changed, including resolution.

const QCameraControl__VideoEncodingSettings QCameraControl__PropertyChangeType = 3

Video encoder settings are changed, including audio, video and container settings.

const QCameraControl__Viewfinder QCameraControl__PropertyChangeType = 4

Viewfinder is changed.

const QCameraControl__ViewfinderSettings QCameraControl__PropertyChangeType = 5

Viewfinder settings are changed.

type QCameraExposure

type QCameraExposure struct {
	*qtcore.QObject
}

func NewQCameraExposureFromPointer

func NewQCameraExposureFromPointer(cthis unsafe.Pointer) *QCameraExposure

func (*QCameraExposure) Aperture

func (this *QCameraExposure) Aperture() float64

func (*QCameraExposure) ApertureChanged

func (this *QCameraExposure) ApertureChanged(arg0 float64)

Signal emitted when aperature changes to value.

Note: Notifier signal for property aperture.

func (*QCameraExposure) ApertureRangeChanged

func (this *QCameraExposure) ApertureRangeChanged()

Signal emitted when aperature range has changed.

func (*QCameraExposure) ExposureCompensation

func (this *QCameraExposure) ExposureCompensation() float64

func (*QCameraExposure) ExposureCompensationChanged

func (this *QCameraExposure) ExposureCompensationChanged(arg0 float64)

Signal emitted when the exposure compensation changes to value.

Note: Notifier signal for property exposureCompensation.

func (*QCameraExposure) ExposureMode

func (this *QCameraExposure) ExposureMode() int

func (*QCameraExposure) ExposureModeItemName

func (this *QCameraExposure) ExposureModeItemName(val int) string

func (*QCameraExposure) FlashMode

func (this *QCameraExposure) FlashMode() int

func (*QCameraExposure) FlashModeItemName

func (this *QCameraExposure) FlashModeItemName(val int) string

func (*QCameraExposure) FlashReady

func (this *QCameraExposure) FlashReady(arg0 bool)

Signal the flash ready status has changed.

Note: Notifier signal for property flashReady.

func (*QCameraExposure) GetCthis

func (this *QCameraExposure) GetCthis() unsafe.Pointer

func (*QCameraExposure) IsAvailable

func (this *QCameraExposure) IsAvailable() bool

Returns true if exposure settings are supported by this camera.

func (*QCameraExposure) IsExposureModeSupported

func (this *QCameraExposure) IsExposureModeSupported(mode int) bool

Returns true if the exposure mode is supported.

func (*QCameraExposure) IsFlashModeSupported

func (this *QCameraExposure) IsFlashModeSupported(mode int) bool

Returns true if the flash mode is supported.

func (*QCameraExposure) IsFlashReady

func (this *QCameraExposure) IsFlashReady() bool

Returns true if flash is charged.

Note: Getter function for property flashReady.

func (*QCameraExposure) IsMeteringModeSupported

func (this *QCameraExposure) IsMeteringModeSupported(mode int) bool

Returns true if the metering mode is supported.

func (*QCameraExposure) IsoSensitivity

func (this *QCameraExposure) IsoSensitivity() int

func (*QCameraExposure) IsoSensitivityChanged

func (this *QCameraExposure) IsoSensitivityChanged(arg0 int)

Signal emitted when sensitivity changes to value.

Note: Notifier signal for property isoSensitivity.

func (*QCameraExposure) MetaObject

func (this *QCameraExposure) MetaObject() *qtcore.QMetaObject

func (*QCameraExposure) MeteringMode

func (this *QCameraExposure) MeteringMode() int

func (*QCameraExposure) MeteringModeItemName

func (this *QCameraExposure) MeteringModeItemName(val int) string

func (*QCameraExposure) NewFromPointer

func (*QCameraExposure) NewFromPointer(cthis unsafe.Pointer) *QCameraExposure

func (*QCameraExposure) QCameraExposure_PTR

func (ptr *QCameraExposure) QCameraExposure_PTR() *QCameraExposure

func (*QCameraExposure) RequestedAperture

func (this *QCameraExposure) RequestedAperture() float64

Returns the requested manual aperture or -1.0 if automatic aperture is turned on.

func (*QCameraExposure) RequestedIsoSensitivity

func (this *QCameraExposure) RequestedIsoSensitivity() int

Returns the requested ISO sensitivity or -1 if automatic ISO is turned on.

func (*QCameraExposure) RequestedShutterSpeed

func (this *QCameraExposure) RequestedShutterSpeed() float64

Returns the requested manual shutter speed in seconds or -1.0 if automatic shutter speed is turned on.

func (*QCameraExposure) SetAutoAperture

func (this *QCameraExposure) SetAutoAperture()

Turn on auto aperture

func (*QCameraExposure) SetAutoIsoSensitivity

func (this *QCameraExposure) SetAutoIsoSensitivity()

Turn on auto sensitivity

func (*QCameraExposure) SetAutoShutterSpeed

func (this *QCameraExposure) SetAutoShutterSpeed()

Turn on auto shutter speed

func (*QCameraExposure) SetCthis

func (this *QCameraExposure) SetCthis(cthis unsafe.Pointer)

func (*QCameraExposure) SetExposureCompensation

func (this *QCameraExposure) SetExposureCompensation(ev float64)

func (*QCameraExposure) SetExposureMode

func (this *QCameraExposure) SetExposureMode(mode int)

func (*QCameraExposure) SetFlashMode

func (this *QCameraExposure) SetFlashMode(mode int)

func (*QCameraExposure) SetManualAperture

func (this *QCameraExposure) SetManualAperture(aperture float64)

Sets the manual camera aperture value.

func (*QCameraExposure) SetManualIsoSensitivity

func (this *QCameraExposure) SetManualIsoSensitivity(iso int)

Sets the manual sensitivity to iso

func (*QCameraExposure) SetManualShutterSpeed

func (this *QCameraExposure) SetManualShutterSpeed(seconds float64)

Set the manual shutter speed to seconds

func (*QCameraExposure) SetMeteringMode

func (this *QCameraExposure) SetMeteringMode(mode int)

func (*QCameraExposure) SetSpotMeteringPoint

func (this *QCameraExposure) SetSpotMeteringPoint(point qtcore.QPointF_ITF)

Allows setting the spot metering point to point.

See also spotMeteringPoint().

func (*QCameraExposure) ShutterSpeed

func (this *QCameraExposure) ShutterSpeed() float64

Returns the current shutter speed in seconds.

Note: Getter function for property shutterSpeed.

func (*QCameraExposure) ShutterSpeedChanged

func (this *QCameraExposure) ShutterSpeedChanged(speed float64)

Signals that a camera's shutter speed has changed.

Note: Notifier signal for property shutterSpeed.

func (*QCameraExposure) ShutterSpeedRangeChanged

func (this *QCameraExposure) ShutterSpeedRangeChanged()

Signal emitted when the shutter speed range has changed.

func (*QCameraExposure) SpotMeteringPoint

func (this *QCameraExposure) SpotMeteringPoint() *qtcore.QPointF

When supported, the spot metering point is the (normalized) position of the point of the image where exposure metering will be performed. This is typically used to indicate an "interesting" area of the image that should be exposed properly.

The coordinates are relative frame coordinates: QPointF(0,0) points to the left top frame point, QPointF(0.5,0.5) points to the frame center, which is typically the default spot metering point.

The spot metering point is only used with spot metering mode.

See also setSpotMeteringPoint().

type QCameraExposureControl

type QCameraExposureControl struct {
	*QMediaControl
}

func NewQCameraExposureControl

func NewQCameraExposureControl(parent qtcore.QObject_ITF) *QCameraExposureControl

func NewQCameraExposureControlFromPointer

func NewQCameraExposureControlFromPointer(cthis unsafe.Pointer) *QCameraExposureControl

func NewQCameraExposureControlp

func NewQCameraExposureControlp() *QCameraExposureControl

func (*QCameraExposureControl) ActualValue

func (this *QCameraExposureControl) ActualValue(parameter int) *qtcore.QVariant

Returns the actual exposure parameter value, or invalid QVariant() if the value is unknown or not supported.

The actual parameter value may differ for the requested one if automatic mode is selected or camera supports only limited set of values within the supported range.

This function was introduced in Qt 5.0.

func (*QCameraExposureControl) ActualValueChanged

func (this *QCameraExposureControl) ActualValueChanged(parameter int)

Signal emitted when the actual exposure parameter value has changed, usually in result of auto exposure algorithms or manual exposure parameter applied.

This function was introduced in Qt 5.0.

func (*QCameraExposureControl) ExposureParameterItemName

func (this *QCameraExposureControl) ExposureParameterItemName(val int) string

func (*QCameraExposureControl) GetCthis

func (this *QCameraExposureControl) GetCthis() unsafe.Pointer

func (*QCameraExposureControl) IsParameterSupported

func (this *QCameraExposureControl) IsParameterSupported(parameter int) bool

Returns true is exposure parameter is supported by backend.

This function was introduced in Qt 5.0.

func (*QCameraExposureControl) MetaObject

func (this *QCameraExposureControl) MetaObject() *qtcore.QMetaObject

func (*QCameraExposureControl) NewForInherit

Constructs a camera exposure control object with parent.

func (*QCameraExposureControl) NewForInheritp

Constructs a camera exposure control object with parent.

func (*QCameraExposureControl) NewFromPointer

func (*QCameraExposureControl) ParameterRangeChanged

func (this *QCameraExposureControl) ParameterRangeChanged(parameter int)

Signal emitted when the supported range of exposure parameter values has changed.

This function was introduced in Qt 5.0.

func (*QCameraExposureControl) QCameraExposureControl_PTR

func (ptr *QCameraExposureControl) QCameraExposureControl_PTR() *QCameraExposureControl

func (*QCameraExposureControl) RequestedValue

func (this *QCameraExposureControl) RequestedValue(parameter int) *qtcore.QVariant

Returns the requested exposure parameter value.

This function was introduced in Qt 5.0.

func (*QCameraExposureControl) RequestedValueChanged

func (this *QCameraExposureControl) RequestedValueChanged(parameter int)

Signal emitted when the requested exposure parameter value has changed, usually in result of setValue() call.

This function was introduced in Qt 5.0.

func (*QCameraExposureControl) SetCthis

func (this *QCameraExposureControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraExposureControl) SetValue

func (this *QCameraExposureControl) SetValue(parameter int, value qtcore.QVariant_ITF) bool

Set the exposure parameter to value. If a null or invalid QVariant is passed, backend should choose the value automatically, and if possible report the actual value to user with QCameraExposureControl::actualValue().

Returns true if parameter is supported and value is correct.

This function was introduced in Qt 5.0.

func (*QCameraExposureControl) SupportedParameterRange

func (this *QCameraExposureControl) SupportedParameterRange(parameter int, continuous *bool) *qtcore.QVariantList

Returns the list of supported parameter values;

If the camera supports arbitrary exposure parameter value within the supported range, *continuous is set to true, otherwise *continuous is set to false.

This function was introduced in Qt 5.0.

type QCameraExposureControl_ITF

type QCameraExposureControl_ITF interface {
	QMediaControl_ITF
	QCameraExposureControl_PTR() *QCameraExposureControl
}

type QCameraExposureControl__ExposureParameter

type QCameraExposureControl__ExposureParameter = int

This value is only used in the manual flash mode.

This value is only used in the torch flash mode.

const QCameraExposureControl__Aperture QCameraExposureControl__ExposureParameter = 1

Lens aperture is specified as an qreal F number. The supported apertures list can change depending on the focal length, in such a case the exposureParameterRangeChanged() signal is emitted.

const QCameraExposureControl__ExposureCompensation QCameraExposureControl__ExposureParameter = 3

Exposure compensation, specified as qreal EV value.

const QCameraExposureControl__ExposureMode QCameraExposureControl__ExposureParameter = 8

Camera exposure mode.

const QCameraExposureControl__ExtendedExposureParameter QCameraExposureControl__ExposureParameter = 1000
const QCameraExposureControl__FlashCompensation QCameraExposureControl__ExposureParameter = 5

Flash compensation, specified as qreal EV value.

const QCameraExposureControl__FlashPower QCameraExposureControl__ExposureParameter = 4
const QCameraExposureControl__ISO QCameraExposureControl__ExposureParameter = 0

Camera ISO sensitivity, specified as integer value.

const QCameraExposureControl__MeteringMode QCameraExposureControl__ExposureParameter = 9

Camera metering mode.

const QCameraExposureControl__ShutterSpeed QCameraExposureControl__ExposureParameter = 2

Shutter speed in seconds, specified as qreal.

const QCameraExposureControl__SpotMeteringPoint QCameraExposureControl__ExposureParameter = 7

The relative frame coordinate of the point to use for exposure metering in spot metering mode, specified as a QPointF.

const QCameraExposureControl__TorchPower QCameraExposureControl__ExposureParameter = 6

type QCameraExposure_ITF

type QCameraExposure_ITF interface {
	qtcore.QObject_ITF
	QCameraExposure_PTR() *QCameraExposure
}

type QCameraExposure__ExposureMode

type QCameraExposure__ExposureMode = int
const QCameraExposure__ExposureAction QCameraExposure__ExposureMode = 11
const QCameraExposure__ExposureAuto QCameraExposure__ExposureMode = 0

Automatic mode.

const QCameraExposure__ExposureBacklight QCameraExposure__ExposureMode = 4

Backlight exposure mode.

const QCameraExposure__ExposureBarcode QCameraExposure__ExposureMode = 20
const QCameraExposure__ExposureBeach QCameraExposure__ExposureMode = 8

Beach exposure mode.

const QCameraExposure__ExposureCandlelight QCameraExposure__ExposureMode = 19
const QCameraExposure__ExposureFireworks QCameraExposure__ExposureMode = 17
const QCameraExposure__ExposureLandscape QCameraExposure__ExposureMode = 12
const QCameraExposure__ExposureLargeAperture QCameraExposure__ExposureMode = 9

Use larger aperture with small depth of field.

const QCameraExposure__ExposureManual QCameraExposure__ExposureMode = 1

Manual mode.

const QCameraExposure__ExposureModeVendor QCameraExposure__ExposureMode = 1000
const QCameraExposure__ExposureNight QCameraExposure__ExposureMode = 3

Night mode.

const QCameraExposure__ExposureNightPortrait QCameraExposure__ExposureMode = 13
const QCameraExposure__ExposureParty QCameraExposure__ExposureMode = 18
const QCameraExposure__ExposurePortrait QCameraExposure__ExposureMode = 2

Portrait exposure mode.

const QCameraExposure__ExposureSmallAperture QCameraExposure__ExposureMode = 10
const QCameraExposure__ExposureSnow QCameraExposure__ExposureMode = 7

Snow exposure mode.

const QCameraExposure__ExposureSports QCameraExposure__ExposureMode = 6

Spots exposure mode.

const QCameraExposure__ExposureSpotlight QCameraExposure__ExposureMode = 5

Spotlight exposure mode.

const QCameraExposure__ExposureSteadyPhoto QCameraExposure__ExposureMode = 16
const QCameraExposure__ExposureSunset QCameraExposure__ExposureMode = 15
const QCameraExposure__ExposureTheatre QCameraExposure__ExposureMode = 14

type QCameraExposure__FlashMode

type QCameraExposure__FlashMode = int
const QCameraExposure__FlashAuto QCameraExposure__FlashMode = 1
const QCameraExposure__FlashFill QCameraExposure__FlashMode = 16
const QCameraExposure__FlashManual QCameraExposure__FlashMode = 512
const QCameraExposure__FlashOff QCameraExposure__FlashMode = 2
const QCameraExposure__FlashOn QCameraExposure__FlashMode = 4
const QCameraExposure__FlashRedEyeReduction QCameraExposure__FlashMode = 8
const QCameraExposure__FlashSlowSyncFrontCurtain QCameraExposure__FlashMode = 128
const QCameraExposure__FlashSlowSyncRearCurtain QCameraExposure__FlashMode = 256
const QCameraExposure__FlashTorch QCameraExposure__FlashMode = 32
const QCameraExposure__FlashVideoLight QCameraExposure__FlashMode = 64

type QCameraExposure__MeteringMode

type QCameraExposure__MeteringMode = int
const QCameraExposure__MeteringAverage QCameraExposure__MeteringMode = 2

Center weighted average metering mode.

const QCameraExposure__MeteringMatrix QCameraExposure__MeteringMode = 1

Matrix metering mode.

const QCameraExposure__MeteringSpot QCameraExposure__MeteringMode = 3

Spot metering mode.

type QCameraFeedbackControl

type QCameraFeedbackControl struct {
	*QMediaControl
}

func NewQCameraFeedbackControl

func NewQCameraFeedbackControl(parent qtcore.QObject_ITF) *QCameraFeedbackControl

func NewQCameraFeedbackControlFromPointer

func NewQCameraFeedbackControlFromPointer(cthis unsafe.Pointer) *QCameraFeedbackControl

func NewQCameraFeedbackControlp

func NewQCameraFeedbackControlp() *QCameraFeedbackControl

func (*QCameraFeedbackControl) EventTypeItemName

func (this *QCameraFeedbackControl) EventTypeItemName(val int) string

func (*QCameraFeedbackControl) GetCthis

func (this *QCameraFeedbackControl) GetCthis() unsafe.Pointer

func (*QCameraFeedbackControl) IsEventFeedbackEnabled

func (this *QCameraFeedbackControl) IsEventFeedbackEnabled(arg0 int) bool

Returns true if the feedback for event is enabled.

This function was introduced in Qt 5.0.

func (*QCameraFeedbackControl) IsEventFeedbackLocked

func (this *QCameraFeedbackControl) IsEventFeedbackLocked(arg0 int) bool

Returns true if the feedback setting for event is locked. This may be true because of legal compliance issues, or because configurability of this event's feedback is not supported.

This function was introduced in Qt 5.0.

func (*QCameraFeedbackControl) MetaObject

func (this *QCameraFeedbackControl) MetaObject() *qtcore.QMetaObject

func (*QCameraFeedbackControl) NewForInherit

Constructs a camera feedback control object with parent.

func (*QCameraFeedbackControl) NewForInheritp

Constructs a camera feedback control object with parent.

func (*QCameraFeedbackControl) NewFromPointer

func (*QCameraFeedbackControl) QCameraFeedbackControl_PTR

func (ptr *QCameraFeedbackControl) QCameraFeedbackControl_PTR() *QCameraFeedbackControl

func (*QCameraFeedbackControl) ResetEventFeedback

func (this *QCameraFeedbackControl) ResetEventFeedback(arg0 int)

Restores the feedback setting for this event to its default setting.

This function was introduced in Qt 5.0.

func (*QCameraFeedbackControl) SetCthis

func (this *QCameraFeedbackControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraFeedbackControl) SetEventFeedbackEnabled

func (this *QCameraFeedbackControl) SetEventFeedbackEnabled(arg0 int, arg1 bool) bool

Turns on feedback for the specific event if enabled is true, otherwise disables the feedback. Returns true if the feedback could be modified, or false otherwise (e.g. this feedback type is locked).

This function was introduced in Qt 5.0.

See also isEventFeedbackEnabled().

func (*QCameraFeedbackControl) SetEventFeedbackSound

func (this *QCameraFeedbackControl) SetEventFeedbackSound(arg0 int, filePath string) bool

When the given event occurs, the sound effect referenced by filePath will be played instead of the default sound.

If this feedback type is locked, or if the supplied path is inaccessible, this function will return false. In addition, some forms of feedback may be non-auditory (e.g. a red light, or a vibration), and false may be returned in this case.

The file referenced should be linear PCM (WAV format).

Note: In the case that a valid file path to an unsupported file is given, this function will return true but the feedback will use the original setting.

This function was introduced in Qt 5.0.

type QCameraFeedbackControl_ITF

type QCameraFeedbackControl_ITF interface {
	QMediaControl_ITF
	QCameraFeedbackControl_PTR() *QCameraFeedbackControl
}

type QCameraFeedbackControl__EventType

type QCameraFeedbackControl__EventType = int

This enumeration describes certain events that occur during camera usage. You can associate some form of feedback to be given when the event occurs, or check whether feedback for this event is enabled or locked so that changes cannot be made.

const QCameraFeedbackControl__AutoFocusFailed QCameraFeedbackControl__EventType = 11
const QCameraFeedbackControl__AutoFocusInProgress QCameraFeedbackControl__EventType = 9

The camera is trying to automatically focus

const QCameraFeedbackControl__AutoFocusLocked QCameraFeedbackControl__EventType = 10
const QCameraFeedbackControl__ImageCaptured QCameraFeedbackControl__EventType = 3

An image was captured but not yet fully processed

const QCameraFeedbackControl__ImageError QCameraFeedbackControl__EventType = 5

An error occurred while capturing an image

const QCameraFeedbackControl__ImageSaved QCameraFeedbackControl__EventType = 4

An image is fully available and saved somewhere.

const QCameraFeedbackControl__RecordingInProgress QCameraFeedbackControl__EventType = 7

Video recording is in progress

const QCameraFeedbackControl__RecordingStarted QCameraFeedbackControl__EventType = 6

Video recording has started

const QCameraFeedbackControl__RecordingStopped QCameraFeedbackControl__EventType = 8

Video recording has stopped

const QCameraFeedbackControl__ViewfinderStarted QCameraFeedbackControl__EventType = 1

The viewfinder stream was started (even if not visible)

const QCameraFeedbackControl__ViewfinderStopped QCameraFeedbackControl__EventType = 2

The viewfinder stream was stopped

type QCameraFlashControl

type QCameraFlashControl struct {
	*QMediaControl
}

func NewQCameraFlashControl

func NewQCameraFlashControl(parent qtcore.QObject_ITF) *QCameraFlashControl

func NewQCameraFlashControlFromPointer

func NewQCameraFlashControlFromPointer(cthis unsafe.Pointer) *QCameraFlashControl

func NewQCameraFlashControlp

func NewQCameraFlashControlp() *QCameraFlashControl

func (*QCameraFlashControl) FlashMode

func (this *QCameraFlashControl) FlashMode() int

Returns the current flash mode.

See also setFlashMode().

func (*QCameraFlashControl) FlashReady

func (this *QCameraFlashControl) FlashReady(arg0 bool)

Signal emitted when flash state changes to ready.

func (*QCameraFlashControl) GetCthis

func (this *QCameraFlashControl) GetCthis() unsafe.Pointer

func (*QCameraFlashControl) IsFlashModeSupported

func (this *QCameraFlashControl) IsFlashModeSupported(mode int) bool

Return true if the reqested flash mode is supported. Some QCameraExposure::FlashMode values can be combined, for example QCameraExposure::FlashManual | QCameraExposure::FlashSlowSyncRearCurtain

func (*QCameraFlashControl) IsFlashReady

func (this *QCameraFlashControl) IsFlashReady() bool

Returns true if flash is charged.

func (*QCameraFlashControl) MetaObject

func (this *QCameraFlashControl) MetaObject() *qtcore.QMetaObject

func (*QCameraFlashControl) NewForInherit

Constructs a camera flash control object with parent.

func (*QCameraFlashControl) NewForInheritp

func (*QCameraFlashControl) NewForInheritp() *QCameraFlashControl

Constructs a camera flash control object with parent.

func (*QCameraFlashControl) NewFromPointer

func (*QCameraFlashControl) NewFromPointer(cthis unsafe.Pointer) *QCameraFlashControl

func (*QCameraFlashControl) QCameraFlashControl_PTR

func (ptr *QCameraFlashControl) QCameraFlashControl_PTR() *QCameraFlashControl

func (*QCameraFlashControl) SetCthis

func (this *QCameraFlashControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraFlashControl) SetFlashMode

func (this *QCameraFlashControl) SetFlashMode(mode int)

Set the current flash mode.

Usually a single QCameraExposure::FlashMode flag is used, but some non conflicting flags combination are also allowed, like QCameraExposure::FlashManual | QCameraExposure::FlashSlowSyncRearCurtain.

See also flashMode().

type QCameraFlashControl_ITF

type QCameraFlashControl_ITF interface {
	QMediaControl_ITF
	QCameraFlashControl_PTR() *QCameraFlashControl
}

type QCameraFocus

type QCameraFocus struct {
	*qtcore.QObject
}

func NewQCameraFocusFromPointer

func NewQCameraFocusFromPointer(cthis unsafe.Pointer) *QCameraFocus

func (*QCameraFocus) CustomFocusPoint

func (this *QCameraFocus) CustomFocusPoint() *qtcore.QPointF

func (*QCameraFocus) DigitalZoom

func (this *QCameraFocus) DigitalZoom() float64

func (*QCameraFocus) DigitalZoomChanged

func (this *QCameraFocus) DigitalZoomChanged(arg0 float64)

Signal emitted when digital zoom value changes to new value.

Note: Notifier signal for property digitalZoom.

func (*QCameraFocus) FocusMode

func (this *QCameraFocus) FocusMode() int

func (*QCameraFocus) FocusModeItemName

func (this *QCameraFocus) FocusModeItemName(val int) string

func (*QCameraFocus) FocusPointMode

func (this *QCameraFocus) FocusPointMode() int

func (*QCameraFocus) FocusPointModeItemName

func (this *QCameraFocus) FocusPointModeItemName(val int) string

func (*QCameraFocus) FocusZones

func (this *QCameraFocus) FocusZones() *QCameraFocusZoneList

func (*QCameraFocus) FocusZonesChanged

func (this *QCameraFocus) FocusZonesChanged()

This signal is emitted when the set of zones used in autofocusing is changed.

This can change when a zone is focused or loses focus, or new focus zones have been detected.

Note: Notifier signal for property focusZones.

func (*QCameraFocus) GetCthis

func (this *QCameraFocus) GetCthis() unsafe.Pointer

func (*QCameraFocus) IsAvailable

func (this *QCameraFocus) IsAvailable() bool

Returns true if focus related settings are supported by this camera.

You may need to also check if any specific features are supported.

func (*QCameraFocus) IsFocusModeSupported

func (this *QCameraFocus) IsFocusModeSupported(mode int) bool

Returns true if the focus mode is supported by camera.

func (*QCameraFocus) IsFocusPointModeSupported

func (this *QCameraFocus) IsFocusPointModeSupported(arg0 int) bool

Returns true if focus point mode is supported.

func (*QCameraFocus) MaximumDigitalZoom

func (this *QCameraFocus) MaximumDigitalZoom() float64

Returns the maximum digital zoom

This will be 1.0 on cameras that do not support digital zoom.

func (*QCameraFocus) MaximumDigitalZoomChanged

func (this *QCameraFocus) MaximumDigitalZoomChanged(arg0 float64)

Signal emitted when the maximum supported digital zoom value changed.

The maximum supported zoom value can depend on other camera settings, like capture mode or resolution.

func (*QCameraFocus) MaximumOpticalZoom

func (this *QCameraFocus) MaximumOpticalZoom() float64

Returns the maximum optical zoom.

This will be 1.0 on cameras that do not support optical zoom.

func (*QCameraFocus) MaximumOpticalZoomChanged

func (this *QCameraFocus) MaximumOpticalZoomChanged(arg0 float64)

Signal emitted when the maximum supported optical zoom value changed.

func (*QCameraFocus) MetaObject

func (this *QCameraFocus) MetaObject() *qtcore.QMetaObject

func (*QCameraFocus) NewFromPointer

func (*QCameraFocus) NewFromPointer(cthis unsafe.Pointer) *QCameraFocus

func (*QCameraFocus) OpticalZoom

func (this *QCameraFocus) OpticalZoom() float64

func (*QCameraFocus) OpticalZoomChanged

func (this *QCameraFocus) OpticalZoomChanged(arg0 float64)

Signal emitted when optical zoom value changes to new value.

Note: Notifier signal for property opticalZoom.

func (*QCameraFocus) QCameraFocus_PTR

func (ptr *QCameraFocus) QCameraFocus_PTR() *QCameraFocus

func (*QCameraFocus) SetCthis

func (this *QCameraFocus) SetCthis(cthis unsafe.Pointer)

func (*QCameraFocus) SetCustomFocusPoint

func (this *QCameraFocus) SetCustomFocusPoint(point qtcore.QPointF_ITF)

func (*QCameraFocus) SetFocusMode

func (this *QCameraFocus) SetFocusMode(mode int)

func (*QCameraFocus) SetFocusPointMode

func (this *QCameraFocus) SetFocusPointMode(mode int)

func (*QCameraFocus) ZoomTo

func (this *QCameraFocus) ZoomTo(opticalZoom float64, digitalZoom float64)

Set the camera optical and digital zoom values.

Since there may be a physical component to move, the change in zoom value may not be instantaneous.

type QCameraFocusControl

type QCameraFocusControl struct {
	*QMediaControl
}

func NewQCameraFocusControl

func NewQCameraFocusControl(parent qtcore.QObject_ITF) *QCameraFocusControl

func NewQCameraFocusControlFromPointer

func NewQCameraFocusControlFromPointer(cthis unsafe.Pointer) *QCameraFocusControl

func NewQCameraFocusControlp

func NewQCameraFocusControlp() *QCameraFocusControl

func (*QCameraFocusControl) CustomFocusPoint

func (this *QCameraFocusControl) CustomFocusPoint() *qtcore.QPointF

Return the position of custom focus point, in relative frame coordinates: QPointF(0,0) points to the left top frame point, QPointF(0.5,0.5) points to the frame center.

Custom focus point is used only in FocusPointCustom focus mode.

See also setCustomFocusPoint().

func (*QCameraFocusControl) CustomFocusPointChanged

func (this *QCameraFocusControl) CustomFocusPointChanged(point qtcore.QPointF_ITF)

Signal is emitted when the custom focus point is changed.

See also QCameraFocusControl::customFocusPoint() and QCameraFocusControl::setCustomFocusPoint().

func (*QCameraFocusControl) FocusMode

func (this *QCameraFocusControl) FocusMode() int

Returns the focus mode being used.

See also setFocusMode().

func (*QCameraFocusControl) FocusModeChanged

func (this *QCameraFocusControl) FocusModeChanged(mode int)

Signal is emitted when the focus mode is changed, usually in result of QCameraFocusControl::setFocusMode call or capture mode changes.

See also QCameraFocusControl::focusMode() and QCameraFocusControl::setFocusMode().

func (*QCameraFocusControl) FocusPointMode

func (this *QCameraFocusControl) FocusPointMode() int

Returns the camera focus point selection mode.

See also setFocusPointMode().

func (*QCameraFocusControl) FocusPointModeChanged

func (this *QCameraFocusControl) FocusPointModeChanged(mode int)

Signal is emitted when the focus point mode is changed, usually in result of QCameraFocusControl::setFocusPointMode call or capture mode changes.

See also QCameraFocusControl::focusPointMode() and QCameraFocusControl::setFocusPointMode().

func (*QCameraFocusControl) FocusZones

func (this *QCameraFocusControl) FocusZones() *QCameraFocusZoneList

Returns the list of zones, the camera is using for focusing or focused on.

func (*QCameraFocusControl) FocusZonesChanged

func (this *QCameraFocusControl) FocusZonesChanged()

Signal is emitted when the set of zones, camera focused on is changed.

Usually the zones list is changed when the camera is focused.

See also QCameraFocusControl::focusZones().

func (*QCameraFocusControl) GetCthis

func (this *QCameraFocusControl) GetCthis() unsafe.Pointer

func (*QCameraFocusControl) IsFocusModeSupported

func (this *QCameraFocusControl) IsFocusModeSupported(mode int) bool

Returns true if focus mode is supported.

func (*QCameraFocusControl) IsFocusPointModeSupported

func (this *QCameraFocusControl) IsFocusPointModeSupported(mode int) bool

Returns true if the camera focus point mode is supported.

func (*QCameraFocusControl) MetaObject

func (this *QCameraFocusControl) MetaObject() *qtcore.QMetaObject

func (*QCameraFocusControl) NewForInherit

Constructs a camera control object with parent.

func (*QCameraFocusControl) NewForInheritp

func (*QCameraFocusControl) NewForInheritp() *QCameraFocusControl

Constructs a camera control object with parent.

func (*QCameraFocusControl) NewFromPointer

func (*QCameraFocusControl) NewFromPointer(cthis unsafe.Pointer) *QCameraFocusControl

func (*QCameraFocusControl) QCameraFocusControl_PTR

func (ptr *QCameraFocusControl) QCameraFocusControl_PTR() *QCameraFocusControl

func (*QCameraFocusControl) SetCthis

func (this *QCameraFocusControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraFocusControl) SetCustomFocusPoint

func (this *QCameraFocusControl) SetCustomFocusPoint(point qtcore.QPointF_ITF)

Sets the custom focus point.

If camera supports fixed set of focus points, it should use the nearest supported focus point, and return the actual focus point with QCameraFocusControl::focusZones().

See also QCameraFocusControl::customFocusPoint() and QCameraFocusControl::focusZones().

func (*QCameraFocusControl) SetFocusMode

func (this *QCameraFocusControl) SetFocusMode(mode int)

Set the focus mode to mode.

See also focusMode().

func (*QCameraFocusControl) SetFocusPointMode

func (this *QCameraFocusControl) SetFocusPointMode(mode int)

Sets the camera focus point selection mode.

See also focusPointMode().

type QCameraFocusControl_ITF

type QCameraFocusControl_ITF interface {
	QMediaControl_ITF
	QCameraFocusControl_PTR() *QCameraFocusControl
}

type QCameraFocusZone

type QCameraFocusZone struct {
	*qtrt.CObject
}

func NewQCameraFocusZone

func NewQCameraFocusZone() *QCameraFocusZone

func NewQCameraFocusZone1

func NewQCameraFocusZone1(area qtcore.QRectF_ITF, status int) *QCameraFocusZone

func NewQCameraFocusZone1p

func NewQCameraFocusZone1p(area qtcore.QRectF_ITF) *QCameraFocusZone

func NewQCameraFocusZoneFromPointer

func NewQCameraFocusZoneFromPointer(cthis unsafe.Pointer) *QCameraFocusZone

func (*QCameraFocusZone) Area

func (this *QCameraFocusZone) Area() *qtcore.QRectF

func (*QCameraFocusZone) FocusZoneStatusItemName

func (this *QCameraFocusZone) FocusZoneStatusItemName(val int) string

func (*QCameraFocusZone) GetCthis

func (this *QCameraFocusZone) GetCthis() unsafe.Pointer

func (*QCameraFocusZone) IsValid

func (this *QCameraFocusZone) IsValid() bool

func (*QCameraFocusZone) NewForInherit

func (*QCameraFocusZone) NewForInherit() *QCameraFocusZone

func (*QCameraFocusZone) NewForInherit1

func (*QCameraFocusZone) NewForInherit1(area qtcore.QRectF_ITF, status int) *QCameraFocusZone

func (*QCameraFocusZone) NewForInherit1p

func (*QCameraFocusZone) NewForInherit1p(area qtcore.QRectF_ITF) *QCameraFocusZone

func (*QCameraFocusZone) NewFromPointer

func (*QCameraFocusZone) NewFromPointer(cthis unsafe.Pointer) *QCameraFocusZone

func (*QCameraFocusZone) Operator_equal

func (this *QCameraFocusZone) Operator_equal(other QCameraFocusZone_ITF) *QCameraFocusZone

func (*QCameraFocusZone) Operator_equal_equal

func (this *QCameraFocusZone) Operator_equal_equal(other QCameraFocusZone_ITF) bool

func (*QCameraFocusZone) Operator_not_equal

func (this *QCameraFocusZone) Operator_not_equal(other QCameraFocusZone_ITF) bool

func (*QCameraFocusZone) QCameraFocusZone_PTR

func (ptr *QCameraFocusZone) QCameraFocusZone_PTR() *QCameraFocusZone

func (*QCameraFocusZone) SetCthis

func (this *QCameraFocusZone) SetCthis(cthis unsafe.Pointer)

func (*QCameraFocusZone) SetStatus

func (this *QCameraFocusZone) SetStatus(status int)

func (*QCameraFocusZone) Status

func (this *QCameraFocusZone) Status() int

type QCameraFocusZoneList

type QCameraFocusZoneList struct {
	*qtrt.CObject
}

body block begin

func NewQCameraFocusZoneListFromPointer

func NewQCameraFocusZoneListFromPointer(cthis unsafe.Pointer) *QCameraFocusZoneList

func (*QCameraFocusZoneList) Append0

func (this *QCameraFocusZoneList) Append0()

void append(const T &)

func (*QCameraFocusZoneList) Append1

func (this *QCameraFocusZoneList) Append1()

void append(const QList<T> &)

func (*QCameraFocusZoneList) At0

const T & at(int)

func (*QCameraFocusZoneList) Back0

func (this *QCameraFocusZoneList) Back0() *QCameraFocusZone

T & back()

func (*QCameraFocusZoneList) Back1

func (this *QCameraFocusZoneList) Back1() *QCameraFocusZone

const T & back()

func (*QCameraFocusZoneList) Begin0

func (this *QCameraFocusZoneList) Begin0()

QList::iterator begin()

func (*QCameraFocusZoneList) Begin1

func (this *QCameraFocusZoneList) Begin1()

QList::const_iterator begin()

func (*QCameraFocusZoneList) Cbegin0

func (this *QCameraFocusZoneList) Cbegin0()

QList::const_iterator cbegin()

func (*QCameraFocusZoneList) Cend0

func (this *QCameraFocusZoneList) Cend0()

QList::const_iterator cend()

func (*QCameraFocusZoneList) Clear0

func (this *QCameraFocusZoneList) Clear0()

void clear()

func (*QCameraFocusZoneList) ConstBegin0

func (this *QCameraFocusZoneList) ConstBegin0()

QList::const_iterator constBegin()

func (*QCameraFocusZoneList) ConstEnd0

func (this *QCameraFocusZoneList) ConstEnd0()

QList::const_iterator constEnd()

func (*QCameraFocusZoneList) ConstFirst0

func (this *QCameraFocusZoneList) ConstFirst0() *QCameraFocusZone

const T & constFirst()

func (*QCameraFocusZoneList) ConstLast0

func (this *QCameraFocusZoneList) ConstLast0() *QCameraFocusZone

const T & constLast()

func (*QCameraFocusZoneList) Contains0

func (this *QCameraFocusZoneList) Contains0() bool

bool contains(const T &)

func (*QCameraFocusZoneList) Contains_impl0

func (this *QCameraFocusZoneList) Contains_impl0() bool

bool contains_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QCameraFocusZoneList) Contains_impl1

func (this *QCameraFocusZoneList) Contains_impl1() bool

bool contains_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QCameraFocusZoneList) Count0

func (this *QCameraFocusZoneList) Count0() int

int count(const T &)

func (*QCameraFocusZoneList) Count1

func (this *QCameraFocusZoneList) Count1() int

int count()

func (*QCameraFocusZoneList) Count_impl0

func (this *QCameraFocusZoneList) Count_impl0() int

int count_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QCameraFocusZoneList) Count_impl1

func (this *QCameraFocusZoneList) Count_impl1() int

int count_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QCameraFocusZoneList) Crbegin0

func (this *QCameraFocusZoneList) Crbegin0()

QList::const_reverse_iterator crbegin()

func (*QCameraFocusZoneList) Crend0

func (this *QCameraFocusZoneList) Crend0()

QList::const_reverse_iterator crend()

func (*QCameraFocusZoneList) Dealloc0

func (this *QCameraFocusZoneList) Dealloc0()

void dealloc(QListData::Data *)

func (*QCameraFocusZoneList) Detach0

func (this *QCameraFocusZoneList) Detach0()

void detach()

func (*QCameraFocusZoneList) DetachShared0

func (this *QCameraFocusZoneList) DetachShared0()

void detachShared()

func (*QCameraFocusZoneList) Detach_helper0

func (this *QCameraFocusZoneList) Detach_helper0()

void detach_helper(int)

func (*QCameraFocusZoneList) Detach_helper1

func (this *QCameraFocusZoneList) Detach_helper1()

void detach_helper()

func (*QCameraFocusZoneList) Detach_helper_grow0

func (this *QCameraFocusZoneList) Detach_helper_grow0()

QList::Node * detach_helper_grow(int, int)

func (*QCameraFocusZoneList) Empty0

func (this *QCameraFocusZoneList) Empty0() bool

bool empty()

func (*QCameraFocusZoneList) End0

func (this *QCameraFocusZoneList) End0()

QList::iterator end()

func (*QCameraFocusZoneList) End1

func (this *QCameraFocusZoneList) End1()

QList::const_iterator end()

func (*QCameraFocusZoneList) EndsWith0

func (this *QCameraFocusZoneList) EndsWith0() bool

bool endsWith(const T &)

func (*QCameraFocusZoneList) Erase0

func (this *QCameraFocusZoneList) Erase0()

QList::iterator erase(QList::iterator)

func (*QCameraFocusZoneList) Erase1

func (this *QCameraFocusZoneList) Erase1()

QList::iterator erase(QList::iterator, QList::iterator)

func (*QCameraFocusZoneList) First0

func (this *QCameraFocusZoneList) First0() *QCameraFocusZone

T & first()

func (*QCameraFocusZoneList) First1

func (this *QCameraFocusZoneList) First1() *QCameraFocusZone

const T & first()

func (*QCameraFocusZoneList) FromSet0

func (this *QCameraFocusZoneList) FromSet0() *QCameraFocusZoneList

QList<T> fromSet(const QSet<T> &)

func (*QCameraFocusZoneList) FromStdList0

func (this *QCameraFocusZoneList) FromStdList0() *QCameraFocusZoneList

QList<T> fromStdList(const std::list<T> &)

func (*QCameraFocusZoneList) FromVector0

func (this *QCameraFocusZoneList) FromVector0() *QCameraFocusZoneList

QList<T> fromVector(const QVector<T> &)

func (*QCameraFocusZoneList) Front0

func (this *QCameraFocusZoneList) Front0() *QCameraFocusZone

T & front()

func (*QCameraFocusZoneList) Front1

func (this *QCameraFocusZoneList) Front1() *QCameraFocusZone

const T & front()

func (*QCameraFocusZoneList) IndexOf0

func (this *QCameraFocusZoneList) IndexOf0() int

int indexOf(const T &, int)

func (*QCameraFocusZoneList) Insert0

func (this *QCameraFocusZoneList) Insert0()

void insert(int, const T &)

func (*QCameraFocusZoneList) Insert1

func (this *QCameraFocusZoneList) Insert1()

QList::iterator insert(QList::iterator, const T &)

func (*QCameraFocusZoneList) IsDetached0

func (this *QCameraFocusZoneList) IsDetached0() bool

bool isDetached()

func (*QCameraFocusZoneList) IsEmpty0

func (this *QCameraFocusZoneList) IsEmpty0() bool

bool isEmpty()

func (*QCameraFocusZoneList) IsSharedWith0

func (this *QCameraFocusZoneList) IsSharedWith0() bool

bool isSharedWith(const QList<T> &)

func (*QCameraFocusZoneList) IsValidIterator0

func (this *QCameraFocusZoneList) IsValidIterator0() bool

bool isValidIterator(const QList::iterator &)

func (*QCameraFocusZoneList) Last0

func (this *QCameraFocusZoneList) Last0() *QCameraFocusZone

T & last()

func (*QCameraFocusZoneList) Last1

func (this *QCameraFocusZoneList) Last1() *QCameraFocusZone

const T & last()

func (*QCameraFocusZoneList) LastIndexOf0

func (this *QCameraFocusZoneList) LastIndexOf0() int

int lastIndexOf(const T &, int)

func (*QCameraFocusZoneList) Length0

func (this *QCameraFocusZoneList) Length0() int

int length()

func (*QCameraFocusZoneList) Mid0

QList<T> mid(int, int)

func (*QCameraFocusZoneList) Move0

func (this *QCameraFocusZoneList) Move0()

void move(int, int)

func (*QCameraFocusZoneList) Node_construct0

func (this *QCameraFocusZoneList) Node_construct0()

void node_construct(QList::Node *, const T &)

func (*QCameraFocusZoneList) Node_copy0

func (this *QCameraFocusZoneList) Node_copy0()

void node_copy(QList::Node *, QList::Node *, QList::Node *)

func (*QCameraFocusZoneList) Node_destruct0

func (this *QCameraFocusZoneList) Node_destruct0()

void node_destruct(QList::Node *)

func (*QCameraFocusZoneList) Node_destruct1

func (this *QCameraFocusZoneList) Node_destruct1()

void node_destruct(QList::Node *, QList::Node *)

func (*QCameraFocusZoneList) Op_eq_impl0

func (this *QCameraFocusZoneList) Op_eq_impl0() bool

bool op_eq_impl(const QList<T> &, QListData::NotArrayCompatibleLayout)

func (*QCameraFocusZoneList) Op_eq_impl1

func (this *QCameraFocusZoneList) Op_eq_impl1() bool

bool op_eq_impl(const QList<T> &, QListData::ArrayCompatibleLayout)

func (*QCameraFocusZoneList) Operator_add0

func (this *QCameraFocusZoneList) Operator_add0() *QCameraFocusZoneList

QList<T> operator+(const QList<T> &)

func (*QCameraFocusZoneList) Operator_add_equal0

func (this *QCameraFocusZoneList) Operator_add_equal0() *QCameraFocusZoneList

QList<T> & operator+=(const QList<T> &)

func (*QCameraFocusZoneList) Operator_add_equal1

func (this *QCameraFocusZoneList) Operator_add_equal1() *QCameraFocusZoneList

QList<T> & operator+=(const T &)

func (*QCameraFocusZoneList) Operator_equal0

func (this *QCameraFocusZoneList) Operator_equal0() *QCameraFocusZoneList

QList<T> & operator=(const QList<T> &)

func (*QCameraFocusZoneList) Operator_equal1

func (this *QCameraFocusZoneList) Operator_equal1() *QCameraFocusZoneList

QList<T> & operator=(QList<T> &&)

func (*QCameraFocusZoneList) Operator_equal_equal0

func (this *QCameraFocusZoneList) Operator_equal_equal0() bool

bool operator==(const QList<T> &)

func (*QCameraFocusZoneList) Operator_get_index0

func (this *QCameraFocusZoneList) Operator_get_index0() *QCameraFocusZone

const T & operator[](int)

func (*QCameraFocusZoneList) Operator_get_index1

func (this *QCameraFocusZoneList) Operator_get_index1() *QCameraFocusZone

T & operator[](int)

func (*QCameraFocusZoneList) Operator_left_shift0

func (this *QCameraFocusZoneList) Operator_left_shift0() *QCameraFocusZoneList

QList<T> & operator<<(const T &)

func (*QCameraFocusZoneList) Operator_left_shift1

func (this *QCameraFocusZoneList) Operator_left_shift1() *QCameraFocusZoneList

QList<T> & operator<<(const QList<T> &)

func (*QCameraFocusZoneList) Operator_not_equal0

func (this *QCameraFocusZoneList) Operator_not_equal0() bool

bool operator!=(const QList<T> &)

func (*QCameraFocusZoneList) Pop_back0

func (this *QCameraFocusZoneList) Pop_back0()

void pop_back()

func (*QCameraFocusZoneList) Pop_front0

func (this *QCameraFocusZoneList) Pop_front0()

void pop_front()

func (*QCameraFocusZoneList) Prepend0

func (this *QCameraFocusZoneList) Prepend0()

void prepend(const T &)

func (*QCameraFocusZoneList) Push_back0

func (this *QCameraFocusZoneList) Push_back0()

void push_back(const T &)

func (*QCameraFocusZoneList) Push_front0

func (this *QCameraFocusZoneList) Push_front0()

void push_front(const T &)

func (*QCameraFocusZoneList) Rbegin0

func (this *QCameraFocusZoneList) Rbegin0()

QList::reverse_iterator rbegin()

func (*QCameraFocusZoneList) Rbegin1

func (this *QCameraFocusZoneList) Rbegin1()

QList::const_reverse_iterator rbegin()

func (*QCameraFocusZoneList) RemoveAll0

func (this *QCameraFocusZoneList) RemoveAll0() int

int removeAll(const T &)

func (*QCameraFocusZoneList) RemoveAt0

func (this *QCameraFocusZoneList) RemoveAt0()

void removeAt(int)

func (*QCameraFocusZoneList) RemoveFirst0

func (this *QCameraFocusZoneList) RemoveFirst0()

void removeFirst()

func (*QCameraFocusZoneList) RemoveLast0

func (this *QCameraFocusZoneList) RemoveLast0()

void removeLast()

func (*QCameraFocusZoneList) RemoveOne0

func (this *QCameraFocusZoneList) RemoveOne0() bool

bool removeOne(const T &)

func (*QCameraFocusZoneList) Rend0

func (this *QCameraFocusZoneList) Rend0()

QList::reverse_iterator rend()

func (*QCameraFocusZoneList) Rend1

func (this *QCameraFocusZoneList) Rend1()

QList::const_reverse_iterator rend()

func (*QCameraFocusZoneList) Replace0

func (this *QCameraFocusZoneList) Replace0()

void replace(int, const T &)

func (*QCameraFocusZoneList) Reserve0

func (this *QCameraFocusZoneList) Reserve0()

void reserve(int)

func (*QCameraFocusZoneList) SetSharable0

func (this *QCameraFocusZoneList) SetSharable0()

void setSharable(bool)

func (*QCameraFocusZoneList) Size0

func (this *QCameraFocusZoneList) Size0() int

int size()

func (*QCameraFocusZoneList) StartsWith0

func (this *QCameraFocusZoneList) StartsWith0() bool

bool startsWith(const T &)

func (*QCameraFocusZoneList) Swap0

func (this *QCameraFocusZoneList) Swap0()

void swap(QList<T> &)

func (*QCameraFocusZoneList) Swap1

func (this *QCameraFocusZoneList) Swap1()

void swap(int, int)

func (*QCameraFocusZoneList) TakeAt0

func (this *QCameraFocusZoneList) TakeAt0() *QCameraFocusZone

T takeAt(int)

func (*QCameraFocusZoneList) TakeFirst0

func (this *QCameraFocusZoneList) TakeFirst0() *QCameraFocusZone

T takeFirst()

func (*QCameraFocusZoneList) TakeLast0

func (this *QCameraFocusZoneList) TakeLast0() *QCameraFocusZone

T takeLast()

func (*QCameraFocusZoneList) ToSet0

func (this *QCameraFocusZoneList) ToSet0()

QSet<T> toSet()

func (*QCameraFocusZoneList) ToStdList0

func (this *QCameraFocusZoneList) ToStdList0()

std::list<T> toStdList()

func (*QCameraFocusZoneList) ToVector0

func (this *QCameraFocusZoneList) ToVector0()

QVector<T> toVector()

func (*QCameraFocusZoneList) Value0

func (this *QCameraFocusZoneList) Value0() *QCameraFocusZone

T value(int)

func (*QCameraFocusZoneList) Value1

func (this *QCameraFocusZoneList) Value1() *QCameraFocusZone

T value(int, const T &)

type QCameraFocusZoneListx

type QCameraFocusZoneListx struct {
	*qtrt.CObject
}

///

func NewQCameraFocusZoneListxFromPointer

func NewQCameraFocusZoneListxFromPointer(cthis unsafe.Pointer) *QCameraFocusZoneListx

func (*QCameraFocusZoneListx) At

func (*QCameraFocusZoneListx) ConvertFromSlice

func (*QCameraFocusZoneListx) ConvertToSlice

func (this *QCameraFocusZoneListx) ConvertToSlice() (lst []*QCameraFocusZone)

func (*QCameraFocusZoneListx) Count

func (this *QCameraFocusZoneListx) Count(s string) int

func (*QCameraFocusZoneListx) Count_1

func (this *QCameraFocusZoneListx) Count_1() int

func (*QCameraFocusZoneListx) GetCthis

func (this *QCameraFocusZoneListx) GetCthis() unsafe.Pointer

func (*QCameraFocusZoneListx) NewFromPointer

func (*QCameraFocusZoneListx) Release

func (this *QCameraFocusZoneListx) Release()

func (*QCameraFocusZoneListx) SetCthis

func (this *QCameraFocusZoneListx) SetCthis(cthis unsafe.Pointer)

func (*QCameraFocusZoneListx) Size

func (this *QCameraFocusZoneListx) Size() int

type QCameraFocusZone_ITF

type QCameraFocusZone_ITF interface {
	QCameraFocusZone_PTR() *QCameraFocusZone
}

type QCameraFocusZone__FocusZoneStatus

type QCameraFocusZone__FocusZoneStatus = int
const QCameraFocusZone__Focused QCameraFocusZone__FocusZoneStatus = 3
const QCameraFocusZone__Invalid QCameraFocusZone__FocusZoneStatus = 0
const QCameraFocusZone__Selected QCameraFocusZone__FocusZoneStatus = 2
const QCameraFocusZone__Unused QCameraFocusZone__FocusZoneStatus = 1

type QCameraFocus_ITF

type QCameraFocus_ITF interface {
	qtcore.QObject_ITF
	QCameraFocus_PTR() *QCameraFocus
}

type QCameraFocus__FocusMode

type QCameraFocus__FocusMode = int
const QCameraFocus__AutoFocus QCameraFocus__FocusMode = 8
const QCameraFocus__ContinuousFocus QCameraFocus__FocusMode = 16
const QCameraFocus__HyperfocalFocus QCameraFocus__FocusMode = 2
const QCameraFocus__InfinityFocus QCameraFocus__FocusMode = 4
const QCameraFocus__MacroFocus QCameraFocus__FocusMode = 32
const QCameraFocus__ManualFocus QCameraFocus__FocusMode = 1

type QCameraFocus__FocusPointMode

type QCameraFocus__FocusPointMode = int
const QCameraFocus__FocusPointAuto QCameraFocus__FocusPointMode = 0

Automatically select one or multiple focus points.

const QCameraFocus__FocusPointCenter QCameraFocus__FocusPointMode = 1

Focus to the frame center.

const QCameraFocus__FocusPointCustom QCameraFocus__FocusPointMode = 3

Focus to the custom point, defined by QCameraFocus::customFocusPoint property.

const QCameraFocus__FocusPointFaceDetection QCameraFocus__FocusPointMode = 2

Focus on faces in the frame.

type QCameraImageCapture

type QCameraImageCapture struct {
	*qtcore.QObject
	*QMediaBindableInterface
}

func NewQCameraImageCapture

func NewQCameraImageCapture(mediaObject QMediaObject_ITF, parent qtcore.QObject_ITF) *QCameraImageCapture

func NewQCameraImageCaptureFromPointer

func NewQCameraImageCaptureFromPointer(cthis unsafe.Pointer) *QCameraImageCapture

func NewQCameraImageCapturep

func NewQCameraImageCapturep(mediaObject QMediaObject_ITF) *QCameraImageCapture

func (*QCameraImageCapture) Availability

func (this *QCameraImageCapture) Availability() int

Returns the availability of this functionality.

func (*QCameraImageCapture) BufferFormat

func (this *QCameraImageCapture) BufferFormat() int

Returns the buffer image capture format being used.

See also supportedBufferFormats() and setBufferFormat().

func (*QCameraImageCapture) BufferFormatChanged

func (this *QCameraImageCapture) BufferFormatChanged(format int)

Signal emitted when the buffer format for the buffer image capture has changed.

func (*QCameraImageCapture) CancelCapture

func (this *QCameraImageCapture) CancelCapture()

Cancel incomplete capture requests. Already captured and queused for proicessing images may be discarded.

func (*QCameraImageCapture) Capture

func (this *QCameraImageCapture) Capture(location string) int

Capture the image and save it to file. This operation is asynchronous in majority of cases, followed by signals QCameraImageCapture::imageExposed(), QCameraImageCapture::imageCaptured(), QCameraImageCapture::imageSaved() or QCameraImageCapture::error().

If an empty file is passed, the camera backend choses the default location and naming scheme for photos on the system, if only file name without full path is specified, the image will be saved to the default directory, with a full path reported with imageCaptured() and imageSaved() signals.

QCamera saves all the capture parameters like exposure settings or image processing parameters, so changes to camera parameters after capture() is called do not affect previous capture requests.

QCameraImageCapture::capture returns the capture Id parameter, used with imageExposed(), imageCaptured() and imageSaved() signals.

See also isReadyForCapture().

func (*QCameraImageCapture) CaptureDestination

func (this *QCameraImageCapture) CaptureDestination() int

Returns the image capture destination being used.

See also isCaptureDestinationSupported() and setCaptureDestination().

func (*QCameraImageCapture) CaptureDestinationChanged

func (this *QCameraImageCapture) CaptureDestinationChanged(destination int)

Signal emitted when the capture destination has changed.

func (*QCameraImageCapture) CaptureDestinationItemName

func (this *QCameraImageCapture) CaptureDestinationItemName(val int) string

func (*QCameraImageCapture) Capturep

func (this *QCameraImageCapture) Capturep() int

Capture the image and save it to file. This operation is asynchronous in majority of cases, followed by signals QCameraImageCapture::imageExposed(), QCameraImageCapture::imageCaptured(), QCameraImageCapture::imageSaved() or QCameraImageCapture::error().

If an empty file is passed, the camera backend choses the default location and naming scheme for photos on the system, if only file name without full path is specified, the image will be saved to the default directory, with a full path reported with imageCaptured() and imageSaved() signals.

QCamera saves all the capture parameters like exposure settings or image processing parameters, so changes to camera parameters after capture() is called do not affect previous capture requests.

QCameraImageCapture::capture returns the capture Id parameter, used with imageExposed(), imageCaptured() and imageSaved() signals.

See also isReadyForCapture().

func (*QCameraImageCapture) DriveModeItemName

func (this *QCameraImageCapture) DriveModeItemName(val int) string

func (*QCameraImageCapture) EncodingSettings

func (this *QCameraImageCapture) EncodingSettings() *QImageEncoderSettings

Returns the image encoder settings being used.

See also setEncodingSettings().

func (*QCameraImageCapture) Error

func (this *QCameraImageCapture) Error() int

Returns the current error state.

See also errorString().

func (*QCameraImageCapture) Error1

func (this *QCameraImageCapture) Error1(id int, error int, errorString string)

Returns the current error state.

See also errorString().

func (*QCameraImageCapture) ErrorItemName

func (this *QCameraImageCapture) ErrorItemName(val int) string

func (*QCameraImageCapture) ErrorString

func (this *QCameraImageCapture) ErrorString() string

Returns a string describing the current error state.

See also error().

func (*QCameraImageCapture) GetCthis

func (this *QCameraImageCapture) GetCthis() unsafe.Pointer

func (*QCameraImageCapture) ImageAvailable

func (this *QCameraImageCapture) ImageAvailable(id int, frame QVideoFrame_ITF)

Signal emitted when the frame with request id is available.

func (*QCameraImageCapture) ImageCaptured

func (this *QCameraImageCapture) ImageCaptured(id int, preview qtgui.QImage_ITF)

Signal emitted when the frame with request id was captured, but not processed and saved yet. Frame preview can be displayed to user.

func (*QCameraImageCapture) ImageCodecDescription

func (this *QCameraImageCapture) ImageCodecDescription(codecName string) string

Returns a description of an image codec.

func (*QCameraImageCapture) ImageExposed

func (this *QCameraImageCapture) ImageExposed(id int)

Signal emitted when the frame with request id was exposed.

func (*QCameraImageCapture) ImageMetadataAvailable

func (this *QCameraImageCapture) ImageMetadataAvailable(id int, key string, value qtcore.QVariant_ITF)

Signals that a metadata for an image with request id is available. Also includes the key and value of the metadata.

This signal is emitted between imageExposed and imageSaved signals.

func (*QCameraImageCapture) ImageSaved

func (this *QCameraImageCapture) ImageSaved(id int, fileName string)

Signal emitted when the frame with request id was saved to fileName.

func (*QCameraImageCapture) InheritSetMediaObject

func (this *QCameraImageCapture) InheritSetMediaObject(f func(arg0 *QMediaObject) bool)

bool setMediaObject(QMediaObject *)

func (*QCameraImageCapture) IsAvailable

func (this *QCameraImageCapture) IsAvailable() bool

Returns true if the images capture service ready to use.

func (*QCameraImageCapture) IsCaptureDestinationSupported

func (this *QCameraImageCapture) IsCaptureDestinationSupported(destination int) bool

Returns true if the image capture destination is supported; otherwise returns false.

See also captureDestination() and setCaptureDestination().

func (*QCameraImageCapture) IsReadyForCapture

func (this *QCameraImageCapture) IsReadyForCapture() bool

func (*QCameraImageCapture) MediaObject

func (this *QCameraImageCapture) MediaObject() *QMediaObject

Reimplemented from QMediaBindableInterface::mediaObject().

See also setMediaObject().

func (*QCameraImageCapture) MetaObject

func (this *QCameraImageCapture) MetaObject() *qtcore.QMetaObject

func (*QCameraImageCapture) NewForInherit

func (*QCameraImageCapture) NewForInherit(mediaObject QMediaObject_ITF, parent qtcore.QObject_ITF) *QCameraImageCapture

Constructs a media recorder which records the media produced by mediaObject.

The parent is passed to QMediaObject.

func (*QCameraImageCapture) NewForInheritp

func (*QCameraImageCapture) NewForInheritp(mediaObject QMediaObject_ITF) *QCameraImageCapture

Constructs a media recorder which records the media produced by mediaObject.

The parent is passed to QMediaObject.

func (*QCameraImageCapture) NewFromPointer

func (*QCameraImageCapture) NewFromPointer(cthis unsafe.Pointer) *QCameraImageCapture

func (*QCameraImageCapture) QCameraImageCapture_PTR

func (ptr *QCameraImageCapture) QCameraImageCapture_PTR() *QCameraImageCapture

func (*QCameraImageCapture) ReadyForCaptureChanged

func (this *QCameraImageCapture) ReadyForCaptureChanged(ready bool)

Signals that a camera's ready for capture state has changed.

Note: Notifier signal for property readyForCapture.

func (*QCameraImageCapture) SetBufferFormat

func (this *QCameraImageCapture) SetBufferFormat(format int)

Sets the buffer image capture format to be used.

See also bufferFormat(), supportedBufferFormats(), and captureDestination().

func (*QCameraImageCapture) SetCaptureDestination

func (this *QCameraImageCapture) SetCaptureDestination(destination int)

Sets the capture destination to be used.

See also isCaptureDestinationSupported() and captureDestination().

func (*QCameraImageCapture) SetCthis

func (this *QCameraImageCapture) SetCthis(cthis unsafe.Pointer)

func (*QCameraImageCapture) SetEncodingSettings

func (this *QCameraImageCapture) SetEncodingSettings(settings QImageEncoderSettings_ITF)

Sets the image encoding settings.

If some parameters are not specified, or null settings are passed, the encoder choose the default encoding parameters.

See also encodingSettings().

func (*QCameraImageCapture) SetMediaObject

func (this *QCameraImageCapture) SetMediaObject(arg0 QMediaObject_ITF) bool

Reimplemented from QMediaBindableInterface::setMediaObject().

See also mediaObject().

func (*QCameraImageCapture) SupportedImageCodecs

func (this *QCameraImageCapture) SupportedImageCodecs() *qtcore.QStringList

Returns a list of supported image codecs.

func (*QCameraImageCapture) SupportedResolutions

func (this *QCameraImageCapture) SupportedResolutions(settings QImageEncoderSettings_ITF, continuous *bool) *qtcore.QSizeList

Returns a list of resolutions images can be encoded at.

If non null image settings parameter is passed, the returned list is reduced to resolution supported with partial settings like image codec or quality applied.

If the encoder supports arbitrary resolutions within the supported range, *continuous is set to true, otherwise *continuous is set to false.

See also QImageEncoderSettings::resolution().

func (*QCameraImageCapture) SupportedResolutionsp

func (this *QCameraImageCapture) SupportedResolutionsp() *qtcore.QSizeList

Returns a list of resolutions images can be encoded at.

If non null image settings parameter is passed, the returned list is reduced to resolution supported with partial settings like image codec or quality applied.

If the encoder supports arbitrary resolutions within the supported range, *continuous is set to true, otherwise *continuous is set to false.

See also QImageEncoderSettings::resolution().

func (*QCameraImageCapture) SupportedResolutionsp1

func (this *QCameraImageCapture) SupportedResolutionsp1(settings QImageEncoderSettings_ITF) *qtcore.QSizeList

Returns a list of resolutions images can be encoded at.

If non null image settings parameter is passed, the returned list is reduced to resolution supported with partial settings like image codec or quality applied.

If the encoder supports arbitrary resolutions within the supported range, *continuous is set to true, otherwise *continuous is set to false.

See also QImageEncoderSettings::resolution().

type QCameraImageCaptureControl

type QCameraImageCaptureControl struct {
	*QMediaControl
}

func NewQCameraImageCaptureControl

func NewQCameraImageCaptureControl(parent qtcore.QObject_ITF) *QCameraImageCaptureControl

func NewQCameraImageCaptureControlFromPointer

func NewQCameraImageCaptureControlFromPointer(cthis unsafe.Pointer) *QCameraImageCaptureControl

func NewQCameraImageCaptureControlp

func NewQCameraImageCaptureControlp() *QCameraImageCaptureControl

func (*QCameraImageCaptureControl) CancelCapture

func (this *QCameraImageCaptureControl) CancelCapture()

Cancel pending capture requests.

func (*QCameraImageCaptureControl) Capture

func (this *QCameraImageCaptureControl) Capture(fileName string) int

Initiates the capture of an image to fileName. The fileName can be relative or empty, in this case the service should use the system specific place and file naming scheme.

The Camera service should save all the capture parameters like exposure settings or image processing parameters, so changes to camera parameters after capture() is called do not affect previous capture requests.

Returns the capture request id number, which is used later with imageExposed(), imageCaptured() and imageSaved() signals.

func (*QCameraImageCaptureControl) DriveMode

func (this *QCameraImageCaptureControl) DriveMode() int

Returns the current camera drive mode.

See also setDriveMode().

func (*QCameraImageCaptureControl) Error

func (this *QCameraImageCaptureControl) Error(id int, error int, errorString string)

Signals the capture request id failed with error code and message errorString.

See also QCameraImageCapture::Error.

func (*QCameraImageCaptureControl) GetCthis

func (this *QCameraImageCaptureControl) GetCthis() unsafe.Pointer

func (*QCameraImageCaptureControl) ImageAvailable

func (this *QCameraImageCaptureControl) ImageAvailable(requestId int, buffer QVideoFrame_ITF)

Signals that a captured buffer with a requestId is available.

func (*QCameraImageCaptureControl) ImageCaptured

func (this *QCameraImageCaptureControl) ImageCaptured(requestId int, preview qtgui.QImage_ITF)

Signals that an image with it requestId has been captured and a preview is available.

func (*QCameraImageCaptureControl) ImageExposed

func (this *QCameraImageCaptureControl) ImageExposed(requestId int)

Signals that an image with it requestId has just been exposed. This signal can be used for the shutter sound or other indicaton.

func (*QCameraImageCaptureControl) ImageMetadataAvailable

func (this *QCameraImageCaptureControl) ImageMetadataAvailable(id int, key string, value qtcore.QVariant_ITF)

Signals that a metadata for an image with request id is available. Signal also contains the key and value of the metadata.

This signal should be emitted between imageExposed and imageSaved signals.

func (*QCameraImageCaptureControl) ImageSaved

func (this *QCameraImageCaptureControl) ImageSaved(requestId int, fileName string)

Signals that a captured image with a requestId has been saved to fileName.

func (*QCameraImageCaptureControl) IsReadyForCapture

func (this *QCameraImageCaptureControl) IsReadyForCapture() bool

Identifies if a capture control is ready to perform a capture immediately (all the resources necessary for image capture are allocated, hardware initialized, flash is charged, etc).

Returns true if the camera is ready for capture; and false if it is not.

It's permissible to call capture() while the camera status is QCamera::ActiveStatus regardless of isReadyForCapture property value. If camera is not ready to capture image immediately, the capture request is queued with all the related camera settings to be executed as soon as possible.

func (*QCameraImageCaptureControl) MetaObject

func (this *QCameraImageCaptureControl) MetaObject() *qtcore.QMetaObject

func (*QCameraImageCaptureControl) NewForInherit

Constructs a new image capture control object with the given parent

func (*QCameraImageCaptureControl) NewForInheritp

Constructs a new image capture control object with the given parent

func (*QCameraImageCaptureControl) NewFromPointer

func (*QCameraImageCaptureControl) QCameraImageCaptureControl_PTR

func (ptr *QCameraImageCaptureControl) QCameraImageCaptureControl_PTR() *QCameraImageCaptureControl

func (*QCameraImageCaptureControl) ReadyForCaptureChanged

func (this *QCameraImageCaptureControl) ReadyForCaptureChanged(ready bool)

Signals that a capture control's ready state has changed.

func (*QCameraImageCaptureControl) SetCthis

func (this *QCameraImageCaptureControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraImageCaptureControl) SetDriveMode

func (this *QCameraImageCaptureControl) SetDriveMode(mode int)

Sets the current camera drive mode.

See also driveMode().

type QCameraImageCaptureControl_ITF

type QCameraImageCaptureControl_ITF interface {
	QMediaControl_ITF
	QCameraImageCaptureControl_PTR() *QCameraImageCaptureControl
}

type QCameraImageCapture_ITF

type QCameraImageCapture_ITF interface {
	qtcore.QObject_ITF
	QMediaBindableInterface_ITF
	QCameraImageCapture_PTR() *QCameraImageCapture
}

type QCameraImageCapture__CaptureDestination

type QCameraImageCapture__CaptureDestination = int
const QCameraImageCapture__CaptureToBuffer QCameraImageCapture__CaptureDestination = 2
const QCameraImageCapture__CaptureToFile QCameraImageCapture__CaptureDestination = 1

type QCameraImageCapture__DriveMode

type QCameraImageCapture__DriveMode = int
const QCameraImageCapture__SingleImageCapture QCameraImageCapture__DriveMode = 0

Drive mode is capturing a single picture.

type QCameraImageCapture__Error

type QCameraImageCapture__Error = int
const QCameraImageCapture__FormatError QCameraImageCapture__Error = 5

Current format is not supported.

const QCameraImageCapture__NoError QCameraImageCapture__Error = 0

No Errors.

const QCameraImageCapture__NotReadyError QCameraImageCapture__Error = 1

The service is not ready for capture yet.

const QCameraImageCapture__NotSupportedFeatureError QCameraImageCapture__Error = 4

Device does not support stillimages capture.

const QCameraImageCapture__OutOfSpaceError QCameraImageCapture__Error = 3

No space left on device.

const QCameraImageCapture__ResourceError QCameraImageCapture__Error = 2

Device is not ready or not available.

type QCameraImageProcessing

type QCameraImageProcessing struct {
	*qtcore.QObject
}

func NewQCameraImageProcessingFromPointer

func NewQCameraImageProcessingFromPointer(cthis unsafe.Pointer) *QCameraImageProcessing

func (*QCameraImageProcessing) Brightness

func (this *QCameraImageProcessing) Brightness() float64

Returns the brightness adjustment setting.

See also setBrightness().

func (*QCameraImageProcessing) ColorFilter

func (this *QCameraImageProcessing) ColorFilter() int

Returns the color filter which will be applied to image data captured by the camera.

This function was introduced in Qt 5.5.

See also setColorFilter().

func (*QCameraImageProcessing) ColorFilterItemName

func (this *QCameraImageProcessing) ColorFilterItemName(val int) string

func (*QCameraImageProcessing) Contrast

func (this *QCameraImageProcessing) Contrast() float64

Returns the contrast adjustment setting.

See also setContrast().

func (*QCameraImageProcessing) DenoisingLevel

func (this *QCameraImageProcessing) DenoisingLevel() float64

Returns the denoising adjustment level.

See also setDenoisingLevel().

func (*QCameraImageProcessing) GetCthis

func (this *QCameraImageProcessing) GetCthis() unsafe.Pointer

func (*QCameraImageProcessing) IsAvailable

func (this *QCameraImageProcessing) IsAvailable() bool

Returns true if image processing related settings are supported by this camera.

func (*QCameraImageProcessing) IsColorFilterSupported

func (this *QCameraImageProcessing) IsColorFilterSupported(filter int) bool

Returns true if a color filter is supported.

This function was introduced in Qt 5.5.

func (*QCameraImageProcessing) IsWhiteBalanceModeSupported

func (this *QCameraImageProcessing) IsWhiteBalanceModeSupported(mode int) bool

Returns true if the white balance mode is supported.

func (*QCameraImageProcessing) ManualWhiteBalance

func (this *QCameraImageProcessing) ManualWhiteBalance() float64

Returns the current color temperature if the current white balance mode is WhiteBalanceManual. For other modes the return value is undefined.

See also setManualWhiteBalance().

func (*QCameraImageProcessing) MetaObject

func (this *QCameraImageProcessing) MetaObject() *qtcore.QMetaObject

func (*QCameraImageProcessing) NewFromPointer

func (*QCameraImageProcessing) QCameraImageProcessing_PTR

func (ptr *QCameraImageProcessing) QCameraImageProcessing_PTR() *QCameraImageProcessing

func (*QCameraImageProcessing) Saturation

func (this *QCameraImageProcessing) Saturation() float64

Returns the saturation adjustment value.

See also setSaturation().

func (*QCameraImageProcessing) SetBrightness

func (this *QCameraImageProcessing) SetBrightness(value float64)

Set the brightness adjustment to value.

Valid brightness adjustment values range between -1.0 and 1.0, with a default of 0.

See also brightness().

func (*QCameraImageProcessing) SetColorFilter

func (this *QCameraImageProcessing) SetColorFilter(filter int)

Sets the color filter which will be applied to image data captured by the camera.

This function was introduced in Qt 5.5.

See also colorFilter().

func (*QCameraImageProcessing) SetContrast

func (this *QCameraImageProcessing) SetContrast(value float64)

Set the contrast adjustment to value.

Valid contrast adjustment values range between -1.0 and 1.0, with a default of 0.

See also contrast().

func (*QCameraImageProcessing) SetCthis

func (this *QCameraImageProcessing) SetCthis(cthis unsafe.Pointer)

func (*QCameraImageProcessing) SetDenoisingLevel

func (this *QCameraImageProcessing) SetDenoisingLevel(value float64)

Sets the denoising adjustment level.

Valid denoising values range between -1.0 and 1.0, with a default of 0.

If the parameter value is set to 0, the amount of denoising applied is selected by camera and depends on camera capabilities and settings. Changing value in -1.0..1.0 range adjusts the amount of denoising applied within the supported range.

See also denoisingLevel().

func (*QCameraImageProcessing) SetManualWhiteBalance

func (this *QCameraImageProcessing) SetManualWhiteBalance(colorTemperature float64)

Sets manual white balance to colorTemperature. This is used when whiteBalanceMode() is set to WhiteBalanceManual. The units are Kelvin.

See also manualWhiteBalance().

func (*QCameraImageProcessing) SetSaturation

func (this *QCameraImageProcessing) SetSaturation(value float64)

Sets the saturation adjustment value to value.

Valid saturation values range between -1.0 and 1.0, with a default of 0.

See also saturation().

func (*QCameraImageProcessing) SetSharpeningLevel

func (this *QCameraImageProcessing) SetSharpeningLevel(value float64)

Sets the sharpening adjustment level.

Valid sharpening values range between -1.0 and 1.0, with a default of 0.

See also sharpeningLevel().

func (*QCameraImageProcessing) SetWhiteBalanceMode

func (this *QCameraImageProcessing) SetWhiteBalanceMode(mode int)

Sets the white balance to mode.

See also whiteBalanceMode().

func (*QCameraImageProcessing) SharpeningLevel

func (this *QCameraImageProcessing) SharpeningLevel() float64

Returns the sharpening adjustment level.

See also setSharpeningLevel().

func (*QCameraImageProcessing) WhiteBalanceMode

func (this *QCameraImageProcessing) WhiteBalanceMode() int

Returns the white balance mode being used.

See also setWhiteBalanceMode().

func (*QCameraImageProcessing) WhiteBalanceModeItemName

func (this *QCameraImageProcessing) WhiteBalanceModeItemName(val int) string

type QCameraImageProcessingControl

type QCameraImageProcessingControl struct {
	*QMediaControl
}

func NewQCameraImageProcessingControl

func NewQCameraImageProcessingControl(parent qtcore.QObject_ITF) *QCameraImageProcessingControl

func NewQCameraImageProcessingControlFromPointer

func NewQCameraImageProcessingControlFromPointer(cthis unsafe.Pointer) *QCameraImageProcessingControl

func NewQCameraImageProcessingControlp

func NewQCameraImageProcessingControlp() *QCameraImageProcessingControl

func (*QCameraImageProcessingControl) GetCthis

func (this *QCameraImageProcessingControl) GetCthis() unsafe.Pointer

func (*QCameraImageProcessingControl) IsParameterSupported

func (this *QCameraImageProcessingControl) IsParameterSupported(arg0 int) bool

Returns true if the camera supports adjusting image processing parameter.

Usually the supported setting is static, but some parameters may not be available depending on other camera settings, like presets. In such case the currently supported parameters should be returned.

func (*QCameraImageProcessingControl) IsParameterValueSupported

func (this *QCameraImageProcessingControl) IsParameterValueSupported(parameter int, value qtcore.QVariant_ITF) bool

Returns true if the camera supports setting the image processing parameter value.

It's used only for parameters with a limited set of values, like WhiteBalancePreset.

func (*QCameraImageProcessingControl) MetaObject

func (this *QCameraImageProcessingControl) MetaObject() *qtcore.QMetaObject

func (*QCameraImageProcessingControl) NewForInherit

Constructs an image processing control object with parent.

func (*QCameraImageProcessingControl) NewForInheritp

Constructs an image processing control object with parent.

func (*QCameraImageProcessingControl) NewFromPointer

func (*QCameraImageProcessingControl) Parameter

func (this *QCameraImageProcessingControl) Parameter(parameter int) *qtcore.QVariant

Returns the image processing parameter value.

See also setParameter().

func (*QCameraImageProcessingControl) ProcessingParameterItemName

func (this *QCameraImageProcessingControl) ProcessingParameterItemName(val int) string

func (*QCameraImageProcessingControl) QCameraImageProcessingControl_PTR

func (ptr *QCameraImageProcessingControl) QCameraImageProcessingControl_PTR() *QCameraImageProcessingControl

func (*QCameraImageProcessingControl) SetCthis

func (this *QCameraImageProcessingControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraImageProcessingControl) SetParameter

func (this *QCameraImageProcessingControl) SetParameter(parameter int, value qtcore.QVariant_ITF)

Sets the image processing parameter value. Passing the null or invalid QVariant value allows backend to choose the suitable parameter value.

The valid values range depends on the parameter type. For WhiteBalancePreset the value should be one of QCameraImageProcessing::WhiteBalanceMode values; for Contrast, Saturation, Brightness, Sharpening and Denoising the value should be in [0..1.0] range with invalid QVariant value indicating the default parameter value; for ContrastAdjustment, SaturationAdjustment, BrightnessAdjustment, SharpeningAdjustment and DenoisingAdjustment the value should be in [-1.0..1.0] range with default 0.

See also parameter().

type QCameraImageProcessingControl_ITF

type QCameraImageProcessingControl_ITF interface {
	QMediaControl_ITF
	QCameraImageProcessingControl_PTR() *QCameraImageProcessingControl
}

type QCameraImageProcessingControl__ProcessingParameter

type QCameraImageProcessingControl__ProcessingParameter = int
const QCameraImageProcessingControl__Brightness QCameraImageProcessingControl__ProcessingParameter = 4

Image brightness.

const QCameraImageProcessingControl__BrightnessAdjustment QCameraImageProcessingControl__ProcessingParameter = 9

Image brightness adjustment.

const QCameraImageProcessingControl__ColorFilter QCameraImageProcessingControl__ProcessingParameter = 12
const QCameraImageProcessingControl__ColorTemperature QCameraImageProcessingControl__ProcessingParameter = 1

Color temperature in K. This value is used when the manual white balance mode is selected.

const QCameraImageProcessingControl__Contrast QCameraImageProcessingControl__ProcessingParameter = 2

Image contrast.

const QCameraImageProcessingControl__ContrastAdjustment QCameraImageProcessingControl__ProcessingParameter = 7

Image contrast adjustment.

const QCameraImageProcessingControl__Denoising QCameraImageProcessingControl__ProcessingParameter = 6

Amount of denoising applied.

const QCameraImageProcessingControl__DenoisingAdjustment QCameraImageProcessingControl__ProcessingParameter = 11
const QCameraImageProcessingControl__ExtendedParameter QCameraImageProcessingControl__ProcessingParameter = 1000
const QCameraImageProcessingControl__Saturation QCameraImageProcessingControl__ProcessingParameter = 3

Image saturation.

const QCameraImageProcessingControl__SaturationAdjustment QCameraImageProcessingControl__ProcessingParameter = 8

Image saturation adjustment.

const QCameraImageProcessingControl__Sharpening QCameraImageProcessingControl__ProcessingParameter = 5

Amount of sharpening applied.

const QCameraImageProcessingControl__SharpeningAdjustment QCameraImageProcessingControl__ProcessingParameter = 10
const QCameraImageProcessingControl__WhiteBalancePreset QCameraImageProcessingControl__ProcessingParameter = 0

The white balance preset.

type QCameraImageProcessing_ITF

type QCameraImageProcessing_ITF interface {
	qtcore.QObject_ITF
	QCameraImageProcessing_PTR() *QCameraImageProcessing
}

type QCameraImageProcessing__ColorFilter

type QCameraImageProcessing__ColorFilter = int

This enum was introduced or modified in Qt 5.5.

const QCameraImageProcessing__ColorFilterAqua QCameraImageProcessing__ColorFilter = 8

An aqua filter.

const QCameraImageProcessing__ColorFilterBlackboard QCameraImageProcessing__ColorFilter = 7

A blackboard filter.

const QCameraImageProcessing__ColorFilterGrayscale QCameraImageProcessing__ColorFilter = 1

A grayscale filter.

const QCameraImageProcessing__ColorFilterNegative QCameraImageProcessing__ColorFilter = 2

A negative filter.

const QCameraImageProcessing__ColorFilterNone QCameraImageProcessing__ColorFilter = 0

No filter is applied to images.

const QCameraImageProcessing__ColorFilterPosterize QCameraImageProcessing__ColorFilter = 5

A posterize filter.

const QCameraImageProcessing__ColorFilterSepia QCameraImageProcessing__ColorFilter = 4

A sepia filter.

const QCameraImageProcessing__ColorFilterSolarize QCameraImageProcessing__ColorFilter = 3

A solarize filter.

const QCameraImageProcessing__ColorFilterVendor QCameraImageProcessing__ColorFilter = 1000
const QCameraImageProcessing__ColorFilterWhiteboard QCameraImageProcessing__ColorFilter = 6

A whiteboard filter.

type QCameraImageProcessing__WhiteBalanceMode

type QCameraImageProcessing__WhiteBalanceMode = int
const QCameraImageProcessing__WhiteBalanceAuto QCameraImageProcessing__WhiteBalanceMode = 0

Auto white balance mode.

const QCameraImageProcessing__WhiteBalanceCloudy QCameraImageProcessing__WhiteBalanceMode = 3

Cloudy white balance mode.

const QCameraImageProcessing__WhiteBalanceFlash QCameraImageProcessing__WhiteBalanceMode = 7

Flash white balance mode.

const QCameraImageProcessing__WhiteBalanceFluorescent QCameraImageProcessing__WhiteBalanceMode = 6

Fluorescent white balance mode.

const QCameraImageProcessing__WhiteBalanceManual QCameraImageProcessing__WhiteBalanceMode = 1

Manual white balance. In this mode the white balance should be set with setManualWhiteBalance()

const QCameraImageProcessing__WhiteBalanceShade QCameraImageProcessing__WhiteBalanceMode = 4

Shade white balance mode.

const QCameraImageProcessing__WhiteBalanceSunlight QCameraImageProcessing__WhiteBalanceMode = 2

Sunlight white balance mode.

const QCameraImageProcessing__WhiteBalanceSunset QCameraImageProcessing__WhiteBalanceMode = 8

Sunset white balance mode.

const QCameraImageProcessing__WhiteBalanceTungsten QCameraImageProcessing__WhiteBalanceMode = 5

Tungsten (incandescent) white balance mode.

const QCameraImageProcessing__WhiteBalanceVendor QCameraImageProcessing__WhiteBalanceMode = 1000

type QCameraInfo

type QCameraInfo struct {
	*qtrt.CObject
}

func NewQCameraInfo

func NewQCameraInfo(name qtcore.QByteArray_ITF) *QCameraInfo

func NewQCameraInfo1

func NewQCameraInfo1(camera QCamera_ITF) *QCameraInfo

func NewQCameraInfoFromPointer

func NewQCameraInfoFromPointer(cthis unsafe.Pointer) *QCameraInfo

func NewQCameraInfop

func NewQCameraInfop() *QCameraInfo

func QCameraInfo_DefaultCamera

func QCameraInfo_DefaultCamera() *QCameraInfo

func (*QCameraInfo) AvailableCameras

func (this *QCameraInfo) AvailableCameras(position int) *QCameraInfoList

Returns a list of available cameras on the system which are located at position.

If position is not specified or if the value is QCamera::UnspecifiedPosition, a list of all available cameras will be returned.

func (*QCameraInfo) AvailableCamerasp

func (this *QCameraInfo) AvailableCamerasp() *QCameraInfoList

Returns a list of available cameras on the system which are located at position.

If position is not specified or if the value is QCamera::UnspecifiedPosition, a list of all available cameras will be returned.

func (*QCameraInfo) DefaultCamera

func (this *QCameraInfo) DefaultCamera() *QCameraInfo

Returns the default camera on the system.

The returned object should be checked using isNull() before being used, in case there is no default camera or no cameras at all.

See also availableCameras().

func (*QCameraInfo) Description

func (this *QCameraInfo) Description() string

Returns the human-readable description of the camera.

func (*QCameraInfo) DeviceName

func (this *QCameraInfo) DeviceName() string

Returns the device name of the camera

This is a unique ID to identify the camera and may not be human-readable.

func (*QCameraInfo) GetCthis

func (this *QCameraInfo) GetCthis() unsafe.Pointer

func (*QCameraInfo) IsNull

func (this *QCameraInfo) IsNull() bool

Returns true if this QCameraInfo is null or invalid.

func (*QCameraInfo) NewForInherit

func (*QCameraInfo) NewForInherit(name qtcore.QByteArray_ITF) *QCameraInfo

Constructs a camera info object from a camera device name.

If no such device exists, the QCameraInfo object will be invalid and isNull() will return true.

func (*QCameraInfo) NewForInherit1

func (*QCameraInfo) NewForInherit1(camera QCamera_ITF) *QCameraInfo

Constructs a camera info object from a camera device name.

If no such device exists, the QCameraInfo object will be invalid and isNull() will return true.

func (*QCameraInfo) NewForInheritp

func (*QCameraInfo) NewForInheritp() *QCameraInfo

Constructs a camera info object from a camera device name.

If no such device exists, the QCameraInfo object will be invalid and isNull() will return true.

func (*QCameraInfo) NewFromPointer

func (*QCameraInfo) NewFromPointer(cthis unsafe.Pointer) *QCameraInfo

func (*QCameraInfo) Operator_equal

func (this *QCameraInfo) Operator_equal(other QCameraInfo_ITF) *QCameraInfo

func (*QCameraInfo) Operator_equal_equal

func (this *QCameraInfo) Operator_equal_equal(other QCameraInfo_ITF) bool

func (*QCameraInfo) Operator_not_equal

func (this *QCameraInfo) Operator_not_equal(other QCameraInfo_ITF) bool

func (*QCameraInfo) Orientation

func (this *QCameraInfo) Orientation() int

Returns the physical orientation of the camera sensor.

The value is the orientation angle (clockwise, in steps of 90 degrees) of the camera sensor in relation to the display in its natural orientation.

You can show the camera image in the correct orientation by rotating it by this value in the anti-clockwise direction.

For example, suppose a mobile device which is naturally in portrait orientation. The back-facing camera is mounted in landscape. If the top side of the camera sensor is aligned with the right edge of the screen in natural orientation, the value should be 270. If the top side of a front-facing camera sensor is aligned with the right of the screen, the value should be 90.

func (*QCameraInfo) Position

func (this *QCameraInfo) Position() int

Returns the physical position of the camera on the hardware system.

func (*QCameraInfo) QCameraInfo_PTR

func (ptr *QCameraInfo) QCameraInfo_PTR() *QCameraInfo

func (*QCameraInfo) SetCthis

func (this *QCameraInfo) SetCthis(cthis unsafe.Pointer)

type QCameraInfoControl

type QCameraInfoControl struct {
	*QMediaControl
}

func NewQCameraInfoControl

func NewQCameraInfoControl(parent qtcore.QObject_ITF) *QCameraInfoControl

func NewQCameraInfoControlFromPointer

func NewQCameraInfoControlFromPointer(cthis unsafe.Pointer) *QCameraInfoControl

func NewQCameraInfoControlp

func NewQCameraInfoControlp() *QCameraInfoControl

func (*QCameraInfoControl) CameraOrientation

func (this *QCameraInfoControl) CameraOrientation(deviceName string) int

Returns the physical orientation of the sensor for the camera named deviceName.

The value is the orientation angle (clockwise, in steps of 90 degrees) of the camera sensor in relation to the display in its natural orientation.

func (*QCameraInfoControl) CameraPosition

func (this *QCameraInfoControl) CameraPosition(deviceName string) int

Returns the physical position of the camera named deviceName on the hardware system.

func (*QCameraInfoControl) GetCthis

func (this *QCameraInfoControl) GetCthis() unsafe.Pointer

func (*QCameraInfoControl) MetaObject

func (this *QCameraInfoControl) MetaObject() *qtcore.QMetaObject

func (*QCameraInfoControl) NewForInherit

func (*QCameraInfoControl) NewForInherit(parent qtcore.QObject_ITF) *QCameraInfoControl

Constructs a camera info control with the given parent.

func (*QCameraInfoControl) NewForInheritp

func (*QCameraInfoControl) NewForInheritp() *QCameraInfoControl

Constructs a camera info control with the given parent.

func (*QCameraInfoControl) NewFromPointer

func (*QCameraInfoControl) NewFromPointer(cthis unsafe.Pointer) *QCameraInfoControl

func (*QCameraInfoControl) QCameraInfoControl_PTR

func (ptr *QCameraInfoControl) QCameraInfoControl_PTR() *QCameraInfoControl

func (*QCameraInfoControl) SetCthis

func (this *QCameraInfoControl) SetCthis(cthis unsafe.Pointer)

type QCameraInfoControl_ITF

type QCameraInfoControl_ITF interface {
	QMediaControl_ITF
	QCameraInfoControl_PTR() *QCameraInfoControl
}

type QCameraInfoList

type QCameraInfoList struct {
	*qtrt.CObject
}

body block begin

func NewQCameraInfoListFromPointer

func NewQCameraInfoListFromPointer(cthis unsafe.Pointer) *QCameraInfoList

func QCameraInfo_AvailableCameras

func QCameraInfo_AvailableCameras(position int) *QCameraInfoList

func (*QCameraInfoList) Append0

func (this *QCameraInfoList) Append0()

void append(const T &)

func (*QCameraInfoList) Append1

func (this *QCameraInfoList) Append1()

void append(const QList<T> &)

func (*QCameraInfoList) At0

func (this *QCameraInfoList) At0() *QCameraInfo

const T & at(int)

func (*QCameraInfoList) Back0

func (this *QCameraInfoList) Back0() *QCameraInfo

T & back()

func (*QCameraInfoList) Back1

func (this *QCameraInfoList) Back1() *QCameraInfo

const T & back()

func (*QCameraInfoList) Begin0

func (this *QCameraInfoList) Begin0()

QList::iterator begin()

func (*QCameraInfoList) Begin1

func (this *QCameraInfoList) Begin1()

QList::const_iterator begin()

func (*QCameraInfoList) Cbegin0

func (this *QCameraInfoList) Cbegin0()

QList::const_iterator cbegin()

func (*QCameraInfoList) Cend0

func (this *QCameraInfoList) Cend0()

QList::const_iterator cend()

func (*QCameraInfoList) Clear0

func (this *QCameraInfoList) Clear0()

void clear()

func (*QCameraInfoList) ConstBegin0

func (this *QCameraInfoList) ConstBegin0()

QList::const_iterator constBegin()

func (*QCameraInfoList) ConstEnd0

func (this *QCameraInfoList) ConstEnd0()

QList::const_iterator constEnd()

func (*QCameraInfoList) ConstFirst0

func (this *QCameraInfoList) ConstFirst0() *QCameraInfo

const T & constFirst()

func (*QCameraInfoList) ConstLast0

func (this *QCameraInfoList) ConstLast0() *QCameraInfo

const T & constLast()

func (*QCameraInfoList) Contains0

func (this *QCameraInfoList) Contains0() bool

bool contains(const T &)

func (*QCameraInfoList) Contains_impl0

func (this *QCameraInfoList) Contains_impl0() bool

bool contains_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QCameraInfoList) Contains_impl1

func (this *QCameraInfoList) Contains_impl1() bool

bool contains_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QCameraInfoList) Count0

func (this *QCameraInfoList) Count0() int

int count(const T &)

func (*QCameraInfoList) Count1

func (this *QCameraInfoList) Count1() int

int count()

func (*QCameraInfoList) Count_impl0

func (this *QCameraInfoList) Count_impl0() int

int count_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QCameraInfoList) Count_impl1

func (this *QCameraInfoList) Count_impl1() int

int count_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QCameraInfoList) Crbegin0

func (this *QCameraInfoList) Crbegin0()

QList::const_reverse_iterator crbegin()

func (*QCameraInfoList) Crend0

func (this *QCameraInfoList) Crend0()

QList::const_reverse_iterator crend()

func (*QCameraInfoList) Dealloc0

func (this *QCameraInfoList) Dealloc0()

void dealloc(QListData::Data *)

func (*QCameraInfoList) Detach0

func (this *QCameraInfoList) Detach0()

void detach()

func (*QCameraInfoList) DetachShared0

func (this *QCameraInfoList) DetachShared0()

void detachShared()

func (*QCameraInfoList) Detach_helper0

func (this *QCameraInfoList) Detach_helper0()

void detach_helper(int)

func (*QCameraInfoList) Detach_helper1

func (this *QCameraInfoList) Detach_helper1()

void detach_helper()

func (*QCameraInfoList) Detach_helper_grow0

func (this *QCameraInfoList) Detach_helper_grow0()

QList::Node * detach_helper_grow(int, int)

func (*QCameraInfoList) Empty0

func (this *QCameraInfoList) Empty0() bool

bool empty()

func (*QCameraInfoList) End0

func (this *QCameraInfoList) End0()

QList::iterator end()

func (*QCameraInfoList) End1

func (this *QCameraInfoList) End1()

QList::const_iterator end()

func (*QCameraInfoList) EndsWith0

func (this *QCameraInfoList) EndsWith0() bool

bool endsWith(const T &)

func (*QCameraInfoList) Erase0

func (this *QCameraInfoList) Erase0()

QList::iterator erase(QList::iterator)

func (*QCameraInfoList) Erase1

func (this *QCameraInfoList) Erase1()

QList::iterator erase(QList::iterator, QList::iterator)

func (*QCameraInfoList) First0

func (this *QCameraInfoList) First0() *QCameraInfo

T & first()

func (*QCameraInfoList) First1

func (this *QCameraInfoList) First1() *QCameraInfo

const T & first()

func (*QCameraInfoList) FromSet0

func (this *QCameraInfoList) FromSet0() *QCameraInfoList

QList<T> fromSet(const QSet<T> &)

func (*QCameraInfoList) FromStdList0

func (this *QCameraInfoList) FromStdList0() *QCameraInfoList

QList<T> fromStdList(const std::list<T> &)

func (*QCameraInfoList) FromVector0

func (this *QCameraInfoList) FromVector0() *QCameraInfoList

QList<T> fromVector(const QVector<T> &)

func (*QCameraInfoList) Front0

func (this *QCameraInfoList) Front0() *QCameraInfo

T & front()

func (*QCameraInfoList) Front1

func (this *QCameraInfoList) Front1() *QCameraInfo

const T & front()

func (*QCameraInfoList) IndexOf0

func (this *QCameraInfoList) IndexOf0() int

int indexOf(const T &, int)

func (*QCameraInfoList) Insert0

func (this *QCameraInfoList) Insert0()

void insert(int, const T &)

func (*QCameraInfoList) Insert1

func (this *QCameraInfoList) Insert1()

QList::iterator insert(QList::iterator, const T &)

func (*QCameraInfoList) IsDetached0

func (this *QCameraInfoList) IsDetached0() bool

bool isDetached()

func (*QCameraInfoList) IsEmpty0

func (this *QCameraInfoList) IsEmpty0() bool

bool isEmpty()

func (*QCameraInfoList) IsSharedWith0

func (this *QCameraInfoList) IsSharedWith0() bool

bool isSharedWith(const QList<T> &)

func (*QCameraInfoList) IsValidIterator0

func (this *QCameraInfoList) IsValidIterator0() bool

bool isValidIterator(const QList::iterator &)

func (*QCameraInfoList) Last0

func (this *QCameraInfoList) Last0() *QCameraInfo

T & last()

func (*QCameraInfoList) Last1

func (this *QCameraInfoList) Last1() *QCameraInfo

const T & last()

func (*QCameraInfoList) LastIndexOf0

func (this *QCameraInfoList) LastIndexOf0() int

int lastIndexOf(const T &, int)

func (*QCameraInfoList) Length0

func (this *QCameraInfoList) Length0() int

int length()

func (*QCameraInfoList) Mid0

func (this *QCameraInfoList) Mid0() *QCameraInfoList

QList<T> mid(int, int)

func (*QCameraInfoList) Move0

func (this *QCameraInfoList) Move0()

void move(int, int)

func (*QCameraInfoList) Node_construct0

func (this *QCameraInfoList) Node_construct0()

void node_construct(QList::Node *, const T &)

func (*QCameraInfoList) Node_copy0

func (this *QCameraInfoList) Node_copy0()

void node_copy(QList::Node *, QList::Node *, QList::Node *)

func (*QCameraInfoList) Node_destruct0

func (this *QCameraInfoList) Node_destruct0()

void node_destruct(QList::Node *)

func (*QCameraInfoList) Node_destruct1

func (this *QCameraInfoList) Node_destruct1()

void node_destruct(QList::Node *, QList::Node *)

func (*QCameraInfoList) Op_eq_impl0

func (this *QCameraInfoList) Op_eq_impl0() bool

bool op_eq_impl(const QList<T> &, QListData::NotArrayCompatibleLayout)

func (*QCameraInfoList) Op_eq_impl1

func (this *QCameraInfoList) Op_eq_impl1() bool

bool op_eq_impl(const QList<T> &, QListData::ArrayCompatibleLayout)

func (*QCameraInfoList) Operator_add0

func (this *QCameraInfoList) Operator_add0() *QCameraInfoList

QList<T> operator+(const QList<T> &)

func (*QCameraInfoList) Operator_add_equal0

func (this *QCameraInfoList) Operator_add_equal0() *QCameraInfoList

QList<T> & operator+=(const QList<T> &)

func (*QCameraInfoList) Operator_add_equal1

func (this *QCameraInfoList) Operator_add_equal1() *QCameraInfoList

QList<T> & operator+=(const T &)

func (*QCameraInfoList) Operator_equal0

func (this *QCameraInfoList) Operator_equal0() *QCameraInfoList

QList<T> & operator=(const QList<T> &)

func (*QCameraInfoList) Operator_equal1

func (this *QCameraInfoList) Operator_equal1() *QCameraInfoList

QList<T> & operator=(QList<T> &&)

func (*QCameraInfoList) Operator_equal_equal0

func (this *QCameraInfoList) Operator_equal_equal0() bool

bool operator==(const QList<T> &)

func (*QCameraInfoList) Operator_get_index0

func (this *QCameraInfoList) Operator_get_index0() *QCameraInfo

const T & operator[](int)

func (*QCameraInfoList) Operator_get_index1

func (this *QCameraInfoList) Operator_get_index1() *QCameraInfo

T & operator[](int)

func (*QCameraInfoList) Operator_left_shift0

func (this *QCameraInfoList) Operator_left_shift0() *QCameraInfoList

QList<T> & operator<<(const T &)

func (*QCameraInfoList) Operator_left_shift1

func (this *QCameraInfoList) Operator_left_shift1() *QCameraInfoList

QList<T> & operator<<(const QList<T> &)

func (*QCameraInfoList) Operator_not_equal0

func (this *QCameraInfoList) Operator_not_equal0() bool

bool operator!=(const QList<T> &)

func (*QCameraInfoList) Pop_back0

func (this *QCameraInfoList) Pop_back0()

void pop_back()

func (*QCameraInfoList) Pop_front0

func (this *QCameraInfoList) Pop_front0()

void pop_front()

func (*QCameraInfoList) Prepend0

func (this *QCameraInfoList) Prepend0()

void prepend(const T &)

func (*QCameraInfoList) Push_back0

func (this *QCameraInfoList) Push_back0()

void push_back(const T &)

func (*QCameraInfoList) Push_front0

func (this *QCameraInfoList) Push_front0()

void push_front(const T &)

func (*QCameraInfoList) Rbegin0

func (this *QCameraInfoList) Rbegin0()

QList::reverse_iterator rbegin()

func (*QCameraInfoList) Rbegin1

func (this *QCameraInfoList) Rbegin1()

QList::const_reverse_iterator rbegin()

func (*QCameraInfoList) RemoveAll0

func (this *QCameraInfoList) RemoveAll0() int

int removeAll(const T &)

func (*QCameraInfoList) RemoveAt0

func (this *QCameraInfoList) RemoveAt0()

void removeAt(int)

func (*QCameraInfoList) RemoveFirst0

func (this *QCameraInfoList) RemoveFirst0()

void removeFirst()

func (*QCameraInfoList) RemoveLast0

func (this *QCameraInfoList) RemoveLast0()

void removeLast()

func (*QCameraInfoList) RemoveOne0

func (this *QCameraInfoList) RemoveOne0() bool

bool removeOne(const T &)

func (*QCameraInfoList) Rend0

func (this *QCameraInfoList) Rend0()

QList::reverse_iterator rend()

func (*QCameraInfoList) Rend1

func (this *QCameraInfoList) Rend1()

QList::const_reverse_iterator rend()

func (*QCameraInfoList) Replace0

func (this *QCameraInfoList) Replace0()

void replace(int, const T &)

func (*QCameraInfoList) Reserve0

func (this *QCameraInfoList) Reserve0()

void reserve(int)

func (*QCameraInfoList) SetSharable0

func (this *QCameraInfoList) SetSharable0()

void setSharable(bool)

func (*QCameraInfoList) Size0

func (this *QCameraInfoList) Size0() int

int size()

func (*QCameraInfoList) StartsWith0

func (this *QCameraInfoList) StartsWith0() bool

bool startsWith(const T &)

func (*QCameraInfoList) Swap0

func (this *QCameraInfoList) Swap0()

void swap(QList<T> &)

func (*QCameraInfoList) Swap1

func (this *QCameraInfoList) Swap1()

void swap(int, int)

func (*QCameraInfoList) TakeAt0

func (this *QCameraInfoList) TakeAt0() *QCameraInfo

T takeAt(int)

func (*QCameraInfoList) TakeFirst0

func (this *QCameraInfoList) TakeFirst0() *QCameraInfo

T takeFirst()

func (*QCameraInfoList) TakeLast0

func (this *QCameraInfoList) TakeLast0() *QCameraInfo

T takeLast()

func (*QCameraInfoList) ToSet0

func (this *QCameraInfoList) ToSet0()

QSet<T> toSet()

func (*QCameraInfoList) ToStdList0

func (this *QCameraInfoList) ToStdList0()

std::list<T> toStdList()

func (*QCameraInfoList) ToVector0

func (this *QCameraInfoList) ToVector0()

QVector<T> toVector()

func (*QCameraInfoList) Value0

func (this *QCameraInfoList) Value0() *QCameraInfo

T value(int)

func (*QCameraInfoList) Value1

func (this *QCameraInfoList) Value1() *QCameraInfo

T value(int, const T &)

type QCameraInfoListx

type QCameraInfoListx struct {
	*qtrt.CObject
}

///

func NewQCameraInfoListxFromPointer

func NewQCameraInfoListxFromPointer(cthis unsafe.Pointer) *QCameraInfoListx

func (*QCameraInfoListx) At

func (this *QCameraInfoListx) At(i int) *QCameraInfo

func (*QCameraInfoListx) ConvertFromSlice

func (*QCameraInfoListx) ConvertFromSlice(lst []*QCameraInfo) *QCameraInfoListx

func (*QCameraInfoListx) ConvertToSlice

func (this *QCameraInfoListx) ConvertToSlice() (lst []*QCameraInfo)

func (*QCameraInfoListx) Count

func (this *QCameraInfoListx) Count(s string) int

func (*QCameraInfoListx) Count_1

func (this *QCameraInfoListx) Count_1() int

func (*QCameraInfoListx) GetCthis

func (this *QCameraInfoListx) GetCthis() unsafe.Pointer

func (*QCameraInfoListx) NewFromPointer

func (*QCameraInfoListx) NewFromPointer(cthis unsafe.Pointer) *QCameraInfoListx

func (*QCameraInfoListx) Release

func (this *QCameraInfoListx) Release()

func (*QCameraInfoListx) SetCthis

func (this *QCameraInfoListx) SetCthis(cthis unsafe.Pointer)

func (*QCameraInfoListx) Size

func (this *QCameraInfoListx) Size() int

type QCameraInfo_ITF

type QCameraInfo_ITF interface {
	QCameraInfo_PTR() *QCameraInfo
}

type QCameraLocksControl

type QCameraLocksControl struct {
	*QMediaControl
}

func NewQCameraLocksControl

func NewQCameraLocksControl(parent qtcore.QObject_ITF) *QCameraLocksControl

func NewQCameraLocksControlFromPointer

func NewQCameraLocksControlFromPointer(cthis unsafe.Pointer) *QCameraLocksControl

func NewQCameraLocksControlp

func NewQCameraLocksControlp() *QCameraLocksControl

func (*QCameraLocksControl) GetCthis

func (this *QCameraLocksControl) GetCthis() unsafe.Pointer

func (*QCameraLocksControl) LockStatus

func (this *QCameraLocksControl) LockStatus(lock int) int

Returns the camera lock status.

func (*QCameraLocksControl) LockStatusChanged

func (this *QCameraLocksControl) LockStatusChanged(type_ int, status int, reason int)

Signals the lock type status was changed with the specified reason.

func (*QCameraLocksControl) MetaObject

func (this *QCameraLocksControl) MetaObject() *qtcore.QMetaObject

func (*QCameraLocksControl) NewForInherit

Constructs a camera locks control object with parent.

func (*QCameraLocksControl) NewForInheritp

func (*QCameraLocksControl) NewForInheritp() *QCameraLocksControl

Constructs a camera locks control object with parent.

func (*QCameraLocksControl) NewFromPointer

func (*QCameraLocksControl) NewFromPointer(cthis unsafe.Pointer) *QCameraLocksControl

func (*QCameraLocksControl) QCameraLocksControl_PTR

func (ptr *QCameraLocksControl) QCameraLocksControl_PTR() *QCameraLocksControl

func (*QCameraLocksControl) SearchAndLock

func (this *QCameraLocksControl) SearchAndLock(locks int)

Request camera locks.

func (*QCameraLocksControl) SetCthis

func (this *QCameraLocksControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraLocksControl) SupportedLocks

func (this *QCameraLocksControl) SupportedLocks() int

Returns the lock types, the camera supports.

func (*QCameraLocksControl) Unlock

func (this *QCameraLocksControl) Unlock(locks int)

Unlock camera locks.

type QCameraLocksControl_ITF

type QCameraLocksControl_ITF interface {
	QMediaControl_ITF
	QCameraLocksControl_PTR() *QCameraLocksControl
}

type QCameraViewfinderSettings

type QCameraViewfinderSettings struct {
	*qtrt.CObject
}

func NewQCameraViewfinderSettings

func NewQCameraViewfinderSettings() *QCameraViewfinderSettings

func NewQCameraViewfinderSettingsFromPointer

func NewQCameraViewfinderSettingsFromPointer(cthis unsafe.Pointer) *QCameraViewfinderSettings

func (*QCameraViewfinderSettings) GetCthis

func (this *QCameraViewfinderSettings) GetCthis() unsafe.Pointer

func (*QCameraViewfinderSettings) IsNull

func (this *QCameraViewfinderSettings) IsNull() bool

Identifies if a viewfinder settings object is uninitalized.

Returns true if the settings are null, and false if they are not.

func (*QCameraViewfinderSettings) MaximumFrameRate

func (this *QCameraViewfinderSettings) MaximumFrameRate() float64

Returns the viewfinder maximum frame rate in frames per second.

See also setMaximumFrameRate() and minimumFrameRate().

func (*QCameraViewfinderSettings) MinimumFrameRate

func (this *QCameraViewfinderSettings) MinimumFrameRate() float64

Returns the viewfinder minimum frame rate in frames per second.

See also setMinimumFrameRate() and maximumFrameRate().

func (*QCameraViewfinderSettings) NewForInherit

Constructs a null viewfinder settings object.

func (*QCameraViewfinderSettings) NewFromPointer

func (*QCameraViewfinderSettings) Operator_equal

func (*QCameraViewfinderSettings) Operator_equal1

func (this *QCameraViewfinderSettings) Operator_equal1(other unsafe.Pointer) *QCameraViewfinderSettings

func (*QCameraViewfinderSettings) PixelAspectRatio

func (this *QCameraViewfinderSettings) PixelAspectRatio() *qtcore.QSize

Returns the viewfinder pixel aspect ratio.

See also setPixelAspectRatio().

func (*QCameraViewfinderSettings) PixelFormat

func (this *QCameraViewfinderSettings) PixelFormat() int

Returns the viewfinder pixel format.

See also setPixelFormat().

func (*QCameraViewfinderSettings) QCameraViewfinderSettings_PTR

func (ptr *QCameraViewfinderSettings) QCameraViewfinderSettings_PTR() *QCameraViewfinderSettings

func (*QCameraViewfinderSettings) Resolution

func (this *QCameraViewfinderSettings) Resolution() *qtcore.QSize

Returns the viewfinder resolution.

See also setResolution().

func (*QCameraViewfinderSettings) SetCthis

func (this *QCameraViewfinderSettings) SetCthis(cthis unsafe.Pointer)

func (*QCameraViewfinderSettings) SetMaximumFrameRate

func (this *QCameraViewfinderSettings) SetMaximumFrameRate(rate float64)

Sets the viewfinder maximum frame rate in frames per second.

If the maximum frame rate is equal to the minimum frame rate, the frame rate is fixed. If not, the actual frame rate fluctuates between the minimum and the maximum.

If the given rate equals to 0, the backend makes an optimal choice based on the supported frame rates and the other viewfinder settings.

See also maximumFrameRate(), setMinimumFrameRate(), and QCamera::supportedViewfinderFrameRateRanges().

func (*QCameraViewfinderSettings) SetMinimumFrameRate

func (this *QCameraViewfinderSettings) SetMinimumFrameRate(rate float64)

Sets the viewfinder minimum frame rate in frames per second.

If the minimum frame rate is equal to the maximum frame rate, the frame rate is fixed. If not, the actual frame rate fluctuates between the minimum and the maximum.

If the given rate equals to 0, the backend makes an optimal choice based on the supported frame rates and the other viewfinder settings.

See also minimumFrameRate(), setMaximumFrameRate(), and QCamera::supportedViewfinderFrameRateRanges().

func (*QCameraViewfinderSettings) SetPixelAspectRatio

func (this *QCameraViewfinderSettings) SetPixelAspectRatio(ratio qtcore.QSize_ITF)

Sets the viewfinder pixel aspect ratio.

See also pixelAspectRatio().

func (*QCameraViewfinderSettings) SetPixelAspectRatio1

func (this *QCameraViewfinderSettings) SetPixelAspectRatio1(horizontal int, vertical int)

Sets the viewfinder pixel aspect ratio.

See also pixelAspectRatio().

func (*QCameraViewfinderSettings) SetPixelFormat

func (this *QCameraViewfinderSettings) SetPixelFormat(format int)

Sets the viewfinder pixel format.

If the given format is equal to QVideoFrame::Format_Invalid, the backend uses the default format.

See also pixelFormat() and QCamera::supportedViewfinderPixelFormats().

func (*QCameraViewfinderSettings) SetResolution

func (this *QCameraViewfinderSettings) SetResolution(arg0 qtcore.QSize_ITF)

Sets the viewfinder resolution.

If the given resolution is empty, the backend makes an optimal choice based on the supported resolutions and the other viewfinder settings.

If the camera is used to capture videos or images, the viewfinder resolution might be ignored if it conflicts with the capture resolution.

See also resolution(), QVideoEncoderSettings::setResolution(), QImageEncoderSettings::setResolution(), and QCamera::supportedViewfinderResolutions().

func (*QCameraViewfinderSettings) SetResolution1

func (this *QCameraViewfinderSettings) SetResolution1(width int, height int)

Sets the viewfinder resolution.

If the given resolution is empty, the backend makes an optimal choice based on the supported resolutions and the other viewfinder settings.

If the camera is used to capture videos or images, the viewfinder resolution might be ignored if it conflicts with the capture resolution.

See also resolution(), QVideoEncoderSettings::setResolution(), QImageEncoderSettings::setResolution(), and QCamera::supportedViewfinderResolutions().

func (*QCameraViewfinderSettings) Swap

Swaps this viewfinder settings object with other. This function is very fast and never fails.

type QCameraViewfinderSettingsControl

type QCameraViewfinderSettingsControl struct {
	*QMediaControl
}

func NewQCameraViewfinderSettingsControl

func NewQCameraViewfinderSettingsControl(parent qtcore.QObject_ITF) *QCameraViewfinderSettingsControl

func NewQCameraViewfinderSettingsControlFromPointer

func NewQCameraViewfinderSettingsControlFromPointer(cthis unsafe.Pointer) *QCameraViewfinderSettingsControl

func NewQCameraViewfinderSettingsControlp

func NewQCameraViewfinderSettingsControlp() *QCameraViewfinderSettingsControl

func (*QCameraViewfinderSettingsControl) GetCthis

func (*QCameraViewfinderSettingsControl) IsViewfinderParameterSupported

func (this *QCameraViewfinderSettingsControl) IsViewfinderParameterSupported(parameter int) bool

Returns true if configuration of viewfinder parameter is supported by camera backend.

func (*QCameraViewfinderSettingsControl) MetaObject

func (*QCameraViewfinderSettingsControl) NewForInherit

Constructs a camera viewfinder control object with parent.

func (*QCameraViewfinderSettingsControl) NewForInheritp

Constructs a camera viewfinder control object with parent.

func (*QCameraViewfinderSettingsControl) NewFromPointer

func (*QCameraViewfinderSettingsControl) QCameraViewfinderSettingsControl_PTR

func (ptr *QCameraViewfinderSettingsControl) QCameraViewfinderSettingsControl_PTR() *QCameraViewfinderSettingsControl

func (*QCameraViewfinderSettingsControl) SetCthis

func (this *QCameraViewfinderSettingsControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraViewfinderSettingsControl) SetViewfinderParameter

func (this *QCameraViewfinderSettingsControl) SetViewfinderParameter(parameter int, value qtcore.QVariant_ITF)

Set the prefferred value of viewfinder parameter.

Calling this while the camera is active may result in the camera being stopped and reloaded. If video recording is in progress, this call may be ignored.

If an unsupported parameter is specified the camera may fail to load, or the setting may be ignored.

Viewfinder parameters may also depend on other camera settings, especially in video capture mode. If camera configuration conflicts with viewfinder settings, the camara configuration is usually preferred.

See also viewfinderParameter().

func (*QCameraViewfinderSettingsControl) ViewfinderParameter

func (this *QCameraViewfinderSettingsControl) ViewfinderParameter(parameter int) *qtcore.QVariant

Returns the value of viewfinder parameter.

See also setViewfinderParameter().

func (*QCameraViewfinderSettingsControl) ViewfinderParameterItemName

func (this *QCameraViewfinderSettingsControl) ViewfinderParameterItemName(val int) string

type QCameraViewfinderSettingsControl2

type QCameraViewfinderSettingsControl2 struct {
	*QMediaControl
}

func NewQCameraViewfinderSettingsControl2

func NewQCameraViewfinderSettingsControl2(parent qtcore.QObject_ITF) *QCameraViewfinderSettingsControl2

func NewQCameraViewfinderSettingsControl2FromPointer

func NewQCameraViewfinderSettingsControl2FromPointer(cthis unsafe.Pointer) *QCameraViewfinderSettingsControl2

func NewQCameraViewfinderSettingsControl2p

func NewQCameraViewfinderSettingsControl2p() *QCameraViewfinderSettingsControl2

func (*QCameraViewfinderSettingsControl2) GetCthis

func (*QCameraViewfinderSettingsControl2) MetaObject

func (*QCameraViewfinderSettingsControl2) NewForInherit

func (*QCameraViewfinderSettingsControl2) NewForInheritp

func (*QCameraViewfinderSettingsControl2) NewFromPointer

func (*QCameraViewfinderSettingsControl2) QCameraViewfinderSettingsControl2_PTR

func (ptr *QCameraViewfinderSettingsControl2) QCameraViewfinderSettingsControl2_PTR() *QCameraViewfinderSettingsControl2

func (*QCameraViewfinderSettingsControl2) SetCthis

func (this *QCameraViewfinderSettingsControl2) SetCthis(cthis unsafe.Pointer)

func (*QCameraViewfinderSettingsControl2) SetViewfinderSettings

func (this *QCameraViewfinderSettingsControl2) SetViewfinderSettings(settings QCameraViewfinderSettings_ITF)

func (*QCameraViewfinderSettingsControl2) ViewfinderSettings

type QCameraViewfinderSettingsControl2_ITF

type QCameraViewfinderSettingsControl2_ITF interface {
	QMediaControl_ITF
	QCameraViewfinderSettingsControl2_PTR() *QCameraViewfinderSettingsControl2
}

type QCameraViewfinderSettingsControl_ITF

type QCameraViewfinderSettingsControl_ITF interface {
	QMediaControl_ITF
	QCameraViewfinderSettingsControl_PTR() *QCameraViewfinderSettingsControl
}

type QCameraViewfinderSettingsControl__ViewfinderParameter

type QCameraViewfinderSettingsControl__ViewfinderParameter = int
const QCameraViewfinderSettingsControl__MaximumFrameRate QCameraViewfinderSettingsControl__ViewfinderParameter = 3

Maximum viewfinder frame rate, qreal

const QCameraViewfinderSettingsControl__MinimumFrameRate QCameraViewfinderSettingsControl__ViewfinderParameter = 2

Minimum viewfinder frame rate, qreal

const QCameraViewfinderSettingsControl__PixelAspectRatio QCameraViewfinderSettingsControl__ViewfinderParameter = 1

Pixel aspect ratio, QSize as in QVideoSurfaceFormat::pixelAspectRatio

const QCameraViewfinderSettingsControl__PixelFormat QCameraViewfinderSettingsControl__ViewfinderParameter = 4

Viewfinder pixel format, QVideoFrame::PixelFormat

const QCameraViewfinderSettingsControl__Resolution QCameraViewfinderSettingsControl__ViewfinderParameter = 0

Viewfinder resolution, QSize.

const QCameraViewfinderSettingsControl__UserParameter QCameraViewfinderSettingsControl__ViewfinderParameter = 1000

type QCameraViewfinderSettingsList

type QCameraViewfinderSettingsList struct {
	*qtrt.CObject
}

body block begin

func (*QCameraViewfinderSettingsList) Append0

func (this *QCameraViewfinderSettingsList) Append0()

void append(const T &)

func (*QCameraViewfinderSettingsList) Append1

func (this *QCameraViewfinderSettingsList) Append1()

void append(const QList<T> &)

func (*QCameraViewfinderSettingsList) At0

const T & at(int)

func (*QCameraViewfinderSettingsList) Back0

T & back()

func (*QCameraViewfinderSettingsList) Back1

const T & back()

func (*QCameraViewfinderSettingsList) Begin0

func (this *QCameraViewfinderSettingsList) Begin0()

QList::iterator begin()

func (*QCameraViewfinderSettingsList) Begin1

func (this *QCameraViewfinderSettingsList) Begin1()

QList::const_iterator begin()

func (*QCameraViewfinderSettingsList) Cbegin0

func (this *QCameraViewfinderSettingsList) Cbegin0()

QList::const_iterator cbegin()

func (*QCameraViewfinderSettingsList) Cend0

func (this *QCameraViewfinderSettingsList) Cend0()

QList::const_iterator cend()

func (*QCameraViewfinderSettingsList) Clear0

func (this *QCameraViewfinderSettingsList) Clear0()

void clear()

func (*QCameraViewfinderSettingsList) ConstBegin0

func (this *QCameraViewfinderSettingsList) ConstBegin0()

QList::const_iterator constBegin()

func (*QCameraViewfinderSettingsList) ConstEnd0

func (this *QCameraViewfinderSettingsList) ConstEnd0()

QList::const_iterator constEnd()

func (*QCameraViewfinderSettingsList) ConstFirst0

const T & constFirst()

func (*QCameraViewfinderSettingsList) ConstLast0

const T & constLast()

func (*QCameraViewfinderSettingsList) Contains0

func (this *QCameraViewfinderSettingsList) Contains0() bool

bool contains(const T &)

func (*QCameraViewfinderSettingsList) Contains_impl0

func (this *QCameraViewfinderSettingsList) Contains_impl0() bool

bool contains_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QCameraViewfinderSettingsList) Contains_impl1

func (this *QCameraViewfinderSettingsList) Contains_impl1() bool

bool contains_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QCameraViewfinderSettingsList) Count0

func (this *QCameraViewfinderSettingsList) Count0() int

int count(const T &)

func (*QCameraViewfinderSettingsList) Count1

func (this *QCameraViewfinderSettingsList) Count1() int

int count()

func (*QCameraViewfinderSettingsList) Count_impl0

func (this *QCameraViewfinderSettingsList) Count_impl0() int

int count_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QCameraViewfinderSettingsList) Count_impl1

func (this *QCameraViewfinderSettingsList) Count_impl1() int

int count_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QCameraViewfinderSettingsList) Crbegin0

func (this *QCameraViewfinderSettingsList) Crbegin0()

QList::const_reverse_iterator crbegin()

func (*QCameraViewfinderSettingsList) Crend0

func (this *QCameraViewfinderSettingsList) Crend0()

QList::const_reverse_iterator crend()

func (*QCameraViewfinderSettingsList) Dealloc0

func (this *QCameraViewfinderSettingsList) Dealloc0()

void dealloc(QListData::Data *)

func (*QCameraViewfinderSettingsList) Detach0

func (this *QCameraViewfinderSettingsList) Detach0()

void detach()

func (*QCameraViewfinderSettingsList) DetachShared0

func (this *QCameraViewfinderSettingsList) DetachShared0()

void detachShared()

func (*QCameraViewfinderSettingsList) Detach_helper0

func (this *QCameraViewfinderSettingsList) Detach_helper0()

void detach_helper(int)

func (*QCameraViewfinderSettingsList) Detach_helper1

func (this *QCameraViewfinderSettingsList) Detach_helper1()

void detach_helper()

func (*QCameraViewfinderSettingsList) Detach_helper_grow0

func (this *QCameraViewfinderSettingsList) Detach_helper_grow0()

QList::Node * detach_helper_grow(int, int)

func (*QCameraViewfinderSettingsList) Empty0

func (this *QCameraViewfinderSettingsList) Empty0() bool

bool empty()

func (*QCameraViewfinderSettingsList) End0

func (this *QCameraViewfinderSettingsList) End0()

QList::iterator end()

func (*QCameraViewfinderSettingsList) End1

func (this *QCameraViewfinderSettingsList) End1()

QList::const_iterator end()

func (*QCameraViewfinderSettingsList) EndsWith0

func (this *QCameraViewfinderSettingsList) EndsWith0() bool

bool endsWith(const T &)

func (*QCameraViewfinderSettingsList) Erase0

func (this *QCameraViewfinderSettingsList) Erase0()

QList::iterator erase(QList::iterator)

func (*QCameraViewfinderSettingsList) Erase1

func (this *QCameraViewfinderSettingsList) Erase1()

QList::iterator erase(QList::iterator, QList::iterator)

func (*QCameraViewfinderSettingsList) First0

T & first()

func (*QCameraViewfinderSettingsList) First1

const T & first()

func (*QCameraViewfinderSettingsList) FromSet0

QList<T> fromSet(const QSet<T> &)

func (*QCameraViewfinderSettingsList) FromStdList0

QList<T> fromStdList(const std::list<T> &)

func (*QCameraViewfinderSettingsList) FromVector0

QList<T> fromVector(const QVector<T> &)

func (*QCameraViewfinderSettingsList) Front0

T & front()

func (*QCameraViewfinderSettingsList) Front1

const T & front()

func (*QCameraViewfinderSettingsList) IndexOf0

func (this *QCameraViewfinderSettingsList) IndexOf0() int

int indexOf(const T &, int)

func (*QCameraViewfinderSettingsList) Insert0

func (this *QCameraViewfinderSettingsList) Insert0()

void insert(int, const T &)

func (*QCameraViewfinderSettingsList) Insert1

func (this *QCameraViewfinderSettingsList) Insert1()

QList::iterator insert(QList::iterator, const T &)

func (*QCameraViewfinderSettingsList) IsDetached0

func (this *QCameraViewfinderSettingsList) IsDetached0() bool

bool isDetached()

func (*QCameraViewfinderSettingsList) IsEmpty0

func (this *QCameraViewfinderSettingsList) IsEmpty0() bool

bool isEmpty()

func (*QCameraViewfinderSettingsList) IsSharedWith0

func (this *QCameraViewfinderSettingsList) IsSharedWith0() bool

bool isSharedWith(const QList<T> &)

func (*QCameraViewfinderSettingsList) IsValidIterator0

func (this *QCameraViewfinderSettingsList) IsValidIterator0() bool

bool isValidIterator(const QList::iterator &)

func (*QCameraViewfinderSettingsList) Last0

T & last()

func (*QCameraViewfinderSettingsList) Last1

const T & last()

func (*QCameraViewfinderSettingsList) LastIndexOf0

func (this *QCameraViewfinderSettingsList) LastIndexOf0() int

int lastIndexOf(const T &, int)

func (*QCameraViewfinderSettingsList) Length0

func (this *QCameraViewfinderSettingsList) Length0() int

int length()

func (*QCameraViewfinderSettingsList) Mid0

QList<T> mid(int, int)

func (*QCameraViewfinderSettingsList) Move0

func (this *QCameraViewfinderSettingsList) Move0()

void move(int, int)

func (*QCameraViewfinderSettingsList) Node_construct0

func (this *QCameraViewfinderSettingsList) Node_construct0()

void node_construct(QList::Node *, const T &)

func (*QCameraViewfinderSettingsList) Node_copy0

func (this *QCameraViewfinderSettingsList) Node_copy0()

void node_copy(QList::Node *, QList::Node *, QList::Node *)

func (*QCameraViewfinderSettingsList) Node_destruct0

func (this *QCameraViewfinderSettingsList) Node_destruct0()

void node_destruct(QList::Node *)

func (*QCameraViewfinderSettingsList) Node_destruct1

func (this *QCameraViewfinderSettingsList) Node_destruct1()

void node_destruct(QList::Node *, QList::Node *)

func (*QCameraViewfinderSettingsList) Op_eq_impl0

func (this *QCameraViewfinderSettingsList) Op_eq_impl0() bool

bool op_eq_impl(const QList<T> &, QListData::NotArrayCompatibleLayout)

func (*QCameraViewfinderSettingsList) Op_eq_impl1

func (this *QCameraViewfinderSettingsList) Op_eq_impl1() bool

bool op_eq_impl(const QList<T> &, QListData::ArrayCompatibleLayout)

func (*QCameraViewfinderSettingsList) Operator_add0

QList<T> operator+(const QList<T> &)

func (*QCameraViewfinderSettingsList) Operator_add_equal0

func (this *QCameraViewfinderSettingsList) Operator_add_equal0() *QCameraViewfinderSettingsList

QList<T> & operator+=(const QList<T> &)

func (*QCameraViewfinderSettingsList) Operator_add_equal1

func (this *QCameraViewfinderSettingsList) Operator_add_equal1() *QCameraViewfinderSettingsList

QList<T> & operator+=(const T &)

func (*QCameraViewfinderSettingsList) Operator_equal0

QList<T> & operator=(const QList<T> &)

func (*QCameraViewfinderSettingsList) Operator_equal1

QList<T> & operator=(QList<T> &&)

func (*QCameraViewfinderSettingsList) Operator_equal_equal0

func (this *QCameraViewfinderSettingsList) Operator_equal_equal0() bool

bool operator==(const QList<T> &)

func (*QCameraViewfinderSettingsList) Operator_get_index0

func (this *QCameraViewfinderSettingsList) Operator_get_index0() *QCameraViewfinderSettings

const T & operator[](int)

func (*QCameraViewfinderSettingsList) Operator_get_index1

func (this *QCameraViewfinderSettingsList) Operator_get_index1() *QCameraViewfinderSettings

T & operator[](int)

func (*QCameraViewfinderSettingsList) Operator_left_shift0

func (this *QCameraViewfinderSettingsList) Operator_left_shift0() *QCameraViewfinderSettingsList

QList<T> & operator<<(const T &)

func (*QCameraViewfinderSettingsList) Operator_left_shift1

func (this *QCameraViewfinderSettingsList) Operator_left_shift1() *QCameraViewfinderSettingsList

QList<T> & operator<<(const QList<T> &)

func (*QCameraViewfinderSettingsList) Operator_not_equal0

func (this *QCameraViewfinderSettingsList) Operator_not_equal0() bool

bool operator!=(const QList<T> &)

func (*QCameraViewfinderSettingsList) Pop_back0

func (this *QCameraViewfinderSettingsList) Pop_back0()

void pop_back()

func (*QCameraViewfinderSettingsList) Pop_front0

func (this *QCameraViewfinderSettingsList) Pop_front0()

void pop_front()

func (*QCameraViewfinderSettingsList) Prepend0

func (this *QCameraViewfinderSettingsList) Prepend0()

void prepend(const T &)

func (*QCameraViewfinderSettingsList) Push_back0

func (this *QCameraViewfinderSettingsList) Push_back0()

void push_back(const T &)

func (*QCameraViewfinderSettingsList) Push_front0

func (this *QCameraViewfinderSettingsList) Push_front0()

void push_front(const T &)

func (*QCameraViewfinderSettingsList) Rbegin0

func (this *QCameraViewfinderSettingsList) Rbegin0()

QList::reverse_iterator rbegin()

func (*QCameraViewfinderSettingsList) Rbegin1

func (this *QCameraViewfinderSettingsList) Rbegin1()

QList::const_reverse_iterator rbegin()

func (*QCameraViewfinderSettingsList) RemoveAll0

func (this *QCameraViewfinderSettingsList) RemoveAll0() int

int removeAll(const T &)

func (*QCameraViewfinderSettingsList) RemoveAt0

func (this *QCameraViewfinderSettingsList) RemoveAt0()

void removeAt(int)

func (*QCameraViewfinderSettingsList) RemoveFirst0

func (this *QCameraViewfinderSettingsList) RemoveFirst0()

void removeFirst()

func (*QCameraViewfinderSettingsList) RemoveLast0

func (this *QCameraViewfinderSettingsList) RemoveLast0()

void removeLast()

func (*QCameraViewfinderSettingsList) RemoveOne0

func (this *QCameraViewfinderSettingsList) RemoveOne0() bool

bool removeOne(const T &)

func (*QCameraViewfinderSettingsList) Rend0

func (this *QCameraViewfinderSettingsList) Rend0()

QList::reverse_iterator rend()

func (*QCameraViewfinderSettingsList) Rend1

func (this *QCameraViewfinderSettingsList) Rend1()

QList::const_reverse_iterator rend()

func (*QCameraViewfinderSettingsList) Replace0

func (this *QCameraViewfinderSettingsList) Replace0()

void replace(int, const T &)

func (*QCameraViewfinderSettingsList) Reserve0

func (this *QCameraViewfinderSettingsList) Reserve0()

void reserve(int)

func (*QCameraViewfinderSettingsList) SetSharable0

func (this *QCameraViewfinderSettingsList) SetSharable0()

void setSharable(bool)

func (*QCameraViewfinderSettingsList) Size0

func (this *QCameraViewfinderSettingsList) Size0() int

int size()

func (*QCameraViewfinderSettingsList) StartsWith0

func (this *QCameraViewfinderSettingsList) StartsWith0() bool

bool startsWith(const T &)

func (*QCameraViewfinderSettingsList) Swap0

func (this *QCameraViewfinderSettingsList) Swap0()

void swap(QList<T> &)

func (*QCameraViewfinderSettingsList) Swap1

func (this *QCameraViewfinderSettingsList) Swap1()

void swap(int, int)

func (*QCameraViewfinderSettingsList) TakeAt0

T takeAt(int)

func (*QCameraViewfinderSettingsList) TakeFirst0

T takeFirst()

func (*QCameraViewfinderSettingsList) TakeLast0

T takeLast()

func (*QCameraViewfinderSettingsList) ToSet0

func (this *QCameraViewfinderSettingsList) ToSet0()

QSet<T> toSet()

func (*QCameraViewfinderSettingsList) ToStdList0

func (this *QCameraViewfinderSettingsList) ToStdList0()

std::list<T> toStdList()

func (*QCameraViewfinderSettingsList) ToVector0

func (this *QCameraViewfinderSettingsList) ToVector0()

QVector<T> toVector()

func (*QCameraViewfinderSettingsList) Value0

T value(int)

func (*QCameraViewfinderSettingsList) Value1

T value(int, const T &)

type QCameraViewfinderSettings_ITF

type QCameraViewfinderSettings_ITF interface {
	QCameraViewfinderSettings_PTR() *QCameraViewfinderSettings
}

type QCameraZoomControl

type QCameraZoomControl struct {
	*QMediaControl
}

func NewQCameraZoomControl

func NewQCameraZoomControl(parent qtcore.QObject_ITF) *QCameraZoomControl

func NewQCameraZoomControlFromPointer

func NewQCameraZoomControlFromPointer(cthis unsafe.Pointer) *QCameraZoomControl

func NewQCameraZoomControlp

func NewQCameraZoomControlp() *QCameraZoomControl

func (*QCameraZoomControl) CurrentDigitalZoom

func (this *QCameraZoomControl) CurrentDigitalZoom() float64

Return the current digital zoom value.

func (*QCameraZoomControl) CurrentDigitalZoomChanged

func (this *QCameraZoomControl) CurrentDigitalZoomChanged(digitalZoom float64)

Signal emitted when the current digital zoom value changed.

func (*QCameraZoomControl) CurrentOpticalZoom

func (this *QCameraZoomControl) CurrentOpticalZoom() float64

Return the current optical zoom value.

func (*QCameraZoomControl) CurrentOpticalZoomChanged

func (this *QCameraZoomControl) CurrentOpticalZoomChanged(opticalZoom float64)

Signal emitted when the current optical zoom value changed.

func (*QCameraZoomControl) GetCthis

func (this *QCameraZoomControl) GetCthis() unsafe.Pointer

func (*QCameraZoomControl) MaximumDigitalZoom

func (this *QCameraZoomControl) MaximumDigitalZoom() float64

Returns the maximum digital zoom value, or 1.0 if digital zoom is not supported.

func (*QCameraZoomControl) MaximumDigitalZoomChanged

func (this *QCameraZoomControl) MaximumDigitalZoomChanged(arg0 float64)

Signal emitted when the maximum supported digital zoom value changed.

The maximum supported zoom value can depend on other camera settings, like capture mode or resolution.

func (*QCameraZoomControl) MaximumOpticalZoom

func (this *QCameraZoomControl) MaximumOpticalZoom() float64

Returns the maximum optical zoom value, or 1.0 if optical zoom is not supported.

func (*QCameraZoomControl) MaximumOpticalZoomChanged

func (this *QCameraZoomControl) MaximumOpticalZoomChanged(arg0 float64)

Signal emitted when the maximum supported optical zoom value changed.

The maximum supported zoom value can depend on other camera settings, like focusing mode.

func (*QCameraZoomControl) MetaObject

func (this *QCameraZoomControl) MetaObject() *qtcore.QMetaObject

func (*QCameraZoomControl) NewForInherit

func (*QCameraZoomControl) NewForInherit(parent qtcore.QObject_ITF) *QCameraZoomControl

Constructs a camera zoom control object with parent.

func (*QCameraZoomControl) NewForInheritp

func (*QCameraZoomControl) NewForInheritp() *QCameraZoomControl

Constructs a camera zoom control object with parent.

func (*QCameraZoomControl) NewFromPointer

func (*QCameraZoomControl) NewFromPointer(cthis unsafe.Pointer) *QCameraZoomControl

func (*QCameraZoomControl) QCameraZoomControl_PTR

func (ptr *QCameraZoomControl) QCameraZoomControl_PTR() *QCameraZoomControl

func (*QCameraZoomControl) RequestedDigitalZoom

func (this *QCameraZoomControl) RequestedDigitalZoom() float64

Return the requested digital zoom value.

func (*QCameraZoomControl) RequestedDigitalZoomChanged

func (this *QCameraZoomControl) RequestedDigitalZoomChanged(digitalZoom float64)

Signal emitted when the requested digital zoom value changed.

func (*QCameraZoomControl) RequestedOpticalZoom

func (this *QCameraZoomControl) RequestedOpticalZoom() float64

Return the requested optical zoom value.

func (*QCameraZoomControl) RequestedOpticalZoomChanged

func (this *QCameraZoomControl) RequestedOpticalZoomChanged(opticalZoom float64)

Signal emitted when the requested optical zoom value changed.

func (*QCameraZoomControl) SetCthis

func (this *QCameraZoomControl) SetCthis(cthis unsafe.Pointer)

func (*QCameraZoomControl) ZoomTo

func (this *QCameraZoomControl) ZoomTo(optical float64, digital float64)

Sets optical and digital zoom values.

Zooming can be asynchronous with value changes reported with currentDigitalZoomChanged() and currentOpticalZoomChanged() signals.

The backend should expect and correctly handle frequent zoomTo() calls during zoom animations or slider movements.

type QCameraZoomControl_ITF

type QCameraZoomControl_ITF interface {
	QMediaControl_ITF
	QCameraZoomControl_PTR() *QCameraZoomControl
}

type QCamera_ITF

type QCamera_ITF interface {
	QMediaObject_ITF
	QCamera_PTR() *QCamera
}

type QCamera__CaptureMode

type QCamera__CaptureMode = int
const QCamera__CaptureStillImage QCamera__CaptureMode = 1
const QCamera__CaptureVideo QCamera__CaptureMode = 2
const QCamera__CaptureViewfinder QCamera__CaptureMode = 0

type QCamera__Error

type QCamera__Error = int
const QCamera__CameraError QCamera__Error = 1

An error has occurred.

const QCamera__InvalidRequestError QCamera__Error = 2

System resource doesn't support requested functionality.

const QCamera__NoError QCamera__Error = 0

No errors have occurred.

const QCamera__NotSupportedFeatureError QCamera__Error = 4

The feature is not supported.

const QCamera__ServiceMissingError QCamera__Error = 3

No camera service available.

type QCamera__LockChangeReason

type QCamera__LockChangeReason = int
const QCamera__LockAcquired QCamera__LockChangeReason = 1

The lock status successfuly changed to QCamera::Locked.

const QCamera__LockFailed QCamera__LockChangeReason = 2

The camera failed to acquire the requested lock in result of autofocus failure, exposure out of supported range, etc.

const QCamera__LockLost QCamera__LockChangeReason = 3

The camera is not able to maintain the requested lock any more. Lock status is changed to QCamera::Unlocked.

const QCamera__LockTemporaryLost QCamera__LockChangeReason = 4

The lock is lost, but the camera is working hard to reacquire it. This value may be used in continuous focusing mode, when the camera loses the focus, the focus lock state is changed to Qcamera::Searching with LockTemporaryLost reason.

const QCamera__UserRequest QCamera__LockChangeReason = 0

The lock status changed in result of user request, usually to unlock camera settings.

type QCamera__LockStatus

type QCamera__LockStatus = int

The locked state usually means the requested parameter stays the same, except of the cases when the parameter is requested to be constantly updated. For example in continuous focusing mode, the focus is considered locked as long and the object is in focus, even while the actual focusing distance may be constantly changing.

const QCamera__Locked QCamera__LockStatus = 2

The camera focus, exposure or white balance is locked. The camera is ready to capture, application may check the exposure parameters.

const QCamera__Searching QCamera__LockStatus = 1

The application has requested the camera focus, exposure or white balance lock with QCamera::searchAndLock(). This state indicates the camera is focusing or calculating exposure and white balance.

const QCamera__Unlocked QCamera__LockStatus = 0

The application is not interested in camera settings value. The camera may keep this parameter without changes, this is common with camera focus, or adjust exposure and white balance constantly to keep the viewfinder image nice.

type QCamera__LockType

type QCamera__LockType = int
const QCamera__LockExposure QCamera__LockType = 1
const QCamera__LockFocus QCamera__LockType = 4
const QCamera__LockWhiteBalance QCamera__LockType = 2
const QCamera__NoLock QCamera__LockType = 0

type QCamera__Position

type QCamera__Position = int

This enum specifies the physical position of the camera on the system hardware.

This enum was introduced or modified in Qt 5.3.

See also QCameraInfo::position().

const QCamera__BackFace QCamera__Position = 1

The camera is on the back face of the system hardware. For example on a mobile device, it means it is on the opposite side to that of the screen.

const QCamera__FrontFace QCamera__Position = 2

The camera is on the front face of the system hardware. For example on a mobile device, it means it is on the same side as that of the screen. Viewfinder frames of front-facing cameras are mirrored horizontally, so the users can see themselves as looking into a mirror. Captured images or videos are not mirrored.

const QCamera__UnspecifiedPosition QCamera__Position = 0

The camera position is unspecified or unknown.

type QCamera__State

type QCamera__State = int

While the supported settings are unknown in this state, it's allowed to set the camera capture settings like codec, resolution, or frame rate.

In the Idle state it's allowed to query camera capabilities, set capture resolution, codecs, etc.

The viewfinder is not active in the loaded state.

const QCamera__ActiveState QCamera__State = 2

In the active state as soon as camera is started the viewfinder displays video frames and the camera is ready for capture.

const QCamera__LoadedState QCamera__State = 1

The camera is loaded and ready to be configured.

const QCamera__UnloadedState QCamera__State = 0

The initial camera state, with camera not loaded, the camera capabilities except of supported capture modes are unknown.

type QCamera__Status

type QCamera__Status = int

Depending on backend, changing some camera settings like capture mode, codecs or resolution in ActiveState may lead to changing the camera status to LoadedStatus and StartingStatus while the settings are applied and back to ActiveStatus when the camera is ready.

const QCamera__ActiveStatus QCamera__Status = 8

The camera has been started and can produce data. The viewfinder displays video frames in active state.

const QCamera__LoadedStatus QCamera__Status = 4

The camera is loaded and ready to be configured. This status indicates the camera device is opened and it's possible to query for supported image and video capture settings, like resolution, framerate and codecs.

const QCamera__LoadingStatus QCamera__Status = 2

The camera device loading in result of state transition from QCamera::UnloadedState to QCamera::LoadedState or QCamera::ActiveState.

const QCamera__StandbyStatus QCamera__Status = 5

The camera is in the power saving standby mode. The camera may come to the standby mode after some time of inactivity in the QCamera::LoadedState state.

const QCamera__StartingStatus QCamera__Status = 6

The camera is starting in result of state transition to QCamera::ActiveState. The camera service is not ready to capture yet.

const QCamera__StoppingStatus QCamera__Status = 7

The camera is stopping in result of state transition from QCamera::ActiveState to QCamera::LoadedState or QCamera::UnloadedState.

const QCamera__UnavailableStatus QCamera__Status = 0

The camera or camera backend is not available.

const QCamera__UnloadedStatus QCamera__Status = 1

The initial camera status, with camera not loaded. The camera capabilities including supported capture settings may be unknown.

const QCamera__UnloadingStatus QCamera__Status = 3

The camera device is unloading in result of state transition from QCamera::LoadedState or QCamera::ActiveState to QCamera::UnloadedState.

type QCustomAudioRoleControl

type QCustomAudioRoleControl struct {
	*QMediaControl
}

func NewQCustomAudioRoleControl

func NewQCustomAudioRoleControl(parent qtcore.QObject_ITF) *QCustomAudioRoleControl

func NewQCustomAudioRoleControlFromPointer

func NewQCustomAudioRoleControlFromPointer(cthis unsafe.Pointer) *QCustomAudioRoleControl

func NewQCustomAudioRoleControlp

func NewQCustomAudioRoleControlp() *QCustomAudioRoleControl

func (*QCustomAudioRoleControl) CustomAudioRole

func (this *QCustomAudioRoleControl) CustomAudioRole() string

Returns the audio role of the media played by the media service.

See also setCustomAudioRole().

func (*QCustomAudioRoleControl) CustomAudioRoleChanged

func (this *QCustomAudioRoleControl) CustomAudioRoleChanged(role string)

Signal emitted when the audio role has changed.

func (*QCustomAudioRoleControl) GetCthis

func (this *QCustomAudioRoleControl) GetCthis() unsafe.Pointer

func (*QCustomAudioRoleControl) MetaObject

func (this *QCustomAudioRoleControl) MetaObject() *qtcore.QMetaObject

func (*QCustomAudioRoleControl) NewForInherit

Construct a QCustomAudioRoleControl with the given parent.

func (*QCustomAudioRoleControl) NewForInheritp

Construct a QCustomAudioRoleControl with the given parent.

func (*QCustomAudioRoleControl) NewFromPointer

func (*QCustomAudioRoleControl) QCustomAudioRoleControl_PTR

func (ptr *QCustomAudioRoleControl) QCustomAudioRoleControl_PTR() *QCustomAudioRoleControl

func (*QCustomAudioRoleControl) SetCthis

func (this *QCustomAudioRoleControl) SetCthis(cthis unsafe.Pointer)

func (*QCustomAudioRoleControl) SetCustomAudioRole

func (this *QCustomAudioRoleControl) SetCustomAudioRole(role string)

Sets the audio role of the media played by the media service.

See also customAudioRole().

func (*QCustomAudioRoleControl) SupportedCustomAudioRoles

func (this *QCustomAudioRoleControl) SupportedCustomAudioRoles() *qtcore.QStringList

Returns a list of custom audio roles that the media service supports. An empty list may indicate that the supported custom audio roles aren't known. The list may not be complete.

type QCustomAudioRoleControl_ITF

type QCustomAudioRoleControl_ITF interface {
	QMediaControl_ITF
	QCustomAudioRoleControl_PTR() *QCustomAudioRoleControl
}

type QImageEncoderControl

type QImageEncoderControl struct {
	*QMediaControl
}

func NewQImageEncoderControl

func NewQImageEncoderControl(parent qtcore.QObject_ITF) *QImageEncoderControl

func NewQImageEncoderControlFromPointer

func NewQImageEncoderControlFromPointer(cthis unsafe.Pointer) *QImageEncoderControl

func NewQImageEncoderControlp

func NewQImageEncoderControlp() *QImageEncoderControl

func (*QImageEncoderControl) GetCthis

func (this *QImageEncoderControl) GetCthis() unsafe.Pointer

func (*QImageEncoderControl) ImageCodecDescription

func (this *QImageEncoderControl) ImageCodecDescription(codec string) string

Returns a description of an image codec.

func (*QImageEncoderControl) ImageSettings

func (this *QImageEncoderControl) ImageSettings() *QImageEncoderSettings

Returns the currently used image encoder settings.

The returned value may be different tha passed to QImageEncoderControl::setImageSettings() if the settings contains the default or undefined parameters. In this case if the undefined parameters are already resolved, they should be returned.

See also setImageSettings().

func (*QImageEncoderControl) MetaObject

func (this *QImageEncoderControl) MetaObject() *qtcore.QMetaObject

func (*QImageEncoderControl) NewForInherit

Constructs a new image encoder control object with the given parent

func (*QImageEncoderControl) NewForInheritp

func (*QImageEncoderControl) NewForInheritp() *QImageEncoderControl

Constructs a new image encoder control object with the given parent

func (*QImageEncoderControl) NewFromPointer

func (*QImageEncoderControl) NewFromPointer(cthis unsafe.Pointer) *QImageEncoderControl

func (*QImageEncoderControl) QImageEncoderControl_PTR

func (ptr *QImageEncoderControl) QImageEncoderControl_PTR() *QImageEncoderControl

func (*QImageEncoderControl) SetCthis

func (this *QImageEncoderControl) SetCthis(cthis unsafe.Pointer)

func (*QImageEncoderControl) SetImageSettings

func (this *QImageEncoderControl) SetImageSettings(settings QImageEncoderSettings_ITF)

Sets the selected image encoder settings.

See also imageSettings().

func (*QImageEncoderControl) SupportedImageCodecs

func (this *QImageEncoderControl) SupportedImageCodecs() *qtcore.QStringList

Returns a list of supported image codecs.

func (*QImageEncoderControl) SupportedResolutions

func (this *QImageEncoderControl) SupportedResolutions(settings QImageEncoderSettings_ITF, continuous *bool) *qtcore.QSizeList

Returns a list of supported resolutions.

If non null image settings parameter is passed, the returned list is reduced to resolutions supported with partial settings applied. It can be used to query the list of resolutions, supported by specific image codec.

If the encoder supports arbitrary resolutions within the supported resolutions range, *continuous is set to true, otherwise *continuous is set to false.

func (*QImageEncoderControl) SupportedResolutionsp

func (this *QImageEncoderControl) SupportedResolutionsp(settings QImageEncoderSettings_ITF) *qtcore.QSizeList

Returns a list of supported resolutions.

If non null image settings parameter is passed, the returned list is reduced to resolutions supported with partial settings applied. It can be used to query the list of resolutions, supported by specific image codec.

If the encoder supports arbitrary resolutions within the supported resolutions range, *continuous is set to true, otherwise *continuous is set to false.

type QImageEncoderControl_ITF

type QImageEncoderControl_ITF interface {
	QMediaControl_ITF
	QImageEncoderControl_PTR() *QImageEncoderControl
}

type QImageEncoderSettings

type QImageEncoderSettings struct {
	*qtrt.CObject
}

func NewQImageEncoderSettings

func NewQImageEncoderSettings() *QImageEncoderSettings

func NewQImageEncoderSettingsFromPointer

func NewQImageEncoderSettingsFromPointer(cthis unsafe.Pointer) *QImageEncoderSettings

func (*QImageEncoderSettings) Codec

func (this *QImageEncoderSettings) Codec() string

func (*QImageEncoderSettings) EncodingOption

func (this *QImageEncoderSettings) EncodingOption(option string) *qtcore.QVariant

func (*QImageEncoderSettings) GetCthis

func (this *QImageEncoderSettings) GetCthis() unsafe.Pointer

func (*QImageEncoderSettings) IsNull

func (this *QImageEncoderSettings) IsNull() bool

func (*QImageEncoderSettings) NewForInherit

func (*QImageEncoderSettings) NewForInherit() *QImageEncoderSettings

func (*QImageEncoderSettings) NewFromPointer

func (*QImageEncoderSettings) Operator_equal

func (*QImageEncoderSettings) Operator_equal_equal

func (this *QImageEncoderSettings) Operator_equal_equal(other QImageEncoderSettings_ITF) bool

func (*QImageEncoderSettings) Operator_not_equal

func (this *QImageEncoderSettings) Operator_not_equal(other QImageEncoderSettings_ITF) bool

func (*QImageEncoderSettings) QImageEncoderSettings_PTR

func (ptr *QImageEncoderSettings) QImageEncoderSettings_PTR() *QImageEncoderSettings

func (*QImageEncoderSettings) Quality

func (this *QImageEncoderSettings) Quality() int

func (*QImageEncoderSettings) Resolution

func (this *QImageEncoderSettings) Resolution() *qtcore.QSize

func (*QImageEncoderSettings) SetCodec

func (this *QImageEncoderSettings) SetCodec(arg0 string)

func (*QImageEncoderSettings) SetCthis

func (this *QImageEncoderSettings) SetCthis(cthis unsafe.Pointer)

func (*QImageEncoderSettings) SetEncodingOption

func (this *QImageEncoderSettings) SetEncodingOption(option string, value qtcore.QVariant_ITF)

func (*QImageEncoderSettings) SetQuality

func (this *QImageEncoderSettings) SetQuality(quality int)

func (*QImageEncoderSettings) SetResolution

func (this *QImageEncoderSettings) SetResolution(arg0 qtcore.QSize_ITF)

func (*QImageEncoderSettings) SetResolution1

func (this *QImageEncoderSettings) SetResolution1(width int, height int)

type QImageEncoderSettings_ITF

type QImageEncoderSettings_ITF interface {
	QImageEncoderSettings_PTR() *QImageEncoderSettings
}

type QMediaAudioProbeControl

type QMediaAudioProbeControl struct {
	*QMediaControl
}

func NewQMediaAudioProbeControl

func NewQMediaAudioProbeControl(parent qtcore.QObject_ITF) *QMediaAudioProbeControl

func NewQMediaAudioProbeControlFromPointer

func NewQMediaAudioProbeControlFromPointer(cthis unsafe.Pointer) *QMediaAudioProbeControl

func NewQMediaAudioProbeControlp

func NewQMediaAudioProbeControlp() *QMediaAudioProbeControl

func (*QMediaAudioProbeControl) AudioBufferProbed

func (this *QMediaAudioProbeControl) AudioBufferProbed(buffer QAudioBuffer_ITF)

This signal should be emitted when an audio buffer is processed in the media service.

func (*QMediaAudioProbeControl) Flush

func (this *QMediaAudioProbeControl) Flush()

This signal should be emitted when it is required to release all frames.

func (*QMediaAudioProbeControl) GetCthis

func (this *QMediaAudioProbeControl) GetCthis() unsafe.Pointer

func (*QMediaAudioProbeControl) MetaObject

func (this *QMediaAudioProbeControl) MetaObject() *qtcore.QMetaObject

func (*QMediaAudioProbeControl) NewForInherit

Create a new media audio probe control object with the given parent.

func (*QMediaAudioProbeControl) NewForInheritp

Create a new media audio probe control object with the given parent.

func (*QMediaAudioProbeControl) NewFromPointer

func (*QMediaAudioProbeControl) QMediaAudioProbeControl_PTR

func (ptr *QMediaAudioProbeControl) QMediaAudioProbeControl_PTR() *QMediaAudioProbeControl

func (*QMediaAudioProbeControl) SetCthis

func (this *QMediaAudioProbeControl) SetCthis(cthis unsafe.Pointer)

type QMediaAudioProbeControl_ITF

type QMediaAudioProbeControl_ITF interface {
	QMediaControl_ITF
	QMediaAudioProbeControl_PTR() *QMediaAudioProbeControl
}

type QMediaAvailabilityControl

type QMediaAvailabilityControl struct {
	*QMediaControl
}

func NewQMediaAvailabilityControl

func NewQMediaAvailabilityControl(parent qtcore.QObject_ITF) *QMediaAvailabilityControl

func NewQMediaAvailabilityControlFromPointer

func NewQMediaAvailabilityControlFromPointer(cthis unsafe.Pointer) *QMediaAvailabilityControl

func NewQMediaAvailabilityControlp

func NewQMediaAvailabilityControlp() *QMediaAvailabilityControl

func (*QMediaAvailabilityControl) Availability

func (this *QMediaAvailabilityControl) Availability() int

Returns the current availability of this instance of the media service. If the availability changes at run time (for example, some other media client takes all media resources) the availabilityChanges() signal should be emitted.

func (*QMediaAvailabilityControl) AvailabilityChanged

func (this *QMediaAvailabilityControl) AvailabilityChanged(availability int)

Signal emitted when the current availability value changed.

func (*QMediaAvailabilityControl) GetCthis

func (this *QMediaAvailabilityControl) GetCthis() unsafe.Pointer

func (*QMediaAvailabilityControl) MetaObject

func (this *QMediaAvailabilityControl) MetaObject() *qtcore.QMetaObject

func (*QMediaAvailabilityControl) NewForInherit

Constructs an availability control object with parent.

func (*QMediaAvailabilityControl) NewForInheritp

Constructs an availability control object with parent.

func (*QMediaAvailabilityControl) NewFromPointer

func (*QMediaAvailabilityControl) QMediaAvailabilityControl_PTR

func (ptr *QMediaAvailabilityControl) QMediaAvailabilityControl_PTR() *QMediaAvailabilityControl

func (*QMediaAvailabilityControl) SetCthis

func (this *QMediaAvailabilityControl) SetCthis(cthis unsafe.Pointer)

type QMediaAvailabilityControl_ITF

type QMediaAvailabilityControl_ITF interface {
	QMediaControl_ITF
	QMediaAvailabilityControl_PTR() *QMediaAvailabilityControl
}

type QMediaBindableInterface

type QMediaBindableInterface struct {
	*qtrt.CObject
}

func NewQMediaBindableInterfaceFromPointer

func NewQMediaBindableInterfaceFromPointer(cthis unsafe.Pointer) *QMediaBindableInterface

func (*QMediaBindableInterface) GetCthis

func (this *QMediaBindableInterface) GetCthis() unsafe.Pointer

func (*QMediaBindableInterface) InheritSetMediaObject

func (this *QMediaBindableInterface) InheritSetMediaObject(f func(object *QMediaObject) bool)

bool setMediaObject(QMediaObject *)

func (*QMediaBindableInterface) MediaObject

func (this *QMediaBindableInterface) MediaObject() *QMediaObject

Return the currently attached media object.

See also setMediaObject().

func (*QMediaBindableInterface) NewFromPointer

func (*QMediaBindableInterface) QMediaBindableInterface_PTR

func (ptr *QMediaBindableInterface) QMediaBindableInterface_PTR() *QMediaBindableInterface

func (*QMediaBindableInterface) SetCthis

func (this *QMediaBindableInterface) SetCthis(cthis unsafe.Pointer)

func (*QMediaBindableInterface) SetMediaObject

func (this *QMediaBindableInterface) SetMediaObject(object QMediaObject_ITF) bool

Attaches to the media object. Returns true if attached successfully, otherwise returns false.

See also mediaObject().

type QMediaBindableInterface_ITF

type QMediaBindableInterface_ITF interface {
	QMediaBindableInterface_PTR() *QMediaBindableInterface
}

type QMediaContainerControl

type QMediaContainerControl struct {
	*QMediaControl
}

func NewQMediaContainerControl

func NewQMediaContainerControl(parent qtcore.QObject_ITF) *QMediaContainerControl

func NewQMediaContainerControlFromPointer

func NewQMediaContainerControlFromPointer(cthis unsafe.Pointer) *QMediaContainerControl

func NewQMediaContainerControlp

func NewQMediaContainerControlp() *QMediaContainerControl

func (*QMediaContainerControl) ContainerDescription

func (this *QMediaContainerControl) ContainerDescription(formatMimeType string) string

Returns a description of the container formatMimeType.

func (*QMediaContainerControl) ContainerFormat

func (this *QMediaContainerControl) ContainerFormat() string

Returns the selected container format.

See also setContainerFormat().

func (*QMediaContainerControl) GetCthis

func (this *QMediaContainerControl) GetCthis() unsafe.Pointer

func (*QMediaContainerControl) MetaObject

func (this *QMediaContainerControl) MetaObject() *qtcore.QMetaObject

func (*QMediaContainerControl) NewForInherit

Constructs a new media container control with the given parent.

func (*QMediaContainerControl) NewForInheritp

Constructs a new media container control with the given parent.

func (*QMediaContainerControl) NewFromPointer

func (*QMediaContainerControl) QMediaContainerControl_PTR

func (ptr *QMediaContainerControl) QMediaContainerControl_PTR() *QMediaContainerControl

func (*QMediaContainerControl) SetContainerFormat

func (this *QMediaContainerControl) SetContainerFormat(format string)

Sets the current container format.

See also containerFormat().

func (*QMediaContainerControl) SetCthis

func (this *QMediaContainerControl) SetCthis(cthis unsafe.Pointer)

func (*QMediaContainerControl) SupportedContainers

func (this *QMediaContainerControl) SupportedContainers() *qtcore.QStringList

Returns a list of MIME types of supported container formats.

type QMediaContainerControl_ITF

type QMediaContainerControl_ITF interface {
	QMediaControl_ITF
	QMediaContainerControl_PTR() *QMediaContainerControl
}

type QMediaContent

type QMediaContent struct {
	*qtrt.CObject
}

func NewQMediaContent

func NewQMediaContent() *QMediaContent

func NewQMediaContent1

func NewQMediaContent1(contentUrl qtcore.QUrl_ITF) *QMediaContent

func NewQMediaContent2

func NewQMediaContent2(contentRequest qtnetwork.QNetworkRequest_ITF) *QMediaContent

func NewQMediaContent3

func NewQMediaContent3(contentResource QMediaResource_ITF) *QMediaContent

func NewQMediaContent4

func NewQMediaContent4(playlist QMediaPlaylist_ITF, contentUrl qtcore.QUrl_ITF, takeOwnership bool) *QMediaContent

func NewQMediaContent4p

func NewQMediaContent4p(playlist QMediaPlaylist_ITF) *QMediaContent

func NewQMediaContent4p1

func NewQMediaContent4p1(playlist QMediaPlaylist_ITF, contentUrl qtcore.QUrl_ITF) *QMediaContent

func NewQMediaContentFromPointer

func NewQMediaContentFromPointer(cthis unsafe.Pointer) *QMediaContent

func (*QMediaContent) CanonicalRequest

func (this *QMediaContent) CanonicalRequest() *qtnetwork.QNetworkRequest

Returns a QNetworkRequest that represents that canonical resource for this media content.

func (*QMediaContent) CanonicalResource

func (this *QMediaContent) CanonicalResource() *QMediaResource

Returns a QMediaResource that represents that canonical resource for this media content.

func (*QMediaContent) CanonicalUrl

func (this *QMediaContent) CanonicalUrl() *qtcore.QUrl

Returns a QUrl that represents that canonical resource for this media content.

func (*QMediaContent) GetCthis

func (this *QMediaContent) GetCthis() unsafe.Pointer

func (*QMediaContent) IsNull

func (this *QMediaContent) IsNull() bool

Returns true if this media content is null (uninitialized); false otherwise.

func (*QMediaContent) NewForInherit

func (*QMediaContent) NewForInherit() *QMediaContent

Constructs a null QMediaContent.

func (*QMediaContent) NewForInherit1

func (*QMediaContent) NewForInherit1(contentUrl qtcore.QUrl_ITF) *QMediaContent

Constructs a null QMediaContent.

func (*QMediaContent) NewForInherit2

func (*QMediaContent) NewForInherit2(contentRequest qtnetwork.QNetworkRequest_ITF) *QMediaContent

Constructs a null QMediaContent.

func (*QMediaContent) NewForInherit3

func (*QMediaContent) NewForInherit3(contentResource QMediaResource_ITF) *QMediaContent

Constructs a null QMediaContent.

func (*QMediaContent) NewForInherit4

func (*QMediaContent) NewForInherit4(playlist QMediaPlaylist_ITF, contentUrl qtcore.QUrl_ITF, takeOwnership bool) *QMediaContent

Constructs a null QMediaContent.

func (*QMediaContent) NewForInherit4p

func (*QMediaContent) NewForInherit4p(playlist QMediaPlaylist_ITF) *QMediaContent

Constructs a null QMediaContent.

func (*QMediaContent) NewForInherit4p1

func (*QMediaContent) NewForInherit4p1(playlist QMediaPlaylist_ITF, contentUrl qtcore.QUrl_ITF) *QMediaContent

Constructs a null QMediaContent.

func (*QMediaContent) NewFromPointer

func (*QMediaContent) NewFromPointer(cthis unsafe.Pointer) *QMediaContent

func (*QMediaContent) Operator_equal

func (this *QMediaContent) Operator_equal(other QMediaContent_ITF) *QMediaContent

func (*QMediaContent) Operator_equal_equal

func (this *QMediaContent) Operator_equal_equal(other QMediaContent_ITF) bool

func (*QMediaContent) Operator_not_equal

func (this *QMediaContent) Operator_not_equal(other QMediaContent_ITF) bool

func (*QMediaContent) Playlist

func (this *QMediaContent) Playlist() *QMediaPlaylist

Returns a playlist for this media content or 0 if this QMediaContent is not a playlist.

func (*QMediaContent) QMediaContent_PTR

func (ptr *QMediaContent) QMediaContent_PTR() *QMediaContent

func (*QMediaContent) Resources

func (this *QMediaContent) Resources() *QMediaResourceList

Returns a list of alternative resources for this media content. The first item in this list is always the canonical resource.

func (*QMediaContent) SetCthis

func (this *QMediaContent) SetCthis(cthis unsafe.Pointer)

type QMediaContentList

type QMediaContentList struct {
	*qtrt.CObject
}

body block begin

func (*QMediaContentList) Append0

func (this *QMediaContentList) Append0()

void append(const T &)

func (*QMediaContentList) Append1

func (this *QMediaContentList) Append1()

void append(const QList<T> &)

func (*QMediaContentList) At0

func (this *QMediaContentList) At0() *QMediaContent

const T & at(int)

func (*QMediaContentList) Back0

func (this *QMediaContentList) Back0() *QMediaContent

T & back()

func (*QMediaContentList) Back1

func (this *QMediaContentList) Back1() *QMediaContent

const T & back()

func (*QMediaContentList) Begin0

func (this *QMediaContentList) Begin0()

QList::iterator begin()

func (*QMediaContentList) Begin1

func (this *QMediaContentList) Begin1()

QList::const_iterator begin()

func (*QMediaContentList) Cbegin0

func (this *QMediaContentList) Cbegin0()

QList::const_iterator cbegin()

func (*QMediaContentList) Cend0

func (this *QMediaContentList) Cend0()

QList::const_iterator cend()

func (*QMediaContentList) Clear0

func (this *QMediaContentList) Clear0()

void clear()

func (*QMediaContentList) ConstBegin0

func (this *QMediaContentList) ConstBegin0()

QList::const_iterator constBegin()

func (*QMediaContentList) ConstEnd0

func (this *QMediaContentList) ConstEnd0()

QList::const_iterator constEnd()

func (*QMediaContentList) ConstFirst0

func (this *QMediaContentList) ConstFirst0() *QMediaContent

const T & constFirst()

func (*QMediaContentList) ConstLast0

func (this *QMediaContentList) ConstLast0() *QMediaContent

const T & constLast()

func (*QMediaContentList) Contains0

func (this *QMediaContentList) Contains0() bool

bool contains(const T &)

func (*QMediaContentList) Contains_impl0

func (this *QMediaContentList) Contains_impl0() bool

bool contains_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QMediaContentList) Contains_impl1

func (this *QMediaContentList) Contains_impl1() bool

bool contains_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QMediaContentList) Count0

func (this *QMediaContentList) Count0() int

int count(const T &)

func (*QMediaContentList) Count1

func (this *QMediaContentList) Count1() int

int count()

func (*QMediaContentList) Count_impl0

func (this *QMediaContentList) Count_impl0() int

int count_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QMediaContentList) Count_impl1

func (this *QMediaContentList) Count_impl1() int

int count_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QMediaContentList) Crbegin0

func (this *QMediaContentList) Crbegin0()

QList::const_reverse_iterator crbegin()

func (*QMediaContentList) Crend0

func (this *QMediaContentList) Crend0()

QList::const_reverse_iterator crend()

func (*QMediaContentList) Dealloc0

func (this *QMediaContentList) Dealloc0()

void dealloc(QListData::Data *)

func (*QMediaContentList) Detach0

func (this *QMediaContentList) Detach0()

void detach()

func (*QMediaContentList) DetachShared0

func (this *QMediaContentList) DetachShared0()

void detachShared()

func (*QMediaContentList) Detach_helper0

func (this *QMediaContentList) Detach_helper0()

void detach_helper(int)

func (*QMediaContentList) Detach_helper1

func (this *QMediaContentList) Detach_helper1()

void detach_helper()

func (*QMediaContentList) Detach_helper_grow0

func (this *QMediaContentList) Detach_helper_grow0()

QList::Node * detach_helper_grow(int, int)

func (*QMediaContentList) Empty0

func (this *QMediaContentList) Empty0() bool

bool empty()

func (*QMediaContentList) End0

func (this *QMediaContentList) End0()

QList::iterator end()

func (*QMediaContentList) End1

func (this *QMediaContentList) End1()

QList::const_iterator end()

func (*QMediaContentList) EndsWith0

func (this *QMediaContentList) EndsWith0() bool

bool endsWith(const T &)

func (*QMediaContentList) Erase0

func (this *QMediaContentList) Erase0()

QList::iterator erase(QList::iterator)

func (*QMediaContentList) Erase1

func (this *QMediaContentList) Erase1()

QList::iterator erase(QList::iterator, QList::iterator)

func (*QMediaContentList) First0

func (this *QMediaContentList) First0() *QMediaContent

T & first()

func (*QMediaContentList) First1

func (this *QMediaContentList) First1() *QMediaContent

const T & first()

func (*QMediaContentList) FromSet0

func (this *QMediaContentList) FromSet0() *QMediaContentList

QList<T> fromSet(const QSet<T> &)

func (*QMediaContentList) FromStdList0

func (this *QMediaContentList) FromStdList0() *QMediaContentList

QList<T> fromStdList(const std::list<T> &)

func (*QMediaContentList) FromVector0

func (this *QMediaContentList) FromVector0() *QMediaContentList

QList<T> fromVector(const QVector<T> &)

func (*QMediaContentList) Front0

func (this *QMediaContentList) Front0() *QMediaContent

T & front()

func (*QMediaContentList) Front1

func (this *QMediaContentList) Front1() *QMediaContent

const T & front()

func (*QMediaContentList) IndexOf0

func (this *QMediaContentList) IndexOf0() int

int indexOf(const T &, int)

func (*QMediaContentList) Insert0

func (this *QMediaContentList) Insert0()

void insert(int, const T &)

func (*QMediaContentList) Insert1

func (this *QMediaContentList) Insert1()

QList::iterator insert(QList::iterator, const T &)

func (*QMediaContentList) IsDetached0

func (this *QMediaContentList) IsDetached0() bool

bool isDetached()

func (*QMediaContentList) IsEmpty0

func (this *QMediaContentList) IsEmpty0() bool

bool isEmpty()

func (*QMediaContentList) IsSharedWith0

func (this *QMediaContentList) IsSharedWith0() bool

bool isSharedWith(const QList<T> &)

func (*QMediaContentList) IsValidIterator0

func (this *QMediaContentList) IsValidIterator0() bool

bool isValidIterator(const QList::iterator &)

func (*QMediaContentList) Last0

func (this *QMediaContentList) Last0() *QMediaContent

T & last()

func (*QMediaContentList) Last1

func (this *QMediaContentList) Last1() *QMediaContent

const T & last()

func (*QMediaContentList) LastIndexOf0

func (this *QMediaContentList) LastIndexOf0() int

int lastIndexOf(const T &, int)

func (*QMediaContentList) Length0

func (this *QMediaContentList) Length0() int

int length()

func (*QMediaContentList) Mid0

func (this *QMediaContentList) Mid0() *QMediaContentList

QList<T> mid(int, int)

func (*QMediaContentList) Move0

func (this *QMediaContentList) Move0()

void move(int, int)

func (*QMediaContentList) Node_construct0

func (this *QMediaContentList) Node_construct0()

void node_construct(QList::Node *, const T &)

func (*QMediaContentList) Node_copy0

func (this *QMediaContentList) Node_copy0()

void node_copy(QList::Node *, QList::Node *, QList::Node *)

func (*QMediaContentList) Node_destruct0

func (this *QMediaContentList) Node_destruct0()

void node_destruct(QList::Node *)

func (*QMediaContentList) Node_destruct1

func (this *QMediaContentList) Node_destruct1()

void node_destruct(QList::Node *, QList::Node *)

func (*QMediaContentList) Op_eq_impl0

func (this *QMediaContentList) Op_eq_impl0() bool

bool op_eq_impl(const QList<T> &, QListData::NotArrayCompatibleLayout)

func (*QMediaContentList) Op_eq_impl1

func (this *QMediaContentList) Op_eq_impl1() bool

bool op_eq_impl(const QList<T> &, QListData::ArrayCompatibleLayout)

func (*QMediaContentList) Operator_add0

func (this *QMediaContentList) Operator_add0() *QMediaContentList

QList<T> operator+(const QList<T> &)

func (*QMediaContentList) Operator_add_equal0

func (this *QMediaContentList) Operator_add_equal0() *QMediaContentList

QList<T> & operator+=(const QList<T> &)

func (*QMediaContentList) Operator_add_equal1

func (this *QMediaContentList) Operator_add_equal1() *QMediaContentList

QList<T> & operator+=(const T &)

func (*QMediaContentList) Operator_equal0

func (this *QMediaContentList) Operator_equal0() *QMediaContentList

QList<T> & operator=(const QList<T> &)

func (*QMediaContentList) Operator_equal1

func (this *QMediaContentList) Operator_equal1() *QMediaContentList

QList<T> & operator=(QList<T> &&)

func (*QMediaContentList) Operator_equal_equal0

func (this *QMediaContentList) Operator_equal_equal0() bool

bool operator==(const QList<T> &)

func (*QMediaContentList) Operator_get_index0

func (this *QMediaContentList) Operator_get_index0() *QMediaContent

const T & operator[](int)

func (*QMediaContentList) Operator_get_index1

func (this *QMediaContentList) Operator_get_index1() *QMediaContent

T & operator[](int)

func (*QMediaContentList) Operator_left_shift0

func (this *QMediaContentList) Operator_left_shift0() *QMediaContentList

QList<T> & operator<<(const T &)

func (*QMediaContentList) Operator_left_shift1

func (this *QMediaContentList) Operator_left_shift1() *QMediaContentList

QList<T> & operator<<(const QList<T> &)

func (*QMediaContentList) Operator_not_equal0

func (this *QMediaContentList) Operator_not_equal0() bool

bool operator!=(const QList<T> &)

func (*QMediaContentList) Pop_back0

func (this *QMediaContentList) Pop_back0()

void pop_back()

func (*QMediaContentList) Pop_front0

func (this *QMediaContentList) Pop_front0()

void pop_front()

func (*QMediaContentList) Prepend0

func (this *QMediaContentList) Prepend0()

void prepend(const T &)

func (*QMediaContentList) Push_back0

func (this *QMediaContentList) Push_back0()

void push_back(const T &)

func (*QMediaContentList) Push_front0

func (this *QMediaContentList) Push_front0()

void push_front(const T &)

func (*QMediaContentList) Rbegin0

func (this *QMediaContentList) Rbegin0()

QList::reverse_iterator rbegin()

func (*QMediaContentList) Rbegin1

func (this *QMediaContentList) Rbegin1()

QList::const_reverse_iterator rbegin()

func (*QMediaContentList) RemoveAll0

func (this *QMediaContentList) RemoveAll0() int

int removeAll(const T &)

func (*QMediaContentList) RemoveAt0

func (this *QMediaContentList) RemoveAt0()

void removeAt(int)

func (*QMediaContentList) RemoveFirst0

func (this *QMediaContentList) RemoveFirst0()

void removeFirst()

func (*QMediaContentList) RemoveLast0

func (this *QMediaContentList) RemoveLast0()

void removeLast()

func (*QMediaContentList) RemoveOne0

func (this *QMediaContentList) RemoveOne0() bool

bool removeOne(const T &)

func (*QMediaContentList) Rend0

func (this *QMediaContentList) Rend0()

QList::reverse_iterator rend()

func (*QMediaContentList) Rend1

func (this *QMediaContentList) Rend1()

QList::const_reverse_iterator rend()

func (*QMediaContentList) Replace0

func (this *QMediaContentList) Replace0()

void replace(int, const T &)

func (*QMediaContentList) Reserve0

func (this *QMediaContentList) Reserve0()

void reserve(int)

func (*QMediaContentList) SetSharable0

func (this *QMediaContentList) SetSharable0()

void setSharable(bool)

func (*QMediaContentList) Size0

func (this *QMediaContentList) Size0() int

int size()

func (*QMediaContentList) StartsWith0

func (this *QMediaContentList) StartsWith0() bool

bool startsWith(const T &)

func (*QMediaContentList) Swap0

func (this *QMediaContentList) Swap0()

void swap(QList<T> &)

func (*QMediaContentList) Swap1

func (this *QMediaContentList) Swap1()

void swap(int, int)

func (*QMediaContentList) TakeAt0

func (this *QMediaContentList) TakeAt0() *QMediaContent

T takeAt(int)

func (*QMediaContentList) TakeFirst0

func (this *QMediaContentList) TakeFirst0() *QMediaContent

T takeFirst()

func (*QMediaContentList) TakeLast0

func (this *QMediaContentList) TakeLast0() *QMediaContent

T takeLast()

func (*QMediaContentList) ToSet0

func (this *QMediaContentList) ToSet0()

QSet<T> toSet()

func (*QMediaContentList) ToStdList0

func (this *QMediaContentList) ToStdList0()

std::list<T> toStdList()

func (*QMediaContentList) ToVector0

func (this *QMediaContentList) ToVector0()

QVector<T> toVector()

func (*QMediaContentList) Value0

func (this *QMediaContentList) Value0() *QMediaContent

T value(int)

func (*QMediaContentList) Value1

func (this *QMediaContentList) Value1() *QMediaContent

T value(int, const T &)

type QMediaContent_ITF

type QMediaContent_ITF interface {
	QMediaContent_PTR() *QMediaContent
}

type QMediaControl

type QMediaControl struct {
	*qtcore.QObject
}

func NewQMediaControl

func NewQMediaControl(parent qtcore.QObject_ITF) *QMediaControl

func NewQMediaControlFromPointer

func NewQMediaControlFromPointer(cthis unsafe.Pointer) *QMediaControl

func NewQMediaControlp

func NewQMediaControlp() *QMediaControl

func (*QMediaControl) GetCthis

func (this *QMediaControl) GetCthis() unsafe.Pointer

func (*QMediaControl) MetaObject

func (this *QMediaControl) MetaObject() *qtcore.QMetaObject

func (*QMediaControl) NewForInherit

func (*QMediaControl) NewForInherit(parent qtcore.QObject_ITF) *QMediaControl

Constructs a media control with the given parent.

func (*QMediaControl) NewForInheritp

func (*QMediaControl) NewForInheritp() *QMediaControl

Constructs a media control with the given parent.

func (*QMediaControl) NewFromPointer

func (*QMediaControl) NewFromPointer(cthis unsafe.Pointer) *QMediaControl

func (*QMediaControl) QMediaControl_PTR

func (ptr *QMediaControl) QMediaControl_PTR() *QMediaControl

func (*QMediaControl) SetCthis

func (this *QMediaControl) SetCthis(cthis unsafe.Pointer)

type QMediaControl_ITF

type QMediaControl_ITF interface {
	qtcore.QObject_ITF
	QMediaControl_PTR() *QMediaControl
}

type QMediaGaplessPlaybackControl

type QMediaGaplessPlaybackControl struct {
	*QMediaControl
}

func NewQMediaGaplessPlaybackControl

func NewQMediaGaplessPlaybackControl(parent qtcore.QObject_ITF) *QMediaGaplessPlaybackControl

func NewQMediaGaplessPlaybackControlFromPointer

func NewQMediaGaplessPlaybackControlFromPointer(cthis unsafe.Pointer) *QMediaGaplessPlaybackControl

func NewQMediaGaplessPlaybackControlp

func NewQMediaGaplessPlaybackControlp() *QMediaGaplessPlaybackControl

func (*QMediaGaplessPlaybackControl) AdvancedToNextMedia

func (this *QMediaGaplessPlaybackControl) AdvancedToNextMedia()

Signals when the player advances to the next media (the content of next media will be cleared).

See also nextMedia().

func (*QMediaGaplessPlaybackControl) CrossfadeTime

func (this *QMediaGaplessPlaybackControl) CrossfadeTime() float64

Returns current crossfade time in seconds.

See also setCrossfadeTime().

func (*QMediaGaplessPlaybackControl) CrossfadeTimeChanged

func (this *QMediaGaplessPlaybackControl) CrossfadeTimeChanged(crossfadeTime float64)

Signals that the crossfadeTime has changed.

See also crossfadeTime().

func (*QMediaGaplessPlaybackControl) GetCthis

func (this *QMediaGaplessPlaybackControl) GetCthis() unsafe.Pointer

func (*QMediaGaplessPlaybackControl) IsCrossfadeSupported

func (this *QMediaGaplessPlaybackControl) IsCrossfadeSupported() bool

Indicates whether crossfading is supported or not. If crossfading is not supported, setCrossfadeTime() will be ignored and crossfadeTime() will always return 0.

func (*QMediaGaplessPlaybackControl) MetaObject

func (this *QMediaGaplessPlaybackControl) MetaObject() *qtcore.QMetaObject

func (*QMediaGaplessPlaybackControl) NewForInherit

Constructs a new gapless playback control with the given parent.

func (*QMediaGaplessPlaybackControl) NewForInheritp

Constructs a new gapless playback control with the given parent.

func (*QMediaGaplessPlaybackControl) NewFromPointer

func (*QMediaGaplessPlaybackControl) NextMedia

func (this *QMediaGaplessPlaybackControl) NextMedia() *QMediaContent

Returns the content of the next media

See also setNextMedia().

func (*QMediaGaplessPlaybackControl) NextMediaChanged

func (this *QMediaGaplessPlaybackControl) NextMediaChanged(media QMediaContent_ITF)

Signals that the next media has changed (either explicitly via setNextMedia() or when the player clears the next media while advancing to it).

See also nextMedia().

func (*QMediaGaplessPlaybackControl) QMediaGaplessPlaybackControl_PTR

func (ptr *QMediaGaplessPlaybackControl) QMediaGaplessPlaybackControl_PTR() *QMediaGaplessPlaybackControl

func (*QMediaGaplessPlaybackControl) SetCrossfadeTime

func (this *QMediaGaplessPlaybackControl) SetCrossfadeTime(crossfadeTime float64)

Sets the crossfadeTime in seconds for smooth transition.

Positive value means how much time it will take for the next media to transit from silent to full volume and vice versa for current one. So both current and the next one will be playing during this period of time.

A crossfade time of zero or negative will result in gapless playback (suitable for some continuous media).

See also crossfadeTime().

func (*QMediaGaplessPlaybackControl) SetCthis

func (this *QMediaGaplessPlaybackControl) SetCthis(cthis unsafe.Pointer)

func (*QMediaGaplessPlaybackControl) SetNextMedia

func (this *QMediaGaplessPlaybackControl) SetNextMedia(media QMediaContent_ITF)

Sets the next media for smooth transition.

See also nextMedia().

type QMediaGaplessPlaybackControl_ITF

type QMediaGaplessPlaybackControl_ITF interface {
	QMediaControl_ITF
	QMediaGaplessPlaybackControl_PTR() *QMediaGaplessPlaybackControl
}

type QMediaNetworkAccessControl

type QMediaNetworkAccessControl struct {
	*QMediaControl
}

func NewQMediaNetworkAccessControl

func NewQMediaNetworkAccessControl(parent qtcore.QObject_ITF) *QMediaNetworkAccessControl

func NewQMediaNetworkAccessControlFromPointer

func NewQMediaNetworkAccessControlFromPointer(cthis unsafe.Pointer) *QMediaNetworkAccessControl

func NewQMediaNetworkAccessControlp

func NewQMediaNetworkAccessControlp() *QMediaNetworkAccessControl

func (*QMediaNetworkAccessControl) ConfigurationChanged

func (this *QMediaNetworkAccessControl) ConfigurationChanged(configuration qtnetwork.QNetworkConfiguration_ITF)

This signal is emitted when the current active network configuration changes to configuration.

func (*QMediaNetworkAccessControl) CurrentConfiguration

func (this *QMediaNetworkAccessControl) CurrentConfiguration() *qtnetwork.QNetworkConfiguration

Returns the current active configuration in use. A default constructed QNetworkConfigration is returned if no user supplied configuration are in use.

func (*QMediaNetworkAccessControl) GetCthis

func (this *QMediaNetworkAccessControl) GetCthis() unsafe.Pointer

func (*QMediaNetworkAccessControl) MetaObject

func (this *QMediaNetworkAccessControl) MetaObject() *qtcore.QMetaObject

func (*QMediaNetworkAccessControl) NewForInherit

func (*QMediaNetworkAccessControl) NewForInheritp

func (*QMediaNetworkAccessControl) NewFromPointer

func (*QMediaNetworkAccessControl) QMediaNetworkAccessControl_PTR

func (ptr *QMediaNetworkAccessControl) QMediaNetworkAccessControl_PTR() *QMediaNetworkAccessControl

func (*QMediaNetworkAccessControl) SetCthis

func (this *QMediaNetworkAccessControl) SetCthis(cthis unsafe.Pointer)

type QMediaNetworkAccessControl_ITF

type QMediaNetworkAccessControl_ITF interface {
	QMediaControl_ITF
	QMediaNetworkAccessControl_PTR() *QMediaNetworkAccessControl
}

type QMediaObject

type QMediaObject struct {
	*qtcore.QObject
}

func NewQMediaObject

func NewQMediaObject(parent qtcore.QObject_ITF, service QMediaService_ITF) *QMediaObject

func NewQMediaObjectFromPointer

func NewQMediaObjectFromPointer(cthis unsafe.Pointer) *QMediaObject

func (*QMediaObject) AddPropertyWatch

func (this *QMediaObject) AddPropertyWatch(name qtcore.QByteArray_ITF)

Watch the property name. The property's notify signal will be emitted once every notifyInterval milliseconds.

See also notifyInterval.

func (*QMediaObject) Availability

func (this *QMediaObject) Availability() int

Returns the availability of the functionality offered by this object.

In some cases the functionality may not be available (for example, if the current operating system or platform does not provide the required functionality), or it may be temporarily unavailable (for example, audio playback during a phone call or similar).

func (*QMediaObject) AvailabilityChanged

func (this *QMediaObject) AvailabilityChanged(available bool)

Signal emitted when the availability state has changed to available.

Note: Signal availabilityChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(mediaObject, QOverload<bool>::of(&QMediaObject::availabilityChanged),
    [=](bool available){ /-* ... *-/ });

func (*QMediaObject) AvailabilityChanged1

func (this *QMediaObject) AvailabilityChanged1(availability int)

Signal emitted when the availability state has changed to available.

Note: Signal availabilityChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(mediaObject, QOverload<bool>::of(&QMediaObject::availabilityChanged),
    [=](bool available){ /-* ... *-/ });

func (*QMediaObject) AvailableMetaData

func (this *QMediaObject) AvailableMetaData() *qtcore.QStringList

Returns a list of keys there is meta-data available for.

func (*QMediaObject) Bind

func (this *QMediaObject) Bind(arg0 qtcore.QObject_ITF) bool

Bind object to this QMediaObject instance.

This method establishes a relationship between this media object and a helper object. The nature of the relationship depends on both parties. This methods returns true if the helper was successfully bound, false otherwise.

Most subclasses of QMediaObject provide more convenient functions that wrap this functionality, so this function rarely needs to be called directly.

The object passed must implement the QMediaBindableInterface interface.

See also QMediaBindableInterface.

func (*QMediaObject) GetCthis

func (this *QMediaObject) GetCthis() unsafe.Pointer

func (*QMediaObject) InheritAddPropertyWatch

func (this *QMediaObject) InheritAddPropertyWatch(f func(name *qtcore.QByteArray))

void addPropertyWatch(const QByteArray &)

func (*QMediaObject) InheritRemovePropertyWatch

func (this *QMediaObject) InheritRemovePropertyWatch(f func(name *qtcore.QByteArray))

void removePropertyWatch(const QByteArray &)

func (*QMediaObject) IsAvailable

func (this *QMediaObject) IsAvailable() bool

Returns true if the service is available for use.

func (*QMediaObject) IsMetaDataAvailable

func (this *QMediaObject) IsMetaDataAvailable() bool

Returns true if there is meta-data associated with this media object, else false.

func (*QMediaObject) MetaData

func (this *QMediaObject) MetaData(key string) *qtcore.QVariant

Returns the value associated with a meta-data key.

See the list of predefined meta-data keys.

func (*QMediaObject) MetaDataAvailableChanged

func (this *QMediaObject) MetaDataAvailableChanged(available bool)

Signals that the available state of a media object's meta-data has changed.

func (*QMediaObject) MetaDataChanged

func (this *QMediaObject) MetaDataChanged()

Signals that this media object's meta-data has changed.

If multiple meta-data elements are changed, metaDataChanged(const QString &key, const QVariant &value) signal is emitted for each of them with metaDataChanged() changed emitted once.

Note: Signal metaDataChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(mediaObject, QOverload<>::of(&QMediaObject::metaDataChanged),
    [=](){ /-* ... *-/ });

func (*QMediaObject) MetaDataChanged1

func (this *QMediaObject) MetaDataChanged1(key string, value qtcore.QVariant_ITF)

Signals that this media object's meta-data has changed.

If multiple meta-data elements are changed, metaDataChanged(const QString &key, const QVariant &value) signal is emitted for each of them with metaDataChanged() changed emitted once.

Note: Signal metaDataChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(mediaObject, QOverload<>::of(&QMediaObject::metaDataChanged),
    [=](){ /-* ... *-/ });

func (*QMediaObject) MetaObject

func (this *QMediaObject) MetaObject() *qtcore.QMetaObject

func (*QMediaObject) NewForInherit

func (*QMediaObject) NewForInherit(parent qtcore.QObject_ITF, service QMediaService_ITF) *QMediaObject

Constructs a media object which uses the functionality provided by a media service.

The parent is passed to QObject.

This class is meant as a base class for multimedia objects so this constructor is protected.

func (*QMediaObject) NewFromPointer

func (*QMediaObject) NewFromPointer(cthis unsafe.Pointer) *QMediaObject

func (*QMediaObject) NotifyInterval

func (this *QMediaObject) NotifyInterval() int

func (*QMediaObject) NotifyIntervalChanged

func (this *QMediaObject) NotifyIntervalChanged(milliSeconds int)

Signal a change in the notify interval period to milliseconds.

Note: Notifier signal for property notifyInterval.

func (*QMediaObject) QMediaObject_PTR

func (ptr *QMediaObject) QMediaObject_PTR() *QMediaObject

func (*QMediaObject) RemovePropertyWatch

func (this *QMediaObject) RemovePropertyWatch(name qtcore.QByteArray_ITF)

Remove property name from the list of properties whose changes are regularly signaled.

See also notifyInterval.

func (*QMediaObject) Service

func (this *QMediaObject) Service() *QMediaService

Returns the media service that provides the functionality of this multimedia object.

func (*QMediaObject) SetCthis

func (this *QMediaObject) SetCthis(cthis unsafe.Pointer)

func (*QMediaObject) SetNotifyInterval

func (this *QMediaObject) SetNotifyInterval(milliSeconds int)

func (*QMediaObject) Unbind

func (this *QMediaObject) Unbind(arg0 qtcore.QObject_ITF)

Detach object from the QMediaObject instance.

Unbind the helper object from this media object. A warning will be generated if the object was not previously bound to this object.

See also QMediaBindableInterface.

type QMediaObject_ITF

type QMediaObject_ITF interface {
	qtcore.QObject_ITF
	QMediaObject_PTR() *QMediaObject
}

type QMediaPlayer

type QMediaPlayer struct {
	*QMediaObject
}

func NewQMediaPlayer

func NewQMediaPlayer(parent qtcore.QObject_ITF, flags int) *QMediaPlayer

func NewQMediaPlayerFromPointer

func NewQMediaPlayerFromPointer(cthis unsafe.Pointer) *QMediaPlayer

func NewQMediaPlayerp

func NewQMediaPlayerp() *QMediaPlayer

func NewQMediaPlayerp1

func NewQMediaPlayerp1(parent qtcore.QObject_ITF) *QMediaPlayer

func (*QMediaPlayer) AudioAvailableChanged

func (this *QMediaPlayer) AudioAvailableChanged(available bool)

Signals the availability of audio content has changed to available.

Note: Notifier signal for property audioAvailable.

func (*QMediaPlayer) AudioRole

func (this *QMediaPlayer) AudioRole() int

func (*QMediaPlayer) AudioRoleChanged

func (this *QMediaPlayer) AudioRoleChanged(role int)

Signals that the audio role of the media player has changed.

This function was introduced in Qt 5.6.

Note: Notifier signal for property audioRole.

func (*QMediaPlayer) Availability

func (this *QMediaPlayer) Availability() int

Reimplemented from QMediaObject::availability().

func (*QMediaPlayer) Bind

func (this *QMediaPlayer) Bind(arg0 qtcore.QObject_ITF) bool

func (*QMediaPlayer) BufferStatus

func (this *QMediaPlayer) BufferStatus() int

func (*QMediaPlayer) BufferStatusChanged

func (this *QMediaPlayer) BufferStatusChanged(percentFilled int)

Signal the amount of the local buffer filled as a percentage by percentFilled.

Note: Notifier signal for property bufferStatus.

func (*QMediaPlayer) CurrentMedia

func (this *QMediaPlayer) CurrentMedia() *QMediaContent

func (*QMediaPlayer) CurrentMediaChanged

func (this *QMediaPlayer) CurrentMediaChanged(media QMediaContent_ITF)

Signals that the current playing content has been changed to media.

Note: Notifier signal for property currentMedia.

See also currentMedia() and mediaChanged().

func (*QMediaPlayer) CurrentNetworkConfiguration

func (this *QMediaPlayer) CurrentNetworkConfiguration() *qtnetwork.QNetworkConfiguration

Returns the current network access point in use. If a default contructed QNetworkConfiguration is returned this feature is not available or that none of the current supplied configurations are in use.

func (*QMediaPlayer) CustomAudioRole

func (this *QMediaPlayer) CustomAudioRole() string

func (*QMediaPlayer) CustomAudioRoleChanged

func (this *QMediaPlayer) CustomAudioRoleChanged(role string)

Signals that the audio role of the media player has changed.

This function was introduced in Qt 5.11.

Note: Notifier signal for property customAudioRole.

func (*QMediaPlayer) Duration

func (this *QMediaPlayer) Duration() int64

func (*QMediaPlayer) DurationChanged

func (this *QMediaPlayer) DurationChanged(duration int64)

Signal the duration of the content has changed to duration, expressed in milliseconds.

Note: Notifier signal for property duration.

func (*QMediaPlayer) Error

func (this *QMediaPlayer) Error() int

Returns the current error state.

func (*QMediaPlayer) Error1

func (this *QMediaPlayer) Error1(error int)

Returns the current error state.

func (*QMediaPlayer) ErrorItemName

func (this *QMediaPlayer) ErrorItemName(val int) string

func (*QMediaPlayer) ErrorString

func (this *QMediaPlayer) ErrorString() string

func (*QMediaPlayer) FlagItemName

func (this *QMediaPlayer) FlagItemName(val int) string

func (*QMediaPlayer) GetCthis

func (this *QMediaPlayer) GetCthis() unsafe.Pointer

func (*QMediaPlayer) HasSupport

func (this *QMediaPlayer) HasSupport(mimeType string, codecs qtcore.QStringList_ITF, flags int) int

Returns the level of support a media player has for a mimeType and a set of codecs.

The flags argument allows additional requirements such as performance indicators to be specified.

func (*QMediaPlayer) HasSupportp

func (this *QMediaPlayer) HasSupportp(mimeType string) int

Returns the level of support a media player has for a mimeType and a set of codecs.

The flags argument allows additional requirements such as performance indicators to be specified.

func (*QMediaPlayer) HasSupportp1

func (this *QMediaPlayer) HasSupportp1(mimeType string, codecs qtcore.QStringList_ITF) int

Returns the level of support a media player has for a mimeType and a set of codecs.

The flags argument allows additional requirements such as performance indicators to be specified.

func (*QMediaPlayer) IsAudioAvailable

func (this *QMediaPlayer) IsAudioAvailable() bool

func (*QMediaPlayer) IsMuted

func (this *QMediaPlayer) IsMuted() bool

func (*QMediaPlayer) IsSeekable

func (this *QMediaPlayer) IsSeekable() bool

func (*QMediaPlayer) IsVideoAvailable

func (this *QMediaPlayer) IsVideoAvailable() bool

func (*QMediaPlayer) Media

func (this *QMediaPlayer) Media() *QMediaContent

func (*QMediaPlayer) MediaChanged

func (this *QMediaPlayer) MediaChanged(media QMediaContent_ITF)

Signals that the media source has been changed to media.

Note: Notifier signal for property media.

See also media() and currentMediaChanged().

func (*QMediaPlayer) MediaStatus

func (this *QMediaPlayer) MediaStatus() int

func (*QMediaPlayer) MediaStatusChanged

func (this *QMediaPlayer) MediaStatusChanged(status int)

Signals that the status of the current media has changed.

Note: Notifier signal for property mediaStatus.

See also mediaStatus().

func (*QMediaPlayer) MediaStatusItemName

func (this *QMediaPlayer) MediaStatusItemName(val int) string

func (*QMediaPlayer) MediaStream

func (this *QMediaPlayer) MediaStream() *qtcore.QIODevice

Returns the stream source of media data.

This is only valid if a stream was passed to setMedia().

See also setMedia().

func (*QMediaPlayer) MetaObject

func (this *QMediaPlayer) MetaObject() *qtcore.QMetaObject

func (*QMediaPlayer) MutedChanged

func (this *QMediaPlayer) MutedChanged(muted bool)

Signal the mute state has changed to muted.

Note: Notifier signal for property muted.

func (*QMediaPlayer) NetworkConfigurationChanged

func (this *QMediaPlayer) NetworkConfigurationChanged(configuration qtnetwork.QNetworkConfiguration_ITF)

Signal that the active in use network access point has been changed to configuration and all subsequent network access will use this configuration.

func (*QMediaPlayer) NewForInherit

func (*QMediaPlayer) NewForInherit(parent qtcore.QObject_ITF, flags int) *QMediaPlayer

Construct a QMediaPlayer instance parented to parent and with flags.

func (*QMediaPlayer) NewForInheritp

func (*QMediaPlayer) NewForInheritp() *QMediaPlayer

Construct a QMediaPlayer instance parented to parent and with flags.

func (*QMediaPlayer) NewForInheritp1

func (*QMediaPlayer) NewForInheritp1(parent qtcore.QObject_ITF) *QMediaPlayer

Construct a QMediaPlayer instance parented to parent and with flags.

func (*QMediaPlayer) NewFromPointer

func (*QMediaPlayer) NewFromPointer(cthis unsafe.Pointer) *QMediaPlayer

func (*QMediaPlayer) Pause

func (this *QMediaPlayer) Pause()

Pause playing the current source.

func (*QMediaPlayer) Play

func (this *QMediaPlayer) Play()

Start or resume playing the current source.

func (*QMediaPlayer) PlaybackRate

func (this *QMediaPlayer) PlaybackRate() float64

func (*QMediaPlayer) PlaybackRateChanged

func (this *QMediaPlayer) PlaybackRateChanged(rate float64)

Signals the playbackRate has changed to rate.

Note: Notifier signal for property playbackRate.

func (*QMediaPlayer) Playlist

func (this *QMediaPlayer) Playlist() *QMediaPlaylist

func (*QMediaPlayer) Position

func (this *QMediaPlayer) Position() int64

func (*QMediaPlayer) PositionChanged

func (this *QMediaPlayer) PositionChanged(position int64)

Signal the position of the content has changed to position, expressed in milliseconds.

Note: Notifier signal for property position.

func (*QMediaPlayer) QMediaPlayer_PTR

func (ptr *QMediaPlayer) QMediaPlayer_PTR() *QMediaPlayer

func (*QMediaPlayer) SeekableChanged

func (this *QMediaPlayer) SeekableChanged(seekable bool)

Signals the seekable status of the player object has changed.

Note: Notifier signal for property seekable.

func (*QMediaPlayer) SetAudioRole

func (this *QMediaPlayer) SetAudioRole(audioRole int)

func (*QMediaPlayer) SetCthis

func (this *QMediaPlayer) SetCthis(cthis unsafe.Pointer)

func (*QMediaPlayer) SetCustomAudioRole

func (this *QMediaPlayer) SetCustomAudioRole(audioRole string)

func (*QMediaPlayer) SetMedia

func (this *QMediaPlayer) SetMedia(media QMediaContent_ITF, stream qtcore.QIODevice_ITF)

Sets the current media source.

If a stream is supplied; media data will be read from it instead of resolving the media source. In this case the media source may still be used to resolve additional information about the media such as mime type. The stream must be open and readable.

Setting the media to a null QMediaContent will cause the player to discard all information relating to the current media source and to cease all I/O operations related to that media.

Note: This function returns immediately after recording the specified source of the media. It does not wait for the media to finish loading and does not check for errors. Listen for the mediaStatusChanged() and error() signals to be notified when the media is loaded and when an error occurs during loading.

Note: Setter function for property media.

See also media().

func (*QMediaPlayer) SetMediap

func (this *QMediaPlayer) SetMediap(media QMediaContent_ITF)

Sets the current media source.

If a stream is supplied; media data will be read from it instead of resolving the media source. In this case the media source may still be used to resolve additional information about the media such as mime type. The stream must be open and readable.

Setting the media to a null QMediaContent will cause the player to discard all information relating to the current media source and to cease all I/O operations related to that media.

Note: This function returns immediately after recording the specified source of the media. It does not wait for the media to finish loading and does not check for errors. Listen for the mediaStatusChanged() and error() signals to be notified when the media is loaded and when an error occurs during loading.

Note: Setter function for property media.

See also media().

func (*QMediaPlayer) SetMuted

func (this *QMediaPlayer) SetMuted(muted bool)

func (*QMediaPlayer) SetPlaybackRate

func (this *QMediaPlayer) SetPlaybackRate(rate float64)

func (*QMediaPlayer) SetPlaylist

func (this *QMediaPlayer) SetPlaylist(playlist QMediaPlaylist_ITF)

func (*QMediaPlayer) SetPosition

func (this *QMediaPlayer) SetPosition(position int64)

func (*QMediaPlayer) SetVideoOutput

func (this *QMediaPlayer) SetVideoOutput(surface QAbstractVideoSurface_ITF)

Attach a QVideoWidget video output to the media player.

If the media player has already video output attached, it will be replaced with a new one.

func (*QMediaPlayer) SetVolume

func (this *QMediaPlayer) SetVolume(volume int)

func (*QMediaPlayer) State

func (this *QMediaPlayer) State() int

func (*QMediaPlayer) StateChanged

func (this *QMediaPlayer) StateChanged(newState int)

Signal the state of the Player object has changed.

Note: Notifier signal for property state.

func (*QMediaPlayer) StateItemName

func (this *QMediaPlayer) StateItemName(val int) string

func (*QMediaPlayer) Stop

func (this *QMediaPlayer) Stop()

Stop playing, and reset the play position to the beginning.

func (*QMediaPlayer) SupportedCustomAudioRoles

func (this *QMediaPlayer) SupportedCustomAudioRoles() *qtcore.QStringList

Returns a list of supported custom audio roles. An empty list may indicate that the supported custom audio roles aren't known. The list may not be complete.

This function was introduced in Qt 5.11.

See also customAudioRole.

func (*QMediaPlayer) SupportedMimeTypes

func (this *QMediaPlayer) SupportedMimeTypes(flags int) *qtcore.QStringList

func (*QMediaPlayer) SupportedMimeTypesp

func (this *QMediaPlayer) SupportedMimeTypesp() *qtcore.QStringList

func (*QMediaPlayer) Unbind

func (this *QMediaPlayer) Unbind(arg0 qtcore.QObject_ITF)

func (*QMediaPlayer) VideoAvailableChanged

func (this *QMediaPlayer) VideoAvailableChanged(videoAvailable bool)

Signal the availability of visual content has changed to videoAvailable.

Note: Notifier signal for property videoAvailable.

func (*QMediaPlayer) Volume

func (this *QMediaPlayer) Volume() int

func (*QMediaPlayer) VolumeChanged

func (this *QMediaPlayer) VolumeChanged(volume int)

Signal the playback volume has changed to volume.

Note: Notifier signal for property volume.

type QMediaPlayerControl

type QMediaPlayerControl struct {
	*QMediaControl
}

func NewQMediaPlayerControl

func NewQMediaPlayerControl(parent qtcore.QObject_ITF) *QMediaPlayerControl

func NewQMediaPlayerControlFromPointer

func NewQMediaPlayerControlFromPointer(cthis unsafe.Pointer) *QMediaPlayerControl

func NewQMediaPlayerControlp

func NewQMediaPlayerControlp() *QMediaPlayerControl

func (*QMediaPlayerControl) AudioAvailableChanged

func (this *QMediaPlayerControl) AudioAvailableChanged(audioAvailable bool)

Signals that there has been a change in the availability of audio output audioAvailable.

See also isAudioAvailable().

func (*QMediaPlayerControl) AvailablePlaybackRanges

func (this *QMediaPlayerControl) AvailablePlaybackRanges() *QMediaTimeRange

Returns a range of times in milliseconds that can be played back.

Usually for local files this is a continuous interval equal to [0..duration()] or an empty time range if seeking is not supported, but for network sources it refers to the buffered parts of the media.

func (*QMediaPlayerControl) AvailablePlaybackRangesChanged

func (this *QMediaPlayerControl) AvailablePlaybackRangesChanged(ranges QMediaTimeRange_ITF)

Signals that the available media playback ranges have changed.

See also QMediaPlayerControl::availablePlaybackRanges().

func (*QMediaPlayerControl) BufferStatus

func (this *QMediaPlayerControl) BufferStatus() int

Returns the buffering progress of the current media. Progress is measured in the percentage of the buffer filled.

func (*QMediaPlayerControl) BufferStatusChanged

func (this *QMediaPlayerControl) BufferStatusChanged(percentFilled int)

Signal the amount of the local buffer filled as a percentage by percentFilled.

See also bufferStatus().

func (*QMediaPlayerControl) Duration

func (this *QMediaPlayerControl) Duration() int64

Returns the duration of the current media in milliseconds.

func (*QMediaPlayerControl) DurationChanged

func (this *QMediaPlayerControl) DurationChanged(duration int64)

Signals that the duration of the current media has changed.

See also duration().

func (*QMediaPlayerControl) Error

func (this *QMediaPlayerControl) Error(error int, errorString string)

Signals that an error has occurred. The errorString provides a more detailed explanation.

func (*QMediaPlayerControl) GetCthis

func (this *QMediaPlayerControl) GetCthis() unsafe.Pointer

func (*QMediaPlayerControl) IsAudioAvailable

func (this *QMediaPlayerControl) IsAudioAvailable() bool

Identifies if there is audio output available for the current media.

Returns true if audio output is available and false otherwise.

func (*QMediaPlayerControl) IsMuted

func (this *QMediaPlayerControl) IsMuted() bool

Returns the mute state of a player control.

func (*QMediaPlayerControl) IsSeekable

func (this *QMediaPlayerControl) IsSeekable() bool

Identifies if the current media is seekable.

Returns true if it possible to seek within the current media, and false otherwise.

func (*QMediaPlayerControl) IsVideoAvailable

func (this *QMediaPlayerControl) IsVideoAvailable() bool

Identifies if there is video output available for the current media.

Returns true if video output is available and false otherwise.

func (*QMediaPlayerControl) Media

func (this *QMediaPlayerControl) Media() *QMediaContent

Returns the current media source.

See also setMedia().

func (*QMediaPlayerControl) MediaChanged

func (this *QMediaPlayerControl) MediaChanged(content QMediaContent_ITF)

Signals that the current media content has changed.

func (*QMediaPlayerControl) MediaStatus

func (this *QMediaPlayerControl) MediaStatus() int

Returns the status of the current media.

func (*QMediaPlayerControl) MediaStatusChanged

func (this *QMediaPlayerControl) MediaStatusChanged(status int)

Signals that the status of the current media has changed.

See also mediaStatus().

func (*QMediaPlayerControl) MediaStream

func (this *QMediaPlayerControl) MediaStream() *qtcore.QIODevice

Returns the current media stream. This is only a valid if a stream was passed to setMedia().

See also setMedia().

func (*QMediaPlayerControl) MetaObject

func (this *QMediaPlayerControl) MetaObject() *qtcore.QMetaObject

func (*QMediaPlayerControl) MutedChanged

func (this *QMediaPlayerControl) MutedChanged(mute bool)

Signals a change in the mute status of a player control.

See also isMuted().

func (*QMediaPlayerControl) NewForInherit

Constructs a new media player control with the given parent.

func (*QMediaPlayerControl) NewForInheritp

func (*QMediaPlayerControl) NewForInheritp() *QMediaPlayerControl

Constructs a new media player control with the given parent.

func (*QMediaPlayerControl) NewFromPointer

func (*QMediaPlayerControl) NewFromPointer(cthis unsafe.Pointer) *QMediaPlayerControl

func (*QMediaPlayerControl) Pause

func (this *QMediaPlayerControl) Pause()

Pauses playback of the current media.

If successful the player control will immediately enter the paused state.

See also state(), play(), and stop().

func (*QMediaPlayerControl) Play

func (this *QMediaPlayerControl) Play()

Starts playback of the current media.

If successful the player control will immediately enter the playing state.

See also state().

func (*QMediaPlayerControl) PlaybackRate

func (this *QMediaPlayerControl) PlaybackRate() float64

Returns the rate of playback.

See also setPlaybackRate().

func (*QMediaPlayerControl) PlaybackRateChanged

func (this *QMediaPlayerControl) PlaybackRateChanged(rate float64)

Signal emitted when playback rate changes to rate.

func (*QMediaPlayerControl) Position

func (this *QMediaPlayerControl) Position() int64

Returns the current playback position in milliseconds.

See also setPosition().

func (*QMediaPlayerControl) PositionChanged

func (this *QMediaPlayerControl) PositionChanged(position int64)

Signals the playback position has changed.

This is only emitted in when there has been a discontinous change in the playback postion, such as a seek or the position being reset.

See also position().

func (*QMediaPlayerControl) QMediaPlayerControl_PTR

func (ptr *QMediaPlayerControl) QMediaPlayerControl_PTR() *QMediaPlayerControl

func (*QMediaPlayerControl) SeekableChanged

func (this *QMediaPlayerControl) SeekableChanged(seekable bool)

Signals that the seekable state of a player control has changed.

See also isSeekable().

func (*QMediaPlayerControl) SetCthis

func (this *QMediaPlayerControl) SetCthis(cthis unsafe.Pointer)

func (*QMediaPlayerControl) SetMedia

func (this *QMediaPlayerControl) SetMedia(media QMediaContent_ITF, stream qtcore.QIODevice_ITF)

Sets the current media source. If a stream is supplied; data will be read from that instead of attempting to resolve the media source. The media source may still be used to supply media information such as mime type.

Setting the media to a null QMediaContent will cause the control to discard all information relating to the current media source and to cease all I/O operations related to that media.

Qt resource files are never passed as is. If the service supports QMediaServiceProviderHint::StreamPlayback, a stream is supplied, pointing to an opened QFile. Otherwise, the resource is copied into a temporary file and media contains the url to that file.

See also media().

func (*QMediaPlayerControl) SetMuted

func (this *QMediaPlayerControl) SetMuted(mute bool)

Sets the mute state of a player control.

See also isMuted().

func (*QMediaPlayerControl) SetPlaybackRate

func (this *QMediaPlayerControl) SetPlaybackRate(rate float64)

Sets the rate of playback.

See also playbackRate().

func (*QMediaPlayerControl) SetPosition

func (this *QMediaPlayerControl) SetPosition(position int64)

Sets the playback position of the current media. This will initiate a seek and it may take some time for playback to reach the position set.

See also position().

func (*QMediaPlayerControl) SetVolume

func (this *QMediaPlayerControl) SetVolume(volume int)

Sets the audio volume of a player control.

The volume is scaled linearly, ranging from 0 (silence) to 100 (full volume).

See also volume().

func (*QMediaPlayerControl) State

func (this *QMediaPlayerControl) State() int

Returns the state of a player control.

func (*QMediaPlayerControl) StateChanged

func (this *QMediaPlayerControl) StateChanged(newState int)

Signals that the state of a player control has changed to newState.

See also state().

func (*QMediaPlayerControl) Stop

func (this *QMediaPlayerControl) Stop()

Stops playback of the current media.

If successful the player control will immediately enter the stopped state.

func (*QMediaPlayerControl) VideoAvailableChanged

func (this *QMediaPlayerControl) VideoAvailableChanged(videoAvailable bool)

Signal that the availability of visual content has changed to videoAvailable.

See also isVideoAvailable().

func (*QMediaPlayerControl) Volume

func (this *QMediaPlayerControl) Volume() int

Returns the audio volume of a player control.

See also setVolume().

func (*QMediaPlayerControl) VolumeChanged

func (this *QMediaPlayerControl) VolumeChanged(volume int)

Signals the audio volume of a player control has changed.

See also volume().

type QMediaPlayerControl_ITF

type QMediaPlayerControl_ITF interface {
	QMediaControl_ITF
	QMediaPlayerControl_PTR() *QMediaPlayerControl
}

type QMediaPlayer_ITF

type QMediaPlayer_ITF interface {
	QMediaObject_ITF
	QMediaPlayer_PTR() *QMediaPlayer
}

type QMediaPlayer__Error

type QMediaPlayer__Error = int

Defines a media player error condition.

const QMediaPlayer__AccessDeniedError QMediaPlayer__Error = 4

There are not the appropriate permissions to play a media resource.

const QMediaPlayer__FormatError QMediaPlayer__Error = 2

The format of a media resource isn't (fully) supported. Playback may still be possible, but without an audio or video component.

const QMediaPlayer__MediaIsPlaylist QMediaPlayer__Error = 6
const QMediaPlayer__NetworkError QMediaPlayer__Error = 3

A network error occurred.

const QMediaPlayer__NoError QMediaPlayer__Error = 0

No error has occurred.

const QMediaPlayer__ResourceError QMediaPlayer__Error = 1

A media resource couldn't be resolved.

const QMediaPlayer__ServiceMissingError QMediaPlayer__Error = 5

A valid playback service was not found, playback cannot proceed.

type QMediaPlayer__Flag

type QMediaPlayer__Flag = int
const QMediaPlayer__LowLatency QMediaPlayer__Flag = 1
const QMediaPlayer__StreamPlayback QMediaPlayer__Flag = 2
const QMediaPlayer__VideoSurface QMediaPlayer__Flag = 4

type QMediaPlayer__MediaStatus

type QMediaPlayer__MediaStatus = int

Defines the status of a media player's current media.

const QMediaPlayer__BufferedMedia QMediaPlayer__MediaStatus = 6

The player has fully buffered the current media. The player is in the PlayingState or PausedState.

const QMediaPlayer__BufferingMedia QMediaPlayer__MediaStatus = 5

The player is buffering data but has enough data buffered for playback to continue for the immediate future. The player is in the PlayingState or PausedState.

const QMediaPlayer__EndOfMedia QMediaPlayer__MediaStatus = 7

Playback has reached the end of the current media. The player is in the StoppedState.

const QMediaPlayer__InvalidMedia QMediaPlayer__MediaStatus = 8

The current media cannot be played. The player is in the StoppedState.

const QMediaPlayer__LoadedMedia QMediaPlayer__MediaStatus = 3

The current media has been loaded. The player is in the StoppedState.

const QMediaPlayer__LoadingMedia QMediaPlayer__MediaStatus = 2

The current media is being loaded. The player may be in any state.

const QMediaPlayer__NoMedia QMediaPlayer__MediaStatus = 1

The is no current media. The player is in the StoppedState.

const QMediaPlayer__StalledMedia QMediaPlayer__MediaStatus = 4

Playback of the current media has stalled due to insufficient buffering or some other temporary interruption. The player is in the PlayingState or PausedState.

const QMediaPlayer__UnknownMediaStatus QMediaPlayer__MediaStatus = 0

The status of the media cannot be determined.

type QMediaPlayer__State

type QMediaPlayer__State = int

Defines the current state of a media player.

const QMediaPlayer__PausedState QMediaPlayer__State = 2

The media player has paused playback, playback of the current track will resume from the position the player was paused at.

const QMediaPlayer__PlayingState QMediaPlayer__State = 1

The media player is currently playing content.

const QMediaPlayer__StoppedState QMediaPlayer__State = 0

The media player is not playing content, playback will begin from the start of the current track.

type QMediaPlaylist

type QMediaPlaylist struct {
	*qtcore.QObject
	*QMediaBindableInterface
}

func NewQMediaPlaylist

func NewQMediaPlaylist(parent qtcore.QObject_ITF) *QMediaPlaylist

func NewQMediaPlaylistFromPointer

func NewQMediaPlaylistFromPointer(cthis unsafe.Pointer) *QMediaPlaylist

func NewQMediaPlaylistp

func NewQMediaPlaylistp() *QMediaPlaylist

func (*QMediaPlaylist) AddMedia

func (this *QMediaPlaylist) AddMedia(content QMediaContent_ITF) bool

Append the media content to the playlist.

Returns true if the operation is successful, otherwise returns false.

func (*QMediaPlaylist) Clear

func (this *QMediaPlaylist) Clear() bool

Remove all the items from the playlist.

Returns true if the operation is successful, otherwise return false.

func (*QMediaPlaylist) CurrentIndex

func (this *QMediaPlaylist) CurrentIndex() int

Returns position of the current media content in the playlist.

Note: Getter function for property currentIndex.

See also setCurrentIndex().

func (*QMediaPlaylist) CurrentIndexChanged

func (this *QMediaPlaylist) CurrentIndexChanged(index int)

Signal emitted when playlist position changed to position.

Note: Notifier signal for property currentIndex.

func (*QMediaPlaylist) CurrentMedia

func (this *QMediaPlaylist) CurrentMedia() *QMediaContent

Returns the current media content.

Note: Getter function for property currentMedia.

func (*QMediaPlaylist) CurrentMediaChanged

func (this *QMediaPlaylist) CurrentMediaChanged(arg0 QMediaContent_ITF)

Signal emitted when current media changes to content.

Note: Notifier signal for property currentMedia.

func (*QMediaPlaylist) Error

func (this *QMediaPlaylist) Error() int

Returns the last error condition.

func (*QMediaPlaylist) ErrorItemName

func (this *QMediaPlaylist) ErrorItemName(val int) string

func (*QMediaPlaylist) ErrorString

func (this *QMediaPlaylist) ErrorString() string

Returns the string describing the last error condition.

func (*QMediaPlaylist) GetCthis

func (this *QMediaPlaylist) GetCthis() unsafe.Pointer

func (*QMediaPlaylist) InheritSetMediaObject

func (this *QMediaPlaylist) InheritSetMediaObject(f func(object *QMediaObject) bool)

bool setMediaObject(QMediaObject *)

func (*QMediaPlaylist) InsertMedia

func (this *QMediaPlaylist) InsertMedia(index int, content QMediaContent_ITF) bool

Insert the media content to the playlist at position pos.

Returns true if the operation is successful, otherwise returns false.

func (*QMediaPlaylist) IsEmpty

func (this *QMediaPlaylist) IsEmpty() bool

Returns true if the playlist contains no items, otherwise returns false.

See also mediaCount().

func (*QMediaPlaylist) IsReadOnly

func (this *QMediaPlaylist) IsReadOnly() bool

Returns true if the playlist can be modified, otherwise returns false.

See also mediaCount().

func (*QMediaPlaylist) Load

func (this *QMediaPlaylist) Load(request qtnetwork.QNetworkRequest_ITF, format string)

Load playlist using network request. If format is specified, it is used, otherwise format is guessed from playlist name and data.

New items are appended to playlist.

QMediaPlaylist::loaded() signal is emitted if playlist was loaded successfully, otherwise the playlist emits loadFailed().

func (*QMediaPlaylist) Load1

func (this *QMediaPlaylist) Load1(location qtcore.QUrl_ITF, format string)

Load playlist using network request. If format is specified, it is used, otherwise format is guessed from playlist name and data.

New items are appended to playlist.

QMediaPlaylist::loaded() signal is emitted if playlist was loaded successfully, otherwise the playlist emits loadFailed().

func (*QMediaPlaylist) Load1p

func (this *QMediaPlaylist) Load1p(location qtcore.QUrl_ITF)

Load playlist using network request. If format is specified, it is used, otherwise format is guessed from playlist name and data.

New items are appended to playlist.

QMediaPlaylist::loaded() signal is emitted if playlist was loaded successfully, otherwise the playlist emits loadFailed().

func (*QMediaPlaylist) Load2

func (this *QMediaPlaylist) Load2(device qtcore.QIODevice_ITF, format string)

Load playlist using network request. If format is specified, it is used, otherwise format is guessed from playlist name and data.

New items are appended to playlist.

QMediaPlaylist::loaded() signal is emitted if playlist was loaded successfully, otherwise the playlist emits loadFailed().

func (*QMediaPlaylist) Load2p

func (this *QMediaPlaylist) Load2p(device qtcore.QIODevice_ITF)

Load playlist using network request. If format is specified, it is used, otherwise format is guessed from playlist name and data.

New items are appended to playlist.

QMediaPlaylist::loaded() signal is emitted if playlist was loaded successfully, otherwise the playlist emits loadFailed().

func (*QMediaPlaylist) LoadFailed

func (this *QMediaPlaylist) LoadFailed()

Signal emitted if failed to load playlist.

func (*QMediaPlaylist) Loaded

func (this *QMediaPlaylist) Loaded()

Signal emitted when playlist finished loading.

func (*QMediaPlaylist) Loadp

func (this *QMediaPlaylist) Loadp(request qtnetwork.QNetworkRequest_ITF)

Load playlist using network request. If format is specified, it is used, otherwise format is guessed from playlist name and data.

New items are appended to playlist.

QMediaPlaylist::loaded() signal is emitted if playlist was loaded successfully, otherwise the playlist emits loadFailed().

func (*QMediaPlaylist) Media

func (this *QMediaPlaylist) Media(index int) *QMediaContent

Returns the media content at index in the playlist.

func (*QMediaPlaylist) MediaAboutToBeInserted

func (this *QMediaPlaylist) MediaAboutToBeInserted(start int, end_ int)

Signal emitted when items are to be inserted at start and ending at end.

func (*QMediaPlaylist) MediaAboutToBeRemoved

func (this *QMediaPlaylist) MediaAboutToBeRemoved(start int, end_ int)

Signal emitted when item are to be deleted at start and ending at end.

func (*QMediaPlaylist) MediaChanged

func (this *QMediaPlaylist) MediaChanged(start int, end_ int)

This signal is emitted after media has been changed in the playlist between start and end positions inclusive.

func (*QMediaPlaylist) MediaCount

func (this *QMediaPlaylist) MediaCount() int

Returns the number of items in the playlist.

See also isEmpty().

func (*QMediaPlaylist) MediaInserted

func (this *QMediaPlaylist) MediaInserted(start int, end_ int)

This signal is emitted after media has been inserted into the playlist. The new items are those between start and end inclusive.

func (*QMediaPlaylist) MediaObject

func (this *QMediaPlaylist) MediaObject() *QMediaObject

Reimplemented from QMediaBindableInterface::mediaObject().

Returns the QMediaObject instance that this QMediaPlaylist is bound too, or 0 otherwise.

func (*QMediaPlaylist) MediaRemoved

func (this *QMediaPlaylist) MediaRemoved(start int, end_ int)

This signal is emitted after media has been removed from the playlist. The removed items are those between start and end inclusive.

func (*QMediaPlaylist) MetaObject

func (this *QMediaPlaylist) MetaObject() *qtcore.QMetaObject

func (*QMediaPlaylist) MoveMedia

func (this *QMediaPlaylist) MoveMedia(from int, to int) bool

Move the item from position from to position to.

Returns true if the operation is successful, otherwise false.

This function was introduced in Qt 5.7.

func (*QMediaPlaylist) NewForInherit

func (*QMediaPlaylist) NewForInherit(parent qtcore.QObject_ITF) *QMediaPlaylist

Create a new playlist object with the given parent.

func (*QMediaPlaylist) NewForInheritp

func (*QMediaPlaylist) NewForInheritp() *QMediaPlaylist

Create a new playlist object with the given parent.

func (*QMediaPlaylist) NewFromPointer

func (*QMediaPlaylist) NewFromPointer(cthis unsafe.Pointer) *QMediaPlaylist

func (*QMediaPlaylist) Next

func (this *QMediaPlaylist) Next()

Advance to the next media content in playlist.

func (*QMediaPlaylist) NextIndex

func (this *QMediaPlaylist) NextIndex(steps int) int

Returns the index of the item, which would be current after calling next() steps times.

Returned value depends on the size of playlist, current position and playback mode.

See also QMediaPlaylist::playbackMode() and previousIndex().

func (*QMediaPlaylist) NextIndexp

func (this *QMediaPlaylist) NextIndexp() int

Returns the index of the item, which would be current after calling next() steps times.

Returned value depends on the size of playlist, current position and playback mode.

See also QMediaPlaylist::playbackMode() and previousIndex().

func (*QMediaPlaylist) PlaybackMode

func (this *QMediaPlaylist) PlaybackMode() int

func (*QMediaPlaylist) PlaybackModeChanged

func (this *QMediaPlaylist) PlaybackModeChanged(mode int)

Signal emitted when playback mode changed to mode.

Note: Notifier signal for property playbackMode.

func (*QMediaPlaylist) PlaybackModeItemName

func (this *QMediaPlaylist) PlaybackModeItemName(val int) string

func (*QMediaPlaylist) Previous

func (this *QMediaPlaylist) Previous()

Return to the previous media content in playlist.

func (*QMediaPlaylist) PreviousIndex

func (this *QMediaPlaylist) PreviousIndex(steps int) int

Returns the index of the item, which would be current after calling previous() steps times.

See also QMediaPlaylist::playbackMode() and nextIndex().

func (*QMediaPlaylist) PreviousIndexp

func (this *QMediaPlaylist) PreviousIndexp() int

Returns the index of the item, which would be current after calling previous() steps times.

See also QMediaPlaylist::playbackMode() and nextIndex().

func (*QMediaPlaylist) QMediaPlaylist_PTR

func (ptr *QMediaPlaylist) QMediaPlaylist_PTR() *QMediaPlaylist

func (*QMediaPlaylist) RemoveMedia

func (this *QMediaPlaylist) RemoveMedia(pos int) bool

Remove the item from the playlist at position pos.

Returns true if the operation is successful, otherwise return false.

func (*QMediaPlaylist) RemoveMedia1

func (this *QMediaPlaylist) RemoveMedia1(start int, end_ int) bool

Remove the item from the playlist at position pos.

Returns true if the operation is successful, otherwise return false.

func (*QMediaPlaylist) Save

func (this *QMediaPlaylist) Save(location qtcore.QUrl_ITF, format string) bool

Save playlist to location. If format is specified, it is used, otherwise format is guessed from location name.

Returns true if playlist was saved successfully, otherwise returns false.

func (*QMediaPlaylist) Save1

func (this *QMediaPlaylist) Save1(device qtcore.QIODevice_ITF, format string) bool

Save playlist to location. If format is specified, it is used, otherwise format is guessed from location name.

Returns true if playlist was saved successfully, otherwise returns false.

func (*QMediaPlaylist) Savep

func (this *QMediaPlaylist) Savep(location qtcore.QUrl_ITF) bool

Save playlist to location. If format is specified, it is used, otherwise format is guessed from location name.

Returns true if playlist was saved successfully, otherwise returns false.

func (*QMediaPlaylist) SetCthis

func (this *QMediaPlaylist) SetCthis(cthis unsafe.Pointer)

func (*QMediaPlaylist) SetCurrentIndex

func (this *QMediaPlaylist) SetCurrentIndex(index int)

Activate media content from playlist at position playlistPosition.

Note: Setter function for property currentIndex.

See also currentIndex().

func (*QMediaPlaylist) SetMediaObject

func (this *QMediaPlaylist) SetMediaObject(object QMediaObject_ITF) bool

func (*QMediaPlaylist) SetPlaybackMode

func (this *QMediaPlaylist) SetPlaybackMode(mode int)

func (*QMediaPlaylist) Shuffle

func (this *QMediaPlaylist) Shuffle()

Shuffle items in the playlist.

type QMediaPlaylist_ITF

type QMediaPlaylist_ITF interface {
	qtcore.QObject_ITF
	QMediaBindableInterface_ITF
	QMediaPlaylist_PTR() *QMediaPlaylist
}

type QMediaPlaylist__Error

type QMediaPlaylist__Error = int

This enum describes the QMediaPlaylist error codes.

const QMediaPlaylist__AccessDeniedError QMediaPlaylist__Error = 4

Access denied error.

const QMediaPlaylist__FormatError QMediaPlaylist__Error = 1

Format error.

const QMediaPlaylist__FormatNotSupportedError QMediaPlaylist__Error = 2

Format not supported.

const QMediaPlaylist__NetworkError QMediaPlaylist__Error = 3

Network error.

const QMediaPlaylist__NoError QMediaPlaylist__Error = 0

No errors.

type QMediaPlaylist__PlaybackMode

type QMediaPlaylist__PlaybackMode = int

The QMediaPlaylist::PlaybackMode describes the order items in playlist are played.

const QMediaPlaylist__CurrentItemInLoop QMediaPlaylist__PlaybackMode = 1

The current item is played repeatedly in a loop.

const QMediaPlaylist__CurrentItemOnce QMediaPlaylist__PlaybackMode = 0

The current item is played only once.

const QMediaPlaylist__Loop QMediaPlaylist__PlaybackMode = 3

Playback restarts at the first item after the last has finished playing.

const QMediaPlaylist__Random QMediaPlaylist__PlaybackMode = 4

Play items in random order.

const QMediaPlaylist__Sequential QMediaPlaylist__PlaybackMode = 2

Playback starts from the current and moves through each successive item until the last is reached and then stops. The next item is a null item when the last one is currently playing.

type QMediaRecorder

type QMediaRecorder struct {
	*qtcore.QObject
	*QMediaBindableInterface
}

func NewQMediaRecorder

func NewQMediaRecorder(mediaObject QMediaObject_ITF, parent qtcore.QObject_ITF) *QMediaRecorder

func NewQMediaRecorderFromPointer

func NewQMediaRecorderFromPointer(cthis unsafe.Pointer) *QMediaRecorder

func NewQMediaRecorderp

func NewQMediaRecorderp(mediaObject QMediaObject_ITF) *QMediaRecorder

func (*QMediaRecorder) ActualLocation

func (this *QMediaRecorder) ActualLocation() *qtcore.QUrl

func (*QMediaRecorder) ActualLocationChanged

func (this *QMediaRecorder) ActualLocationChanged(location qtcore.QUrl_ITF)

Signals that the actual location of the recorded media has changed. This signal is usually emitted when recording starts.

Note: Notifier signal for property actualLocation.

func (*QMediaRecorder) AudioCodecDescription

func (this *QMediaRecorder) AudioCodecDescription(codecName string) string

Returns a description of an audio codec.

func (*QMediaRecorder) AudioSettings

func (this *QMediaRecorder) AudioSettings() *QAudioEncoderSettings

Returns the audio encoder settings being used.

See also setAudioSettings() and setEncodingSettings().

func (*QMediaRecorder) Availability

func (this *QMediaRecorder) Availability() int

Returns the availability of this functionality.

See also availabilityChanged().

func (*QMediaRecorder) AvailabilityChanged

func (this *QMediaRecorder) AvailabilityChanged(available bool)

Signals that the media recorder is now available (if available is true), or not.

Note: Signal availabilityChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(mediaRecorder, QOverload<bool>::of(&QMediaRecorder::availabilityChanged),
    [=](bool available){ /-* ... *-/ });

func (*QMediaRecorder) AvailabilityChanged1

func (this *QMediaRecorder) AvailabilityChanged1(availability int)

Signals that the media recorder is now available (if available is true), or not.

Note: Signal availabilityChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(mediaRecorder, QOverload<bool>::of(&QMediaRecorder::availabilityChanged),
    [=](bool available){ /-* ... *-/ });

func (*QMediaRecorder) AvailableMetaData

func (this *QMediaRecorder) AvailableMetaData() *qtcore.QStringList

Returns a list of keys there is meta-data available for.

func (*QMediaRecorder) ContainerDescription

func (this *QMediaRecorder) ContainerDescription(format string) string

Returns a description of a container format.

func (*QMediaRecorder) ContainerFormat

func (this *QMediaRecorder) ContainerFormat() string

Returns the selected container format.

See also setContainerFormat().

func (*QMediaRecorder) Duration

func (this *QMediaRecorder) Duration() int64

func (*QMediaRecorder) DurationChanged

func (this *QMediaRecorder) DurationChanged(duration int64)

Signals that the duration of the recorded media has changed.

Note: Notifier signal for property duration.

func (*QMediaRecorder) Error

func (this *QMediaRecorder) Error() int

Returns the current error state.

See also errorString().

func (*QMediaRecorder) Error1

func (this *QMediaRecorder) Error1(error int)

Returns the current error state.

See also errorString().

func (*QMediaRecorder) ErrorItemName

func (this *QMediaRecorder) ErrorItemName(val int) string

func (*QMediaRecorder) ErrorString

func (this *QMediaRecorder) ErrorString() string

Returns a string describing the current error state.

See also error().

func (*QMediaRecorder) GetCthis

func (this *QMediaRecorder) GetCthis() unsafe.Pointer

func (*QMediaRecorder) InheritSetMediaObject

func (this *QMediaRecorder) InheritSetMediaObject(f func(object *QMediaObject) bool)

bool setMediaObject(QMediaObject *)

func (*QMediaRecorder) IsAvailable

func (this *QMediaRecorder) IsAvailable() bool

Returns true if media recorder service ready to use.

See also availabilityChanged().

func (*QMediaRecorder) IsMetaDataAvailable

func (this *QMediaRecorder) IsMetaDataAvailable() bool

func (*QMediaRecorder) IsMetaDataWritable

func (this *QMediaRecorder) IsMetaDataWritable() bool

func (*QMediaRecorder) IsMuted

func (this *QMediaRecorder) IsMuted() bool

func (*QMediaRecorder) MediaObject

func (this *QMediaRecorder) MediaObject() *QMediaObject

Reimplemented from QMediaBindableInterface::mediaObject().

Returns the QMediaObject instance that this QMediaRecorder is bound too, or 0 otherwise.

func (*QMediaRecorder) MetaData

func (this *QMediaRecorder) MetaData(key string) *qtcore.QVariant

Returns the value associated with a meta-data key.

See also setMetaData().

func (*QMediaRecorder) MetaDataAvailableChanged

func (this *QMediaRecorder) MetaDataAvailableChanged(available bool)

Signals that the available state of a media object's meta-data has changed.

Note: Notifier signal for property metaDataAvailable.

func (*QMediaRecorder) MetaDataChanged

func (this *QMediaRecorder) MetaDataChanged()

Signals that a media object's meta-data has changed.

If multiple meta-data elements are changed, metaDataChanged(const QString &key, const QVariant &value) signal is emitted for each of them with metaDataChanged() changed emitted once.

Note: Signal metaDataChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(mediaRecorder, QOverload<>::of(&QMediaRecorder::metaDataChanged),
    [=](){ /-* ... *-/ });

func (*QMediaRecorder) MetaDataChanged1

func (this *QMediaRecorder) MetaDataChanged1(key string, value qtcore.QVariant_ITF)

Signals that a media object's meta-data has changed.

If multiple meta-data elements are changed, metaDataChanged(const QString &key, const QVariant &value) signal is emitted for each of them with metaDataChanged() changed emitted once.

Note: Signal metaDataChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(mediaRecorder, QOverload<>::of(&QMediaRecorder::metaDataChanged),
    [=](){ /-* ... *-/ });

func (*QMediaRecorder) MetaDataWritableChanged

func (this *QMediaRecorder) MetaDataWritableChanged(writable bool)

Signals that the writable state of a media object's meta-data has changed.

Note: Notifier signal for property metaDataWritable.

func (*QMediaRecorder) MetaObject

func (this *QMediaRecorder) MetaObject() *qtcore.QMetaObject

func (*QMediaRecorder) MutedChanged

func (this *QMediaRecorder) MutedChanged(muted bool)

Signals that the muted state has changed. If true the recording is being muted.

Note: Notifier signal for property muted.

func (*QMediaRecorder) NewForInherit

func (*QMediaRecorder) NewForInherit(mediaObject QMediaObject_ITF, parent qtcore.QObject_ITF) *QMediaRecorder

Constructs a media recorder which records the media produced by mediaObject.

The parent is passed to QMediaObject.

func (*QMediaRecorder) NewForInheritp

func (*QMediaRecorder) NewForInheritp(mediaObject QMediaObject_ITF) *QMediaRecorder

Constructs a media recorder which records the media produced by mediaObject.

The parent is passed to QMediaObject.

func (*QMediaRecorder) NewFromPointer

func (*QMediaRecorder) NewFromPointer(cthis unsafe.Pointer) *QMediaRecorder

func (*QMediaRecorder) OutputLocation

func (this *QMediaRecorder) OutputLocation() *qtcore.QUrl

func (*QMediaRecorder) Pause

func (this *QMediaRecorder) Pause()

Pause recording.

The recorder state is changed to QMediaRecorder::PausedState.

Depending on platform recording pause may be not supported, in this case the recorder state stays unchanged.

func (*QMediaRecorder) QMediaRecorder_PTR

func (ptr *QMediaRecorder) QMediaRecorder_PTR() *QMediaRecorder

func (*QMediaRecorder) Record

func (this *QMediaRecorder) Record()

Start recording.

While the recorder state is changed immediately to QMediaRecorder::RecordingState, recording may start asynchronously, with statusChanged(QMediaRecorder::RecordingStatus) signal emitted when recording starts.

If recording fails error() signal is emitted with recorder state being reset back to QMediaRecorder::StoppedState.

func (*QMediaRecorder) SetAudioSettings

func (this *QMediaRecorder) SetAudioSettings(audioSettings QAudioEncoderSettings_ITF)

Sets the audio encoder settings.

If some parameters are not specified, or null settings are passed, the encoder will choose default encoding parameters, depending on media source properties.

It's only possible to change settings when the encoder is in the QMediaEncoder::StoppedState state.

See also audioSettings(), videoSettings(), and containerFormat().

func (*QMediaRecorder) SetContainerFormat

func (this *QMediaRecorder) SetContainerFormat(container string)

Sets the media container format.

If the container format is not specified, the encoder will choose format, depending on media source properties and encoding settings selected.

It's only possible to change settings when the encoder is in the QMediaEncoder::StoppedState state.

See also audioSettings(), videoSettings(), and containerFormat().

func (*QMediaRecorder) SetCthis

func (this *QMediaRecorder) SetCthis(cthis unsafe.Pointer)

func (*QMediaRecorder) SetEncodingSettings

func (this *QMediaRecorder) SetEncodingSettings(audioSettings QAudioEncoderSettings_ITF, videoSettings QVideoEncoderSettings_ITF, containerMimeType string)

Sets the audio and video encoder settings and container format.

If some parameters are not specified, or null settings are passed, the encoder will choose default encoding parameters, depending on media source properties.

It's only possible to change settings when the encoder is in the QMediaEncoder::StoppedState state.

See also audioSettings(), videoSettings(), and containerFormat().

func (*QMediaRecorder) SetEncodingSettingsp

func (this *QMediaRecorder) SetEncodingSettingsp(audioSettings QAudioEncoderSettings_ITF)

Sets the audio and video encoder settings and container format.

If some parameters are not specified, or null settings are passed, the encoder will choose default encoding parameters, depending on media source properties.

It's only possible to change settings when the encoder is in the QMediaEncoder::StoppedState state.

See also audioSettings(), videoSettings(), and containerFormat().

func (*QMediaRecorder) SetEncodingSettingsp1

func (this *QMediaRecorder) SetEncodingSettingsp1(audioSettings QAudioEncoderSettings_ITF, videoSettings QVideoEncoderSettings_ITF)

Sets the audio and video encoder settings and container format.

If some parameters are not specified, or null settings are passed, the encoder will choose default encoding parameters, depending on media source properties.

It's only possible to change settings when the encoder is in the QMediaEncoder::StoppedState state.

See also audioSettings(), videoSettings(), and containerFormat().

func (*QMediaRecorder) SetMediaObject

func (this *QMediaRecorder) SetMediaObject(object QMediaObject_ITF) bool

func (*QMediaRecorder) SetMetaData

func (this *QMediaRecorder) SetMetaData(key string, value qtcore.QVariant_ITF)

Sets a value for a meta-data key.

Note: To ensure that meta data is set corretly, it should be set before starting the recording. Once the recording is stopped, any meta data set will be attached to the next recording.

See also metaData().

func (*QMediaRecorder) SetMuted

func (this *QMediaRecorder) SetMuted(muted bool)

func (*QMediaRecorder) SetOutputLocation

func (this *QMediaRecorder) SetOutputLocation(location qtcore.QUrl_ITF) bool

func (*QMediaRecorder) SetVideoSettings

func (this *QMediaRecorder) SetVideoSettings(videoSettings QVideoEncoderSettings_ITF)

Sets the video encoder settings.

If some parameters are not specified, or null settings are passed, the encoder will choose default encoding parameters, depending on media source properties.

It's only possible to change settings when the encoder is in the QMediaEncoder::StoppedState state.

See also audioSettings(), videoSettings(), and containerFormat().

func (*QMediaRecorder) SetVolume

func (this *QMediaRecorder) SetVolume(volume float64)

func (*QMediaRecorder) State

func (this *QMediaRecorder) State() int

Returns the current media recorder state.

Note: Getter function for property state.

See also QMediaRecorder::State.

func (*QMediaRecorder) StateChanged

func (this *QMediaRecorder) StateChanged(state int)

Signals that a media recorder's state has changed.

Note: Notifier signal for property state.

func (*QMediaRecorder) StateItemName

func (this *QMediaRecorder) StateItemName(val int) string

func (*QMediaRecorder) Status

func (this *QMediaRecorder) Status() int

Returns the current media recorder status.

Note: Getter function for property status.

See also QMediaRecorder::Status.

func (*QMediaRecorder) StatusChanged

func (this *QMediaRecorder) StatusChanged(status int)

func (*QMediaRecorder) StatusItemName

func (this *QMediaRecorder) StatusItemName(val int) string

func (*QMediaRecorder) Stop

func (this *QMediaRecorder) Stop()

Stop recording.

The recorder state is changed to QMediaRecorder::StoppedState.

func (*QMediaRecorder) SupportedAudioCodecs

func (this *QMediaRecorder) SupportedAudioCodecs() *qtcore.QStringList

Returns a list of supported audio codecs.

func (*QMediaRecorder) SupportedContainers

func (this *QMediaRecorder) SupportedContainers() *qtcore.QStringList

Returns a list of supported container formats.

func (*QMediaRecorder) SupportedResolutions

func (this *QMediaRecorder) SupportedResolutions(settings QVideoEncoderSettings_ITF, continuous *bool) *qtcore.QSizeList

Returns a list of resolutions video can be encoded at.

If non null video settings parameter is passed, the returned list is reduced to resolution supported with partial settings like video codec or framerate applied.

If the encoder supports arbitrary resolutions within the supported range, *continuous is set to true, otherwise *continuous is set to false.

See also QVideoEncoderSettings::resolution().

func (*QMediaRecorder) SupportedResolutionsp

func (this *QMediaRecorder) SupportedResolutionsp() *qtcore.QSizeList

Returns a list of resolutions video can be encoded at.

If non null video settings parameter is passed, the returned list is reduced to resolution supported with partial settings like video codec or framerate applied.

If the encoder supports arbitrary resolutions within the supported range, *continuous is set to true, otherwise *continuous is set to false.

See also QVideoEncoderSettings::resolution().

func (*QMediaRecorder) SupportedResolutionsp1

func (this *QMediaRecorder) SupportedResolutionsp1(settings QVideoEncoderSettings_ITF) *qtcore.QSizeList

Returns a list of resolutions video can be encoded at.

If non null video settings parameter is passed, the returned list is reduced to resolution supported with partial settings like video codec or framerate applied.

If the encoder supports arbitrary resolutions within the supported range, *continuous is set to true, otherwise *continuous is set to false.

See also QVideoEncoderSettings::resolution().

func (*QMediaRecorder) SupportedVideoCodecs

func (this *QMediaRecorder) SupportedVideoCodecs() *qtcore.QStringList

Returns a list of supported video codecs.

func (*QMediaRecorder) VideoCodecDescription

func (this *QMediaRecorder) VideoCodecDescription(codecName string) string

Returns a description of a video codec.

See also setEncodingSettings().

func (*QMediaRecorder) VideoSettings

func (this *QMediaRecorder) VideoSettings() *QVideoEncoderSettings

Returns the video encoder settings being used.

See also setVideoSettings() and setEncodingSettings().

func (*QMediaRecorder) Volume

func (this *QMediaRecorder) Volume() float64

func (*QMediaRecorder) VolumeChanged

func (this *QMediaRecorder) VolumeChanged(volume float64)

type QMediaRecorderControl

type QMediaRecorderControl struct {
	*QMediaControl
}

func NewQMediaRecorderControl

func NewQMediaRecorderControl(parent qtcore.QObject_ITF) *QMediaRecorderControl

func NewQMediaRecorderControlFromPointer

func NewQMediaRecorderControlFromPointer(cthis unsafe.Pointer) *QMediaRecorderControl

func NewQMediaRecorderControlp

func NewQMediaRecorderControlp() *QMediaRecorderControl

func (*QMediaRecorderControl) ActualLocationChanged

func (this *QMediaRecorderControl) ActualLocationChanged(location qtcore.QUrl_ITF)

Signals that the actual media location has changed. This signal should be emitted at start of recording.

func (*QMediaRecorderControl) ApplySettings

func (this *QMediaRecorderControl) ApplySettings()

Commits the encoder settings and performs pre-initialization to reduce delays when recording is started.

func (*QMediaRecorderControl) Duration

func (this *QMediaRecorderControl) Duration() int64

Return the current duration in milliseconds.

func (*QMediaRecorderControl) DurationChanged

func (this *QMediaRecorderControl) DurationChanged(position int64)

Signals that the duration of the recorded media has changed.

This only emitted when there is a discontinuous change in the duration such as being reset to 0.

func (*QMediaRecorderControl) Error

func (this *QMediaRecorderControl) Error(error int, errorString string)

Signals that an error has occurred. The errorString describes the error.

func (*QMediaRecorderControl) GetCthis

func (this *QMediaRecorderControl) GetCthis() unsafe.Pointer

func (*QMediaRecorderControl) IsMuted

func (this *QMediaRecorderControl) IsMuted() bool

Returns true if the recorder is muted, and false if it is not.

func (*QMediaRecorderControl) MetaObject

func (this *QMediaRecorderControl) MetaObject() *qtcore.QMetaObject

func (*QMediaRecorderControl) MutedChanged

func (this *QMediaRecorderControl) MutedChanged(muted bool)

Signals that the muted state of a media recorder has changed.

func (*QMediaRecorderControl) NewForInherit

Constructs a media recorder control with the given parent.

func (*QMediaRecorderControl) NewForInheritp

func (*QMediaRecorderControl) NewForInheritp() *QMediaRecorderControl

Constructs a media recorder control with the given parent.

func (*QMediaRecorderControl) NewFromPointer

func (*QMediaRecorderControl) OutputLocation

func (this *QMediaRecorderControl) OutputLocation() *qtcore.QUrl

Returns the current output location being used.

See also setOutputLocation().

func (*QMediaRecorderControl) QMediaRecorderControl_PTR

func (ptr *QMediaRecorderControl) QMediaRecorderControl_PTR() *QMediaRecorderControl

func (*QMediaRecorderControl) SetCthis

func (this *QMediaRecorderControl) SetCthis(cthis unsafe.Pointer)

func (*QMediaRecorderControl) SetMuted

func (this *QMediaRecorderControl) SetMuted(muted bool)

Sets the muted state of a media recorder.

See also isMuted().

func (*QMediaRecorderControl) SetOutputLocation

func (this *QMediaRecorderControl) SetOutputLocation(location qtcore.QUrl_ITF) bool

Sets the output location and returns if this operation is successful. If file at the output location already exists, it should be overwritten.

The location can be relative or empty; in this case the service should use the system specific place and file naming scheme.

After recording has started, the backend should report the actual file location with actualLocationChanged() signal.

See also outputLocation().

func (*QMediaRecorderControl) SetState

func (this *QMediaRecorderControl) SetState(state int)

Set the media recorder state.

See also state().

func (*QMediaRecorderControl) SetVolume

func (this *QMediaRecorderControl) SetVolume(volume float64)

Sets the audio volume of a media recorder control.

The volume is scaled linearly, ranging from 0 (silence) to 100 (full volume).

See also volume().

func (*QMediaRecorderControl) State

func (this *QMediaRecorderControl) State() int

Return the current recording state.

See also setState().

func (*QMediaRecorderControl) StateChanged

func (this *QMediaRecorderControl) StateChanged(state int)

Signals that the state of a media recorder has changed.

func (*QMediaRecorderControl) Status

func (this *QMediaRecorderControl) Status() int

Return the current recording status.

func (*QMediaRecorderControl) StatusChanged

func (this *QMediaRecorderControl) StatusChanged(status int)

Signals that the status of a media recorder has changed.

func (*QMediaRecorderControl) Volume

func (this *QMediaRecorderControl) Volume() float64

Returns the audio volume of a media recorder control.

See also setVolume().

func (*QMediaRecorderControl) VolumeChanged

func (this *QMediaRecorderControl) VolumeChanged(volume float64)

Signals that the audio gain value has changed.

type QMediaRecorderControl_ITF

type QMediaRecorderControl_ITF interface {
	QMediaControl_ITF
	QMediaRecorderControl_PTR() *QMediaRecorderControl
}

type QMediaRecorder_ITF

type QMediaRecorder_ITF interface {
	qtcore.QObject_ITF
	QMediaBindableInterface_ITF
	QMediaRecorder_PTR() *QMediaRecorder
}

type QMediaRecorder__Error

type QMediaRecorder__Error = int
const QMediaRecorder__FormatError QMediaRecorder__Error = 2

Current format is not supported.

const QMediaRecorder__NoError QMediaRecorder__Error = 0

No Errors.

const QMediaRecorder__OutOfSpaceError QMediaRecorder__Error = 3

No space left on device.

const QMediaRecorder__ResourceError QMediaRecorder__Error = 1

Device is not ready or not available.

type QMediaRecorder__State

type QMediaRecorder__State = int
const QMediaRecorder__PausedState QMediaRecorder__State = 2

The recorder is paused.

const QMediaRecorder__RecordingState QMediaRecorder__State = 1

The recording is requested.

const QMediaRecorder__StoppedState QMediaRecorder__State = 0

The recorder is not active. If this is the state after recording then the actual created recording has finished being written to the final location and is ready on all platforms except on Android. On Android, due to platform limitations, there is no way to be certain that the recording has finished writing to the final location.

type QMediaRecorder__Status

type QMediaRecorder__Status = int
const QMediaRecorder__FinalizingStatus QMediaRecorder__Status = 7

Recording is stopped with media being finalized.

const QMediaRecorder__LoadedStatus QMediaRecorder__Status = 3

The recorder is initialized and ready to record media.

const QMediaRecorder__LoadingStatus QMediaRecorder__Status = 2

The recorder is initializing.

const QMediaRecorder__PausedStatus QMediaRecorder__Status = 6

Recording is paused.

const QMediaRecorder__RecordingStatus QMediaRecorder__Status = 5

Recording is active.

const QMediaRecorder__StartingStatus QMediaRecorder__Status = 4

Recording is requested but not active yet.

const QMediaRecorder__UnavailableStatus QMediaRecorder__Status = 0

The recorder is not available or not supported by connected media object.

const QMediaRecorder__UnloadedStatus QMediaRecorder__Status = 1

The recorder is avilable but not loaded.

type QMediaResource

type QMediaResource struct {
	*qtrt.CObject
}

func NewQMediaResource

func NewQMediaResource() *QMediaResource

func NewQMediaResource1

func NewQMediaResource1(url qtcore.QUrl_ITF, mimeType string) *QMediaResource

func NewQMediaResource1p

func NewQMediaResource1p(url qtcore.QUrl_ITF) *QMediaResource

func NewQMediaResource2

func NewQMediaResource2(request qtnetwork.QNetworkRequest_ITF, mimeType string) *QMediaResource

func NewQMediaResource2p

func NewQMediaResource2p(request qtnetwork.QNetworkRequest_ITF) *QMediaResource

func NewQMediaResourceFromPointer

func NewQMediaResourceFromPointer(cthis unsafe.Pointer) *QMediaResource

func (*QMediaResource) AudioBitRate

func (this *QMediaResource) AudioBitRate() int

Returns the bit rate in bits per second of a media resource's audio stream.

This may be zero if the bit rate is unknown, or the resource contains no audio stream.

See also setAudioBitRate().

func (*QMediaResource) AudioCodec

func (this *QMediaResource) AudioCodec() string

Returns the audio codec of a media resource.

This may be null if the media resource does not contain an audio stream, or the codec is unknown.

See also setAudioCodec().

func (*QMediaResource) ChannelCount

func (this *QMediaResource) ChannelCount() int

Returns the number of audio channels in a media resource.

This may be zero if the sample size is unknown, or the resource contains no audio stream.

See also setChannelCount().

func (*QMediaResource) DataSize

func (this *QMediaResource) DataSize() int64

Returns the size in bytes of a media resource.

This may be zero if the size is unknown.

See also setDataSize().

func (*QMediaResource) GetCthis

func (this *QMediaResource) GetCthis() unsafe.Pointer

func (*QMediaResource) IsNull

func (this *QMediaResource) IsNull() bool

Identifies if a media resource is null.

Returns true if the resource is null, and false otherwise.

func (*QMediaResource) Language

func (this *QMediaResource) Language() string

Returns the language of a media resource as an ISO 639-2 code.

This may be null if the language is unknown.

See also setLanguage().

func (*QMediaResource) MimeType

func (this *QMediaResource) MimeType() string

Returns the MIME type of a media resource.

This may be null if the MIME type is unknown.

func (*QMediaResource) NewForInherit

func (*QMediaResource) NewForInherit() *QMediaResource

Constructs a null media resource.

func (*QMediaResource) NewForInherit1

func (*QMediaResource) NewForInherit1(url qtcore.QUrl_ITF, mimeType string) *QMediaResource

Constructs a null media resource.

func (*QMediaResource) NewForInherit1p

func (*QMediaResource) NewForInherit1p(url qtcore.QUrl_ITF) *QMediaResource

Constructs a null media resource.

func (*QMediaResource) NewForInherit2

func (*QMediaResource) NewForInherit2(request qtnetwork.QNetworkRequest_ITF, mimeType string) *QMediaResource

Constructs a null media resource.

func (*QMediaResource) NewForInherit2p

func (*QMediaResource) NewForInherit2p(request qtnetwork.QNetworkRequest_ITF) *QMediaResource

Constructs a null media resource.

func (*QMediaResource) NewFromPointer

func (*QMediaResource) NewFromPointer(cthis unsafe.Pointer) *QMediaResource

func (*QMediaResource) Operator_equal

func (this *QMediaResource) Operator_equal(other QMediaResource_ITF) *QMediaResource

func (*QMediaResource) Operator_equal_equal

func (this *QMediaResource) Operator_equal_equal(other QMediaResource_ITF) bool

func (*QMediaResource) Operator_not_equal

func (this *QMediaResource) Operator_not_equal(other QMediaResource_ITF) bool

func (*QMediaResource) PropertyItemName

func (this *QMediaResource) PropertyItemName(val int) string

func (*QMediaResource) QMediaResource_PTR

func (ptr *QMediaResource) QMediaResource_PTR() *QMediaResource

func (*QMediaResource) Request

func (this *QMediaResource) Request() *qtnetwork.QNetworkRequest

Returns the network request associated with this media resource.

func (*QMediaResource) Resolution

func (this *QMediaResource) Resolution() *qtcore.QSize

Returns the resolution in pixels of a media resource.

This may be null is the resolution is unknown, or the resource contains no pixel data (i.e. the resource is an audio stream.

See also setResolution().

func (*QMediaResource) SampleRate

func (this *QMediaResource) SampleRate() int

Returns the audio sample rate of a media resource.

This may be zero if the sample size is unknown, or the resource contains no audio stream.

See also setSampleRate().

func (*QMediaResource) SetAudioBitRate

func (this *QMediaResource) SetAudioBitRate(rate int)

Sets the bit rate in bits per second of a media resource's video stream.

See also audioBitRate().

func (*QMediaResource) SetAudioCodec

func (this *QMediaResource) SetAudioCodec(codec string)

Sets the audio codec of a media resource.

See also audioCodec().

func (*QMediaResource) SetChannelCount

func (this *QMediaResource) SetChannelCount(channels int)

Sets the number of audio channels in a media resource.

See also channelCount().

func (*QMediaResource) SetCthis

func (this *QMediaResource) SetCthis(cthis unsafe.Pointer)

func (*QMediaResource) SetDataSize

func (this *QMediaResource) SetDataSize(size int64)

Sets the size in bytes of a media resource.

See also dataSize().

func (*QMediaResource) SetLanguage

func (this *QMediaResource) SetLanguage(language string)

Sets the language of a media resource.

See also language().

func (*QMediaResource) SetResolution

func (this *QMediaResource) SetResolution(resolution qtcore.QSize_ITF)

Sets the resolution in pixels of a media resource.

See also resolution().

func (*QMediaResource) SetResolution1

func (this *QMediaResource) SetResolution1(width int, height int)

Sets the resolution in pixels of a media resource.

See also resolution().

func (*QMediaResource) SetSampleRate

func (this *QMediaResource) SetSampleRate(frequency int)

Sets the audio sampleRate of a media resource.

See also sampleRate().

func (*QMediaResource) SetVideoBitRate

func (this *QMediaResource) SetVideoBitRate(rate int)

Sets the bit rate in bits per second of a media resource's video stream.

See also videoBitRate().

func (*QMediaResource) SetVideoCodec

func (this *QMediaResource) SetVideoCodec(codec string)

Sets the video codec of media resource.

See also videoCodec().

func (*QMediaResource) Url

func (this *QMediaResource) Url() *qtcore.QUrl

Returns the URL of a media resource.

func (*QMediaResource) VideoBitRate

func (this *QMediaResource) VideoBitRate() int

Returns the bit rate in bits per second of a media resource's video stream.

This may be zero if the bit rate is unknown, or the resource contains no video stream.

See also setVideoBitRate().

func (*QMediaResource) VideoCodec

func (this *QMediaResource) VideoCodec() string

Returns the video codec of a media resource.

This may be null if the media resource does not contain a video stream, or the codec is unknonwn.

See also setVideoCodec().

type QMediaResourceList

type QMediaResourceList struct {
	*qtrt.CObject
}

body block begin

func NewQMediaResourceListFromPointer

func NewQMediaResourceListFromPointer(cthis unsafe.Pointer) *QMediaResourceList

func (*QMediaResourceList) Append0

func (this *QMediaResourceList) Append0()

void append(const T &)

func (*QMediaResourceList) Append1

func (this *QMediaResourceList) Append1()

void append(const QList<T> &)

func (*QMediaResourceList) At0

func (this *QMediaResourceList) At0() *QMediaResource

const T & at(int)

func (*QMediaResourceList) Back0

func (this *QMediaResourceList) Back0() *QMediaResource

T & back()

func (*QMediaResourceList) Back1

func (this *QMediaResourceList) Back1() *QMediaResource

const T & back()

func (*QMediaResourceList) Begin0

func (this *QMediaResourceList) Begin0()

QList::iterator begin()

func (*QMediaResourceList) Begin1

func (this *QMediaResourceList) Begin1()

QList::const_iterator begin()

func (*QMediaResourceList) Cbegin0

func (this *QMediaResourceList) Cbegin0()

QList::const_iterator cbegin()

func (*QMediaResourceList) Cend0

func (this *QMediaResourceList) Cend0()

QList::const_iterator cend()

func (*QMediaResourceList) Clear0

func (this *QMediaResourceList) Clear0()

void clear()

func (*QMediaResourceList) ConstBegin0

func (this *QMediaResourceList) ConstBegin0()

QList::const_iterator constBegin()

func (*QMediaResourceList) ConstEnd0

func (this *QMediaResourceList) ConstEnd0()

QList::const_iterator constEnd()

func (*QMediaResourceList) ConstFirst0

func (this *QMediaResourceList) ConstFirst0() *QMediaResource

const T & constFirst()

func (*QMediaResourceList) ConstLast0

func (this *QMediaResourceList) ConstLast0() *QMediaResource

const T & constLast()

func (*QMediaResourceList) Contains0

func (this *QMediaResourceList) Contains0() bool

bool contains(const T &)

func (*QMediaResourceList) Contains_impl0

func (this *QMediaResourceList) Contains_impl0() bool

bool contains_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QMediaResourceList) Contains_impl1

func (this *QMediaResourceList) Contains_impl1() bool

bool contains_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QMediaResourceList) Count0

func (this *QMediaResourceList) Count0() int

int count(const T &)

func (*QMediaResourceList) Count1

func (this *QMediaResourceList) Count1() int

int count()

func (*QMediaResourceList) Count_impl0

func (this *QMediaResourceList) Count_impl0() int

int count_impl(const T &, QListData::NotArrayCompatibleLayout)

func (*QMediaResourceList) Count_impl1

func (this *QMediaResourceList) Count_impl1() int

int count_impl(const T &, QListData::ArrayCompatibleLayout)

func (*QMediaResourceList) Crbegin0

func (this *QMediaResourceList) Crbegin0()

QList::const_reverse_iterator crbegin()

func (*QMediaResourceList) Crend0

func (this *QMediaResourceList) Crend0()

QList::const_reverse_iterator crend()

func (*QMediaResourceList) Dealloc0

func (this *QMediaResourceList) Dealloc0()

void dealloc(QListData::Data *)

func (*QMediaResourceList) Detach0

func (this *QMediaResourceList) Detach0()

void detach()

func (*QMediaResourceList) DetachShared0

func (this *QMediaResourceList) DetachShared0()

void detachShared()

func (*QMediaResourceList) Detach_helper0

func (this *QMediaResourceList) Detach_helper0()

void detach_helper(int)

func (*QMediaResourceList) Detach_helper1

func (this *QMediaResourceList) Detach_helper1()

void detach_helper()

func (*QMediaResourceList) Detach_helper_grow0

func (this *QMediaResourceList) Detach_helper_grow0()

QList::Node * detach_helper_grow(int, int)

func (*QMediaResourceList) Empty0

func (this *QMediaResourceList) Empty0() bool

bool empty()

func (*QMediaResourceList) End0

func (this *QMediaResourceList) End0()

QList::iterator end()

func (*QMediaResourceList) End1

func (this *QMediaResourceList) End1()

QList::const_iterator end()

func (*QMediaResourceList) EndsWith0

func (this *QMediaResourceList) EndsWith0() bool

bool endsWith(const T &)

func (*QMediaResourceList) Erase0

func (this *QMediaResourceList) Erase0()

QList::iterator erase(QList::iterator)

func (*QMediaResourceList) Erase1

func (this *QMediaResourceList) Erase1()

QList::iterator erase(QList::iterator, QList::iterator)

func (*QMediaResourceList) First0

func (this *QMediaResourceList) First0() *QMediaResource

T & first()

func (*QMediaResourceList) First1

func (this *QMediaResourceList) First1() *QMediaResource

const T & first()

func (*QMediaResourceList) FromSet0

func (this *QMediaResourceList) FromSet0() *QMediaResourceList

QList<T> fromSet(const QSet<T> &)

func (*QMediaResourceList) FromStdList0

func (this *QMediaResourceList) FromStdList0() *QMediaResourceList

QList<T> fromStdList(const std::list<T> &)

func (*QMediaResourceList) FromVector0

func (this *QMediaResourceList) FromVector0() *QMediaResourceList

QList<T> fromVector(const QVector<T> &)

func (*QMediaResourceList) Front0

func (this *QMediaResourceList) Front0() *QMediaResource

T & front()

func (*QMediaResourceList) Front1

func (this *QMediaResourceList) Front1() *QMediaResource

const T & front()

func (*QMediaResourceList) IndexOf0

func (this *QMediaResourceList) IndexOf0() int

int indexOf(const T &, int)

func (*QMediaResourceList) Insert0

func (this *QMediaResourceList) Insert0()

void insert(int, const T &)

func (*QMediaResourceList) Insert1

func (this *QMediaResourceList) Insert1()

QList::iterator insert(QList::iterator, const T &)

func (*QMediaResourceList) IsDetached0

func (this *QMediaResourceList) IsDetached0() bool

bool isDetached()

func (*QMediaResourceList) IsEmpty0

func (this *QMediaResourceList) IsEmpty0() bool

bool isEmpty()

func (*QMediaResourceList) IsSharedWith0

func (this *QMediaResourceList) IsSharedWith0() bool

bool isSharedWith(const QList<T> &)

func (*QMediaResourceList) IsValidIterator0

func (this *QMediaResourceList) IsValidIterator0() bool

bool isValidIterator(const QList::iterator &)

func (*QMediaResourceList) Last0

func (this *QMediaResourceList) Last0() *QMediaResource

T & last()

func (*QMediaResourceList) Last1

func (this *QMediaResourceList) Last1() *QMediaResource

const T & last()

func (*QMediaResourceList) LastIndexOf0

func (this *QMediaResourceList) LastIndexOf0() int

int lastIndexOf(const T &, int)

func (*QMediaResourceList) Length0

func (this *QMediaResourceList) Length0() int

int length()

func (*QMediaResourceList) Mid0

func (this *QMediaResourceList) Mid0() *QMediaResourceList

QList<T> mid(int, int)

func (*QMediaResourceList) Move0

func (this *QMediaResourceList) Move0()

void move(int, int)

func (*QMediaResourceList) Node_construct0

func (this *QMediaResourceList) Node_construct0()

void node_construct(QList::Node *, const T &)

func (*QMediaResourceList) Node_copy0

func (this *QMediaResourceList) Node_copy0()

void node_copy(QList::Node *, QList::Node *, QList::Node *)

func (*QMediaResourceList) Node_destruct0

func (this *QMediaResourceList) Node_destruct0()

void node_destruct(QList::Node *)

func (*QMediaResourceList) Node_destruct1

func (this *QMediaResourceList) Node_destruct1()

void node_destruct(QList::Node *, QList::Node *)

func (*QMediaResourceList) Op_eq_impl0

func (this *QMediaResourceList) Op_eq_impl0() bool

bool op_eq_impl(const QList<T> &, QListData::NotArrayCompatibleLayout)

func (*QMediaResourceList) Op_eq_impl1

func (this *QMediaResourceList) Op_eq_impl1() bool

bool op_eq_impl(const QList<T> &, QListData::ArrayCompatibleLayout)

func (*QMediaResourceList) Operator_add0

func (this *QMediaResourceList) Operator_add0() *QMediaResourceList

QList<T> operator+(const QList<T> &)

func (*QMediaResourceList) Operator_add_equal0

func (this *QMediaResourceList) Operator_add_equal0() *QMediaResourceList

QList<T> & operator+=(const QList<T> &)

func (*QMediaResourceList) Operator_add_equal1

func (this *QMediaResourceList) Operator_add_equal1() *QMediaResourceList

QList<T> & operator+=(const T &)

func (*QMediaResourceList) Operator_equal0

func (this *QMediaResourceList) Operator_equal0() *QMediaResourceList

QList<T> & operator=(const QList<T> &)

func (*QMediaResourceList) Operator_equal1

func (this *QMediaResourceList) Operator_equal1() *QMediaResourceList

QList<T> & operator=(QList<T> &&)

func (*QMediaResourceList) Operator_equal_equal0

func (this *QMediaResourceList) Operator_equal_equal0() bool

bool operator==(const QList<T> &)

func (*QMediaResourceList) Operator_get_index0

func (this *QMediaResourceList) Operator_get_index0() *QMediaResource

const T & operator[](int)

func (*QMediaResourceList) Operator_get_index1

func (this *QMediaResourceList) Operator_get_index1() *QMediaResource

T & operator[](int)

func (*QMediaResourceList) Operator_left_shift0

func (this *QMediaResourceList) Operator_left_shift0() *QMediaResourceList

QList<T> & operator<<(const T &)

func (*QMediaResourceList) Operator_left_shift1

func (this *QMediaResourceList) Operator_left_shift1() *QMediaResourceList

QList<T> & operator<<(const QList<T> &)

func (*QMediaResourceList) Operator_not_equal0

func (this *QMediaResourceList) Operator_not_equal0() bool

bool operator!=(const QList<T> &)

func (*QMediaResourceList) Pop_back0

func (this *QMediaResourceList) Pop_back0()

void pop_back()

func (*QMediaResourceList) Pop_front0

func (this *QMediaResourceList) Pop_front0()

void pop_front()

func (*QMediaResourceList) Prepend0

func (this *QMediaResourceList) Prepend0()

void prepend(const T &)

func (*QMediaResourceList) Push_back0

func (this *QMediaResourceList) Push_back0()

void push_back(const T &)

func (*QMediaResourceList) Push_front0

func (this *QMediaResourceList) Push_front0()

void push_front(const T &)

func (*QMediaResourceList) Rbegin0

func (this *QMediaResourceList) Rbegin0()

QList::reverse_iterator rbegin()

func (*QMediaResourceList) Rbegin1

func (this *QMediaResourceList) Rbegin1()

QList::const_reverse_iterator rbegin()

func (*QMediaResourceList) RemoveAll0

func (this *QMediaResourceList) RemoveAll0() int

int removeAll(const T &)

func (*QMediaResourceList) RemoveAt0

func (this *QMediaResourceList) RemoveAt0()

void removeAt(int)

func (*QMediaResourceList) RemoveFirst0

func (this *QMediaResourceList) RemoveFirst0()

void removeFirst()

func (*QMediaResourceList) RemoveLast0

func (this *QMediaResourceList) RemoveLast0()

void removeLast()

func (*QMediaResourceList) RemoveOne0

func (this *QMediaResourceList) RemoveOne0() bool

bool removeOne(const T &)

func (*QMediaResourceList) Rend0

func (this *QMediaResourceList) Rend0()

QList::reverse_iterator rend()

func (*QMediaResourceList) Rend1

func (this *QMediaResourceList) Rend1()

QList::const_reverse_iterator rend()

func (*QMediaResourceList) Replace0

func (this *QMediaResourceList) Replace0()

void replace(int, const T &)

func (*QMediaResourceList) Reserve0

func (this *QMediaResourceList) Reserve0()

void reserve(int)

func (*QMediaResourceList) SetSharable0

func (this *QMediaResourceList) SetSharable0()

void setSharable(bool)

func (*QMediaResourceList) Size0

func (this *QMediaResourceList) Size0() int

int size()

func (*QMediaResourceList) StartsWith0

func (this *QMediaResourceList) StartsWith0() bool

bool startsWith(const T &)

func (*QMediaResourceList) Swap0

func (this *QMediaResourceList) Swap0()

void swap(QList<T> &)

func (*QMediaResourceList) Swap1

func (this *QMediaResourceList) Swap1()

void swap(int, int)

func (*QMediaResourceList) TakeAt0

func (this *QMediaResourceList) TakeAt0() *QMediaResource

T takeAt(int)

func (*QMediaResourceList) TakeFirst0

func (this *QMediaResourceList) TakeFirst0() *QMediaResource

T takeFirst()

func (*QMediaResourceList) TakeLast0

func (this *QMediaResourceList) TakeLast0() *QMediaResource

T takeLast()

func (*QMediaResourceList) ToSet0

func (this *QMediaResourceList) ToSet0()

QSet<T> toSet()

func (*QMediaResourceList) ToStdList0

func (this *QMediaResourceList) ToStdList0()

std::list<T> toStdList()

func (*QMediaResourceList) ToVector0

func (this *QMediaResourceList) ToVector0()

QVector<T> toVector()

func (*QMediaResourceList) Value0

func (this *QMediaResourceList) Value0() *QMediaResource

T value(int)

func (*QMediaResourceList) Value1

func (this *QMediaResourceList) Value1() *QMediaResource

T value(int, const T &)

type QMediaResourceListx

type QMediaResourceListx struct {
	*qtrt.CObject
}

///

func NewQMediaResourceListxFromPointer

func NewQMediaResourceListxFromPointer(cthis unsafe.Pointer) *QMediaResourceListx

func (*QMediaResourceListx) At

func (this *QMediaResourceListx) At(i int) *QMediaResource

func (*QMediaResourceListx) ConvertFromSlice

func (*QMediaResourceListx) ConvertFromSlice(lst []*QMediaResource) *QMediaResourceListx

func (*QMediaResourceListx) ConvertToSlice

func (this *QMediaResourceListx) ConvertToSlice() (lst []*QMediaResource)

func (*QMediaResourceListx) Count

func (this *QMediaResourceListx) Count(s string) int

func (*QMediaResourceListx) Count_1

func (this *QMediaResourceListx) Count_1() int

func (*QMediaResourceListx) GetCthis

func (this *QMediaResourceListx) GetCthis() unsafe.Pointer

func (*QMediaResourceListx) NewFromPointer

func (*QMediaResourceListx) NewFromPointer(cthis unsafe.Pointer) *QMediaResourceListx

func (*QMediaResourceListx) Release

func (this *QMediaResourceListx) Release()

func (*QMediaResourceListx) SetCthis

func (this *QMediaResourceListx) SetCthis(cthis unsafe.Pointer)

func (*QMediaResourceListx) Size

func (this *QMediaResourceListx) Size() int

type QMediaResource_ITF

type QMediaResource_ITF interface {
	QMediaResource_PTR() *QMediaResource
}

type QMediaResource__Property

type QMediaResource__Property = int
const QMediaResource__AudioBitRate QMediaResource__Property = 7
const QMediaResource__AudioCodec QMediaResource__Property = 4
const QMediaResource__ChannelCount QMediaResource__Property = 10
const QMediaResource__DataSize QMediaResource__Property = 6
const QMediaResource__Language QMediaResource__Property = 3
const QMediaResource__MimeType QMediaResource__Property = 2
const QMediaResource__Request QMediaResource__Property = 1
const QMediaResource__Resolution QMediaResource__Property = 11
const QMediaResource__SampleRate QMediaResource__Property = 9
const QMediaResource__Url QMediaResource__Property = 0
const QMediaResource__VideoBitRate QMediaResource__Property = 8
const QMediaResource__VideoCodec QMediaResource__Property = 5

type QMediaService

type QMediaService struct {
	*qtcore.QObject
}

func NewQMediaService

func NewQMediaService(parent qtcore.QObject_ITF) *QMediaService

func NewQMediaServiceFromPointer

func NewQMediaServiceFromPointer(cthis unsafe.Pointer) *QMediaService

func (*QMediaService) GetCthis

func (this *QMediaService) GetCthis() unsafe.Pointer

func (*QMediaService) MetaObject

func (this *QMediaService) MetaObject() *qtcore.QMetaObject

func (*QMediaService) NewForInherit

func (*QMediaService) NewForInherit(parent qtcore.QObject_ITF) *QMediaService

Construct a media service with the given parent. This class is meant as a base class for Multimedia services so this constructor is protected.

func (*QMediaService) NewFromPointer

func (*QMediaService) NewFromPointer(cthis unsafe.Pointer) *QMediaService

func (*QMediaService) QMediaService_PTR

func (ptr *QMediaService) QMediaService_PTR() *QMediaService

func (*QMediaService) ReleaseControl

func (this *QMediaService) ReleaseControl(control QMediaControl_ITF)

Releases a control back to the service.

func (*QMediaService) RequestControl

func (this *QMediaService) RequestControl(name string) *QMediaControl

Returns a pointer to the media control implementing interface.

If the service does not implement the control, or if it is unavailable a null pointer is returned instead.

Controls must be returned to the service when no longer needed using the releaseControl() function.

func (*QMediaService) SetCthis

func (this *QMediaService) SetCthis(cthis unsafe.Pointer)

type QMediaServiceCameraInfoInterface

type QMediaServiceCameraInfoInterface struct {
	*qtrt.CObject
}

func NewQMediaServiceCameraInfoInterfaceFromPointer

func NewQMediaServiceCameraInfoInterfaceFromPointer(cthis unsafe.Pointer) *QMediaServiceCameraInfoInterface

func (*QMediaServiceCameraInfoInterface) CameraOrientation

func (this *QMediaServiceCameraInfoInterface) CameraOrientation(device qtcore.QByteArray_ITF) int

func (*QMediaServiceCameraInfoInterface) CameraPosition

func (this *QMediaServiceCameraInfoInterface) CameraPosition(device qtcore.QByteArray_ITF) int

func (*QMediaServiceCameraInfoInterface) GetCthis

func (*QMediaServiceCameraInfoInterface) NewFromPointer

func (*QMediaServiceCameraInfoInterface) QMediaServiceCameraInfoInterface_PTR

func (ptr *QMediaServiceCameraInfoInterface) QMediaServiceCameraInfoInterface_PTR() *QMediaServiceCameraInfoInterface

func (*QMediaServiceCameraInfoInterface) SetCthis

func (this *QMediaServiceCameraInfoInterface) SetCthis(cthis unsafe.Pointer)

type QMediaServiceCameraInfoInterface_ITF

type QMediaServiceCameraInfoInterface_ITF interface {
	QMediaServiceCameraInfoInterface_PTR() *QMediaServiceCameraInfoInterface
}

type QMediaServiceDefaultDeviceInterface

type QMediaServiceDefaultDeviceInterface struct {
	*qtrt.CObject
}

func NewQMediaServiceDefaultDeviceInterfaceFromPointer

func NewQMediaServiceDefaultDeviceInterfaceFromPointer(cthis unsafe.Pointer) *QMediaServiceDefaultDeviceInterface

func (*QMediaServiceDefaultDeviceInterface) DefaultDevice

func (*QMediaServiceDefaultDeviceInterface) GetCthis

func (*QMediaServiceDefaultDeviceInterface) NewFromPointer

func (*QMediaServiceDefaultDeviceInterface) QMediaServiceDefaultDeviceInterface_PTR

func (ptr *QMediaServiceDefaultDeviceInterface) QMediaServiceDefaultDeviceInterface_PTR() *QMediaServiceDefaultDeviceInterface

func (*QMediaServiceDefaultDeviceInterface) SetCthis

func (this *QMediaServiceDefaultDeviceInterface) SetCthis(cthis unsafe.Pointer)

type QMediaServiceDefaultDeviceInterface_ITF

type QMediaServiceDefaultDeviceInterface_ITF interface {
	QMediaServiceDefaultDeviceInterface_PTR() *QMediaServiceDefaultDeviceInterface
}

type QMediaServiceFeaturesInterface

type QMediaServiceFeaturesInterface struct {
	*qtrt.CObject
}

func NewQMediaServiceFeaturesInterfaceFromPointer

func NewQMediaServiceFeaturesInterfaceFromPointer(cthis unsafe.Pointer) *QMediaServiceFeaturesInterface

func (*QMediaServiceFeaturesInterface) GetCthis

func (*QMediaServiceFeaturesInterface) NewFromPointer

func (*QMediaServiceFeaturesInterface) QMediaServiceFeaturesInterface_PTR

func (ptr *QMediaServiceFeaturesInterface) QMediaServiceFeaturesInterface_PTR() *QMediaServiceFeaturesInterface

func (*QMediaServiceFeaturesInterface) SetCthis

func (this *QMediaServiceFeaturesInterface) SetCthis(cthis unsafe.Pointer)

func (*QMediaServiceFeaturesInterface) SupportedFeatures

func (this *QMediaServiceFeaturesInterface) SupportedFeatures(service qtcore.QByteArray_ITF) int

type QMediaServiceFeaturesInterface_ITF

type QMediaServiceFeaturesInterface_ITF interface {
	QMediaServiceFeaturesInterface_PTR() *QMediaServiceFeaturesInterface
}

type QMediaServiceProviderFactoryInterface

type QMediaServiceProviderFactoryInterface struct {
	*qtrt.CObject
}

func NewQMediaServiceProviderFactoryInterfaceFromPointer

func NewQMediaServiceProviderFactoryInterfaceFromPointer(cthis unsafe.Pointer) *QMediaServiceProviderFactoryInterface

func (*QMediaServiceProviderFactoryInterface) Create

Constructs a new instance of the QMediaService identified by key.

The QMediaService returned must be destroyed with release().

func (*QMediaServiceProviderFactoryInterface) GetCthis

func (*QMediaServiceProviderFactoryInterface) NewFromPointer

func (*QMediaServiceProviderFactoryInterface) QMediaServiceProviderFactoryInterface_PTR

func (ptr *QMediaServiceProviderFactoryInterface) QMediaServiceProviderFactoryInterface_PTR() *QMediaServiceProviderFactoryInterface

func (*QMediaServiceProviderFactoryInterface) Release

Destroys a media service constructed with create().

func (*QMediaServiceProviderFactoryInterface) SetCthis

type QMediaServiceProviderFactoryInterface_ITF

type QMediaServiceProviderFactoryInterface_ITF interface {
	QMediaServiceProviderFactoryInterface_PTR() *QMediaServiceProviderFactoryInterface
}

type QMediaServiceProviderHint

type QMediaServiceProviderHint struct {
	*qtrt.CObject
}

func NewQMediaServiceProviderHint

func NewQMediaServiceProviderHint() *QMediaServiceProviderHint

func NewQMediaServiceProviderHint1

func NewQMediaServiceProviderHint1(mimeType string, codecs qtcore.QStringList_ITF) *QMediaServiceProviderHint

func NewQMediaServiceProviderHint2

func NewQMediaServiceProviderHint2(device qtcore.QByteArray_ITF) *QMediaServiceProviderHint

func NewQMediaServiceProviderHint3

func NewQMediaServiceProviderHint3(position int) *QMediaServiceProviderHint

func NewQMediaServiceProviderHint4

func NewQMediaServiceProviderHint4(features int) *QMediaServiceProviderHint

func NewQMediaServiceProviderHintFromPointer

func NewQMediaServiceProviderHintFromPointer(cthis unsafe.Pointer) *QMediaServiceProviderHint

func (*QMediaServiceProviderHint) CameraPosition

func (this *QMediaServiceProviderHint) CameraPosition() int

func (*QMediaServiceProviderHint) Codecs

func (*QMediaServiceProviderHint) Device

func (*QMediaServiceProviderHint) FeatureItemName

func (this *QMediaServiceProviderHint) FeatureItemName(val int) string

func (*QMediaServiceProviderHint) Features

func (this *QMediaServiceProviderHint) Features() int

func (*QMediaServiceProviderHint) GetCthis

func (this *QMediaServiceProviderHint) GetCthis() unsafe.Pointer

func (*QMediaServiceProviderHint) IsNull

func (this *QMediaServiceProviderHint) IsNull() bool

func (*QMediaServiceProviderHint) MimeType

func (this *QMediaServiceProviderHint) MimeType() string

func (*QMediaServiceProviderHint) NewForInherit

func (*QMediaServiceProviderHint) NewForInherit1

func (*QMediaServiceProviderHint) NewForInherit2

func (*QMediaServiceProviderHint) NewForInherit3

func (*QMediaServiceProviderHint) NewForInherit3(position int) *QMediaServiceProviderHint

func (*QMediaServiceProviderHint) NewForInherit4

func (*QMediaServiceProviderHint) NewForInherit4(features int) *QMediaServiceProviderHint

func (*QMediaServiceProviderHint) NewFromPointer

func (*QMediaServiceProviderHint) Operator_equal

func (*QMediaServiceProviderHint) Operator_equal_equal

func (this *QMediaServiceProviderHint) Operator_equal_equal(other QMediaServiceProviderHint_ITF) bool

func (*QMediaServiceProviderHint) Operator_not_equal

func (this *QMediaServiceProviderHint) Operator_not_equal(other QMediaServiceProviderHint_ITF) bool

func (*QMediaServiceProviderHint) QMediaServiceProviderHint_PTR

func (ptr *QMediaServiceProviderHint) QMediaServiceProviderHint_PTR() *QMediaServiceProviderHint

func (*QMediaServiceProviderHint) SetCthis

func (this *QMediaServiceProviderHint) SetCthis(cthis unsafe.Pointer)

func (*QMediaServiceProviderHint) Type

func (this *QMediaServiceProviderHint) Type() int

func (*QMediaServiceProviderHint) TypeItemName

func (this *QMediaServiceProviderHint) TypeItemName(val int) string

type QMediaServiceProviderHint_ITF

type QMediaServiceProviderHint_ITF interface {
	QMediaServiceProviderHint_PTR() *QMediaServiceProviderHint
}

type QMediaServiceProviderHint__Feature

type QMediaServiceProviderHint__Feature = int
const QMediaServiceProviderHint__LowLatencyPlayback QMediaServiceProviderHint__Feature = 1
const QMediaServiceProviderHint__RecordingSupport QMediaServiceProviderHint__Feature = 2
const QMediaServiceProviderHint__StreamPlayback QMediaServiceProviderHint__Feature = 4
const QMediaServiceProviderHint__VideoSurface QMediaServiceProviderHint__Feature = 8

type QMediaServiceProviderHint__Type

type QMediaServiceProviderHint__Type = int
const QMediaServiceProviderHint__CameraPosition QMediaServiceProviderHint__Type = 4
const QMediaServiceProviderHint__ContentType QMediaServiceProviderHint__Type = 1
const QMediaServiceProviderHint__Device QMediaServiceProviderHint__Type = 2
const QMediaServiceProviderHint__Null QMediaServiceProviderHint__Type = 0
const QMediaServiceProviderHint__SupportedFeatures QMediaServiceProviderHint__Type = 3

type QMediaServiceProviderPlugin

type QMediaServiceProviderPlugin struct {
	*qtcore.QObject
	*QMediaServiceProviderFactoryInterface
}

func NewQMediaServiceProviderPluginFromPointer

func NewQMediaServiceProviderPluginFromPointer(cthis unsafe.Pointer) *QMediaServiceProviderPlugin

func (*QMediaServiceProviderPlugin) Create

Constructs a new instance of the QMediaService identified by key.

The QMediaService returned must be destroyed with release().

func (*QMediaServiceProviderPlugin) GetCthis

func (this *QMediaServiceProviderPlugin) GetCthis() unsafe.Pointer

func (*QMediaServiceProviderPlugin) MetaObject

func (this *QMediaServiceProviderPlugin) MetaObject() *qtcore.QMetaObject

func (*QMediaServiceProviderPlugin) NewFromPointer

func (*QMediaServiceProviderPlugin) QMediaServiceProviderPlugin_PTR

func (ptr *QMediaServiceProviderPlugin) QMediaServiceProviderPlugin_PTR() *QMediaServiceProviderPlugin

func (*QMediaServiceProviderPlugin) Release

func (this *QMediaServiceProviderPlugin) Release(service QMediaService_ITF)

Destroys a media service constructed with create().

func (*QMediaServiceProviderPlugin) SetCthis

func (this *QMediaServiceProviderPlugin) SetCthis(cthis unsafe.Pointer)

type QMediaServiceProviderPlugin_ITF

type QMediaServiceProviderPlugin_ITF interface {
	qtcore.QObject_ITF
	QMediaServiceProviderFactoryInterface_ITF
	QMediaServiceProviderPlugin_PTR() *QMediaServiceProviderPlugin
}

type QMediaServiceSupportedDevicesInterface

type QMediaServiceSupportedDevicesInterface struct {
	*qtrt.CObject
}

func NewQMediaServiceSupportedDevicesInterfaceFromPointer

func NewQMediaServiceSupportedDevicesInterfaceFromPointer(cthis unsafe.Pointer) *QMediaServiceSupportedDevicesInterface

func (*QMediaServiceSupportedDevicesInterface) DeviceDescription

func (*QMediaServiceSupportedDevicesInterface) GetCthis

func (*QMediaServiceSupportedDevicesInterface) NewFromPointer

func (*QMediaServiceSupportedDevicesInterface) QMediaServiceSupportedDevicesInterface_PTR

func (ptr *QMediaServiceSupportedDevicesInterface) QMediaServiceSupportedDevicesInterface_PTR() *QMediaServiceSupportedDevicesInterface

func (*QMediaServiceSupportedDevicesInterface) SetCthis

type QMediaServiceSupportedDevicesInterface_ITF

type QMediaServiceSupportedDevicesInterface_ITF interface {
	QMediaServiceSupportedDevicesInterface_PTR() *QMediaServiceSupportedDevicesInterface
}

type QMediaServiceSupportedFormatsInterface

type QMediaServiceSupportedFormatsInterface struct {
	*qtrt.CObject
}

func NewQMediaServiceSupportedFormatsInterfaceFromPointer

func NewQMediaServiceSupportedFormatsInterfaceFromPointer(cthis unsafe.Pointer) *QMediaServiceSupportedFormatsInterface

func (*QMediaServiceSupportedFormatsInterface) GetCthis

func (*QMediaServiceSupportedFormatsInterface) HasSupport

func (this *QMediaServiceSupportedFormatsInterface) HasSupport(mimeType string, codecs qtcore.QStringList_ITF) int

func (*QMediaServiceSupportedFormatsInterface) NewFromPointer

func (*QMediaServiceSupportedFormatsInterface) QMediaServiceSupportedFormatsInterface_PTR

func (ptr *QMediaServiceSupportedFormatsInterface) QMediaServiceSupportedFormatsInterface_PTR() *QMediaServiceSupportedFormatsInterface

func (*QMediaServiceSupportedFormatsInterface) SetCthis

func (*QMediaServiceSupportedFormatsInterface) SupportedMimeTypes

func (this *QMediaServiceSupportedFormatsInterface) SupportedMimeTypes() *qtcore.QStringList

type QMediaServiceSupportedFormatsInterface_ITF

type QMediaServiceSupportedFormatsInterface_ITF interface {
	QMediaServiceSupportedFormatsInterface_PTR() *QMediaServiceSupportedFormatsInterface
}

type QMediaService_ITF

type QMediaService_ITF interface {
	qtcore.QObject_ITF
	QMediaService_PTR() *QMediaService
}

type QMediaStreamsControl

type QMediaStreamsControl struct {
	*QMediaControl
}

func NewQMediaStreamsControl

func NewQMediaStreamsControl(parent qtcore.QObject_ITF) *QMediaStreamsControl

func NewQMediaStreamsControlFromPointer

func NewQMediaStreamsControlFromPointer(cthis unsafe.Pointer) *QMediaStreamsControl

func NewQMediaStreamsControlp

func NewQMediaStreamsControlp() *QMediaStreamsControl

func (*QMediaStreamsControl) ActiveStreamsChanged

func (this *QMediaStreamsControl) ActiveStreamsChanged()

The signal is emitted when the active streams list is changed.

func (*QMediaStreamsControl) GetCthis

func (this *QMediaStreamsControl) GetCthis() unsafe.Pointer

func (*QMediaStreamsControl) IsActive

func (this *QMediaStreamsControl) IsActive(streamNumber int) bool

Returns true if the media stream streamNumber is active.

func (*QMediaStreamsControl) MetaData

func (this *QMediaStreamsControl) MetaData(streamNumber int, key string) *qtcore.QVariant

Returns the meta-data value of key for the given streamNumber.

Useful metadata keys are QMediaMetaData::Title, QMediaMetaData::Description and QMediaMetaData::Language.

func (*QMediaStreamsControl) MetaObject

func (this *QMediaStreamsControl) MetaObject() *qtcore.QMetaObject

func (*QMediaStreamsControl) NewForInherit

Constructs a new media streams control with the given parent.

func (*QMediaStreamsControl) NewForInheritp

func (*QMediaStreamsControl) NewForInheritp() *QMediaStreamsControl

Constructs a new media streams control with the given parent.

func (*QMediaStreamsControl) NewFromPointer

func (*QMediaStreamsControl) NewFromPointer(cthis unsafe.Pointer) *QMediaStreamsControl

func (*QMediaStreamsControl) QMediaStreamsControl_PTR

func (ptr *QMediaStreamsControl) QMediaStreamsControl_PTR() *QMediaStreamsControl

func (*QMediaStreamsControl) SetActive

func (this *QMediaStreamsControl) SetActive(streamNumber int, state bool)

Sets the active state of media stream streamNumber.

Setting the active state of a media stream to true will activate it. If any other stream of the same type was previously active it will be deactivated. Setting the active state fo a media stream to false will deactivate it.

See also isActive().

func (*QMediaStreamsControl) SetCthis

func (this *QMediaStreamsControl) SetCthis(cthis unsafe.Pointer)

func (*QMediaStreamsControl) StreamCount

func (this *QMediaStreamsControl) StreamCount() int

Returns the number of media streams.

func (*QMediaStreamsControl) StreamType

func (this *QMediaStreamsControl) StreamType(streamNumber int) int

Return the type of media stream streamNumber.

func (*QMediaStreamsControl) StreamTypeItemName

func (this *QMediaStreamsControl) StreamTypeItemName(val int) string

func (*QMediaStreamsControl) StreamsChanged

func (this *QMediaStreamsControl) StreamsChanged()

The signal is emitted when the available streams list is changed.

type QMediaStreamsControl_ITF

type QMediaStreamsControl_ITF interface {
	QMediaControl_ITF
	QMediaStreamsControl_PTR() *QMediaStreamsControl
}

type QMediaStreamsControl__StreamType

type QMediaStreamsControl__StreamType = int

Media stream type.

QMediaStreamsControl::DataStream4

const QMediaStreamsControl__AudioStream QMediaStreamsControl__StreamType = 2

Audio stream.

const QMediaStreamsControl__DataStream QMediaStreamsControl__StreamType = 4
const QMediaStreamsControl__SubPictureStream QMediaStreamsControl__StreamType = 3

Subpicture or teletext stream.

const QMediaStreamsControl__UnknownStream QMediaStreamsControl__StreamType = 0

The stream type is unknown.

const QMediaStreamsControl__VideoStream QMediaStreamsControl__StreamType = 1

Video stream.

type QMediaTimeInterval

type QMediaTimeInterval struct {
	*qtrt.CObject
}

func NewQMediaTimeInterval

func NewQMediaTimeInterval() *QMediaTimeInterval

func NewQMediaTimeInterval1

func NewQMediaTimeInterval1(start int64, end_ int64) *QMediaTimeInterval

func NewQMediaTimeIntervalFromPointer

func NewQMediaTimeIntervalFromPointer(cthis unsafe.Pointer) *QMediaTimeInterval

func (*QMediaTimeInterval) Contains

func (this *QMediaTimeInterval) Contains(time int64) bool

Returns true if the specified time lies within the time range.

func (*QMediaTimeInterval) End

func (this *QMediaTimeInterval) End() int64

func (*QMediaTimeInterval) GetCthis

func (this *QMediaTimeInterval) GetCthis() unsafe.Pointer

func (*QMediaTimeInterval) IsNormal

func (this *QMediaTimeInterval) IsNormal() bool

func (*QMediaTimeInterval) NewForInherit

func (*QMediaTimeInterval) NewForInherit() *QMediaTimeInterval

func (*QMediaTimeInterval) NewForInherit1

func (*QMediaTimeInterval) NewForInherit1(start int64, end_ int64) *QMediaTimeInterval

func (*QMediaTimeInterval) NewFromPointer

func (*QMediaTimeInterval) NewFromPointer(cthis unsafe.Pointer) *QMediaTimeInterval

func (*QMediaTimeInterval) Normalized

func (this *QMediaTimeInterval) Normalized() *QMediaTimeInterval

func (*QMediaTimeInterval) QMediaTimeInterval_PTR

func (ptr *QMediaTimeInterval) QMediaTimeInterval_PTR() *QMediaTimeInterval

func (*QMediaTimeInterval) SetCthis

func (this *QMediaTimeInterval) SetCthis(cthis unsafe.Pointer)

func (*QMediaTimeInterval) Start

func (this *QMediaTimeInterval) Start() int64

func (*QMediaTimeInterval) Translated

func (this *QMediaTimeInterval) Translated(offset int64) *QMediaTimeInterval

type QMediaTimeInterval_ITF

type QMediaTimeInterval_ITF interface {
	QMediaTimeInterval_PTR() *QMediaTimeInterval
}

type QMediaTimeRange

type QMediaTimeRange struct {
	*qtrt.CObject
}

func NewQMediaTimeRange

func NewQMediaTimeRange() *QMediaTimeRange

func NewQMediaTimeRange1

func NewQMediaTimeRange1(start int64, end_ int64) *QMediaTimeRange

func NewQMediaTimeRange2

func NewQMediaTimeRange2(arg0 QMediaTimeInterval_ITF) *QMediaTimeRange

func NewQMediaTimeRangeFromPointer

func NewQMediaTimeRangeFromPointer(cthis unsafe.Pointer) *QMediaTimeRange

func Operator_minus26

func Operator_minus26(arg0 QMediaTimeRange_ITF, arg1 QMediaTimeRange_ITF) *QMediaTimeRange

Returns a time range containing r2 subtracted from r1.

func (*QMediaTimeRange) AddInterval

func (this *QMediaTimeRange) AddInterval(start int64, end_ int64)

Adds the specified interval to the time range.

Adding intervals which are not normal is invalid, and will be ignored.

If the specified interval is adjacent to, or overlaps existing intervals within the time range, these intervals will be merged.

This operation takes linear time.

See also removeInterval().

func (*QMediaTimeRange) AddInterval1

func (this *QMediaTimeRange) AddInterval1(interval QMediaTimeInterval_ITF)

Adds the specified interval to the time range.

Adding intervals which are not normal is invalid, and will be ignored.

If the specified interval is adjacent to, or overlaps existing intervals within the time range, these intervals will be merged.

This operation takes linear time.

See also removeInterval().

func (*QMediaTimeRange) AddTimeRange

func (this *QMediaTimeRange) AddTimeRange(arg0 QMediaTimeRange_ITF)

Adds each of the intervals in range to this time range.

Equivalent to calling addInterval() for each interval in range.

func (*QMediaTimeRange) Clear

func (this *QMediaTimeRange) Clear()

Removes all intervals from the time range.

See also removeInterval().

func (*QMediaTimeRange) Contains

func (this *QMediaTimeRange) Contains(time int64) bool

Returns true if the specified time lies within the time range.

func (*QMediaTimeRange) EarliestTime

func (this *QMediaTimeRange) EarliestTime() int64

Returns the earliest time within the time range.

For empty time ranges, this value is equal to zero.

See also latestTime().

func (*QMediaTimeRange) GetCthis

func (this *QMediaTimeRange) GetCthis() unsafe.Pointer

func (*QMediaTimeRange) IsContinuous

func (this *QMediaTimeRange) IsContinuous() bool

Returns true if the time range consists of a continuous interval. That is, there is one or fewer disjoint intervals within the time range.

func (*QMediaTimeRange) IsEmpty

func (this *QMediaTimeRange) IsEmpty() bool

Returns true if there are no intervals within the time range.

See also intervals().

func (*QMediaTimeRange) LatestTime

func (this *QMediaTimeRange) LatestTime() int64

Returns the latest time within the time range.

For empty time ranges, this value is equal to zero.

See also earliestTime().

func (*QMediaTimeRange) NewForInherit

func (*QMediaTimeRange) NewForInherit() *QMediaTimeRange

Constructs an empty time range.

func (*QMediaTimeRange) NewForInherit1

func (*QMediaTimeRange) NewForInherit1(start int64, end_ int64) *QMediaTimeRange

Constructs an empty time range.

func (*QMediaTimeRange) NewForInherit2

Constructs an empty time range.

func (*QMediaTimeRange) NewFromPointer

func (*QMediaTimeRange) NewFromPointer(cthis unsafe.Pointer) *QMediaTimeRange

func (*QMediaTimeRange) Operator_add_equal

func (this *QMediaTimeRange) Operator_add_equal(arg0 QMediaTimeRange_ITF) *QMediaTimeRange

func (*QMediaTimeRange) Operator_add_equal1

func (this *QMediaTimeRange) Operator_add_equal1(arg0 QMediaTimeInterval_ITF) *QMediaTimeRange

func (*QMediaTimeRange) Operator_equal

func (this *QMediaTimeRange) Operator_equal(arg0 QMediaTimeRange_ITF) *QMediaTimeRange

func (*QMediaTimeRange) Operator_equal1

func (this *QMediaTimeRange) Operator_equal1(arg0 QMediaTimeInterval_ITF) *QMediaTimeRange

func (*QMediaTimeRange) Operator_minus_equal

func (this *QMediaTimeRange) Operator_minus_equal(arg0 QMediaTimeRange_ITF) *QMediaTimeRange

func (*QMediaTimeRange) Operator_minus_equal1

func (this *QMediaTimeRange) Operator_minus_equal1(arg0 QMediaTimeInterval_ITF) *QMediaTimeRange

func (*QMediaTimeRange) QMediaTimeRange_PTR

func (ptr *QMediaTimeRange) QMediaTimeRange_PTR() *QMediaTimeRange

func (*QMediaTimeRange) RemoveInterval

func (this *QMediaTimeRange) RemoveInterval(start int64, end_ int64)

Removes the specified interval from the time range.

Removing intervals which are not normal is invalid, and will be ignored.

Intervals within the time range will be trimmed, split or deleted such that no intervals within the time range include any part of the target interval.

This operation takes linear time.

See also addInterval().

func (*QMediaTimeRange) RemoveInterval1

func (this *QMediaTimeRange) RemoveInterval1(interval QMediaTimeInterval_ITF)

Removes the specified interval from the time range.

Removing intervals which are not normal is invalid, and will be ignored.

Intervals within the time range will be trimmed, split or deleted such that no intervals within the time range include any part of the target interval.

This operation takes linear time.

See also addInterval().

func (*QMediaTimeRange) RemoveTimeRange

func (this *QMediaTimeRange) RemoveTimeRange(arg0 QMediaTimeRange_ITF)

Removes each of the intervals in range from this time range.

Equivalent to calling removeInterval() for each interval in range.

func (*QMediaTimeRange) SetCthis

func (this *QMediaTimeRange) SetCthis(cthis unsafe.Pointer)

type QMediaTimeRange_ITF

type QMediaTimeRange_ITF interface {
	QMediaTimeRange_PTR() *QMediaTimeRange
}

type QMediaVideoProbeControl

type QMediaVideoProbeControl struct {
	*QMediaControl
}

func NewQMediaVideoProbeControl

func NewQMediaVideoProbeControl(parent qtcore.QObject_ITF) *QMediaVideoProbeControl

func NewQMediaVideoProbeControlFromPointer

func NewQMediaVideoProbeControlFromPointer(cthis unsafe.Pointer) *QMediaVideoProbeControl

func NewQMediaVideoProbeControlp

func NewQMediaVideoProbeControlp() *QMediaVideoProbeControl

func (*QMediaVideoProbeControl) Flush

func (this *QMediaVideoProbeControl) Flush()

This signal should be emitted when it is required to release all frames.

func (*QMediaVideoProbeControl) GetCthis

func (this *QMediaVideoProbeControl) GetCthis() unsafe.Pointer

func (*QMediaVideoProbeControl) MetaObject

func (this *QMediaVideoProbeControl) MetaObject() *qtcore.QMetaObject

func (*QMediaVideoProbeControl) NewForInherit

Create a new media video probe control object with the given parent.

func (*QMediaVideoProbeControl) NewForInheritp

Create a new media video probe control object with the given parent.

func (*QMediaVideoProbeControl) NewFromPointer

func (*QMediaVideoProbeControl) QMediaVideoProbeControl_PTR

func (ptr *QMediaVideoProbeControl) QMediaVideoProbeControl_PTR() *QMediaVideoProbeControl

func (*QMediaVideoProbeControl) SetCthis

func (this *QMediaVideoProbeControl) SetCthis(cthis unsafe.Pointer)

func (*QMediaVideoProbeControl) VideoFrameProbed

func (this *QMediaVideoProbeControl) VideoFrameProbed(frame QVideoFrame_ITF)

This signal should be emitted when a video frame is processed in the media service.

type QMediaVideoProbeControl_ITF

type QMediaVideoProbeControl_ITF interface {
	QMediaControl_ITF
	QMediaVideoProbeControl_PTR() *QMediaVideoProbeControl
}

type QMetaDataReaderControl

type QMetaDataReaderControl struct {
	*QMediaControl
}

func NewQMetaDataReaderControl

func NewQMetaDataReaderControl(parent qtcore.QObject_ITF) *QMetaDataReaderControl

func NewQMetaDataReaderControlFromPointer

func NewQMetaDataReaderControlFromPointer(cthis unsafe.Pointer) *QMetaDataReaderControl

func NewQMetaDataReaderControlp

func NewQMetaDataReaderControlp() *QMetaDataReaderControl

func (*QMetaDataReaderControl) AvailableMetaData

func (this *QMetaDataReaderControl) AvailableMetaData() *qtcore.QStringList

Returns a list of keys there is meta-data available for.

func (*QMetaDataReaderControl) GetCthis

func (this *QMetaDataReaderControl) GetCthis() unsafe.Pointer

func (*QMetaDataReaderControl) IsMetaDataAvailable

func (this *QMetaDataReaderControl) IsMetaDataAvailable() bool

Identifies if meta-data is available from a media service.

Returns true if the meta-data is available and false otherwise.

func (*QMetaDataReaderControl) MetaData

func (this *QMetaDataReaderControl) MetaData(key string) *qtcore.QVariant

Returns the meta-data for the given key.

func (*QMetaDataReaderControl) MetaDataAvailableChanged

func (this *QMetaDataReaderControl) MetaDataAvailableChanged(available bool)

Signal the availability of meta-data has changed, available will be true if the multimedia object has meta-data.

func (*QMetaDataReaderControl) MetaDataChanged

func (this *QMetaDataReaderControl) MetaDataChanged()

Signal the changes of meta-data.

If multiple meta-data elements are changed, metaDataChanged(const QString &key, const QVariant &value) signal is emitted for each of them with metaDataChanged() changed emitted once.

Note: Signal metaDataChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(metaDataReaderControl, QOverload<>::of(&QMetaDataReaderControl::metaDataChanged),
    [=](){ /-* ... *-/ });

func (*QMetaDataReaderControl) MetaDataChanged1

func (this *QMetaDataReaderControl) MetaDataChanged1(key string, value qtcore.QVariant_ITF)

Signal the changes of meta-data.

If multiple meta-data elements are changed, metaDataChanged(const QString &key, const QVariant &value) signal is emitted for each of them with metaDataChanged() changed emitted once.

Note: Signal metaDataChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(metaDataReaderControl, QOverload<>::of(&QMetaDataReaderControl::metaDataChanged),
    [=](){ /-* ... *-/ });

func (*QMetaDataReaderControl) MetaObject

func (this *QMetaDataReaderControl) MetaObject() *qtcore.QMetaObject

func (*QMetaDataReaderControl) NewForInherit

Construct a QMetaDataReaderControl with parent. This class is meant as a base class for service specific meta data providers so this constructor is protected.

func (*QMetaDataReaderControl) NewForInheritp

Construct a QMetaDataReaderControl with parent. This class is meant as a base class for service specific meta data providers so this constructor is protected.

func (*QMetaDataReaderControl) NewFromPointer

func (*QMetaDataReaderControl) QMetaDataReaderControl_PTR

func (ptr *QMetaDataReaderControl) QMetaDataReaderControl_PTR() *QMetaDataReaderControl

func (*QMetaDataReaderControl) SetCthis

func (this *QMetaDataReaderControl) SetCthis(cthis unsafe.Pointer)

type QMetaDataReaderControl_ITF

type QMetaDataReaderControl_ITF interface {
	QMediaControl_ITF
	QMetaDataReaderControl_PTR() *QMetaDataReaderControl
}

type QMetaDataWriterControl

type QMetaDataWriterControl struct {
	*QMediaControl
}

func NewQMetaDataWriterControl

func NewQMetaDataWriterControl(parent qtcore.QObject_ITF) *QMetaDataWriterControl

func NewQMetaDataWriterControlFromPointer

func NewQMetaDataWriterControlFromPointer(cthis unsafe.Pointer) *QMetaDataWriterControl

func NewQMetaDataWriterControlp

func NewQMetaDataWriterControlp() *QMetaDataWriterControl

func (*QMetaDataWriterControl) AvailableMetaData

func (this *QMetaDataWriterControl) AvailableMetaData() *qtcore.QStringList

Returns a list of keys there is meta-data available for.

func (*QMetaDataWriterControl) GetCthis

func (this *QMetaDataWriterControl) GetCthis() unsafe.Pointer

func (*QMetaDataWriterControl) IsMetaDataAvailable

func (this *QMetaDataWriterControl) IsMetaDataAvailable() bool

Identifies if meta-data is available from a media service.

Returns true if the meta-data is available and false otherwise.

func (*QMetaDataWriterControl) IsWritable

func (this *QMetaDataWriterControl) IsWritable() bool

Identifies if a media service's meta-data can be edited.

Returns true if the meta-data is writable and false otherwise.

func (*QMetaDataWriterControl) MetaData

func (this *QMetaDataWriterControl) MetaData(key string) *qtcore.QVariant

Returns the meta-data for the given key.

See also setMetaData().

func (*QMetaDataWriterControl) MetaDataAvailableChanged

func (this *QMetaDataWriterControl) MetaDataAvailableChanged(available bool)

Signal the availability of meta-data has changed, available will be true if the multimedia object has meta-data.

func (*QMetaDataWriterControl) MetaDataChanged

func (this *QMetaDataWriterControl) MetaDataChanged()

Signal the changes of meta-data.

If multiple meta-data elements are changed, metaDataChanged(const QString &key, const QVariant &value) signal is emitted for each of them with metaDataChanged() changed emitted once.

Note: Signal metaDataChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(metaDataWriterControl, QOverload<>::of(&QMetaDataWriterControl::metaDataChanged),
    [=](){ /-* ... *-/ });

func (*QMetaDataWriterControl) MetaDataChanged1

func (this *QMetaDataWriterControl) MetaDataChanged1(key string, value qtcore.QVariant_ITF)

Signal the changes of meta-data.

If multiple meta-data elements are changed, metaDataChanged(const QString &key, const QVariant &value) signal is emitted for each of them with metaDataChanged() changed emitted once.

Note: Signal metaDataChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(metaDataWriterControl, QOverload<>::of(&QMetaDataWriterControl::metaDataChanged),
    [=](){ /-* ... *-/ });

func (*QMetaDataWriterControl) MetaObject

func (this *QMetaDataWriterControl) MetaObject() *qtcore.QMetaObject

func (*QMetaDataWriterControl) NewForInherit

Construct a QMetaDataWriterControl with parent. This class is meant as a base class for service specific meta data providers so this constructor is protected.

func (*QMetaDataWriterControl) NewForInheritp

Construct a QMetaDataWriterControl with parent. This class is meant as a base class for service specific meta data providers so this constructor is protected.

func (*QMetaDataWriterControl) NewFromPointer

func (*QMetaDataWriterControl) QMetaDataWriterControl_PTR

func (ptr *QMetaDataWriterControl) QMetaDataWriterControl_PTR() *QMetaDataWriterControl

func (*QMetaDataWriterControl) SetCthis

func (this *QMetaDataWriterControl) SetCthis(cthis unsafe.Pointer)

func (*QMetaDataWriterControl) SetMetaData

func (this *QMetaDataWriterControl) SetMetaData(key string, value qtcore.QVariant_ITF)

Sets the value of the meta-data element with the given key.

See also metaData().

func (*QMetaDataWriterControl) WritableChanged

func (this *QMetaDataWriterControl) WritableChanged(writable bool)

Signal a change in the writable status of meta-data, writable will be true if meta-data elements can be added or adjusted.

type QMetaDataWriterControl_ITF

type QMetaDataWriterControl_ITF interface {
	QMediaControl_ITF
	QMetaDataWriterControl_PTR() *QMetaDataWriterControl
}

type QRadioData

type QRadioData struct {
	*qtcore.QObject
	*QMediaBindableInterface
}

func NewQRadioData

func NewQRadioData(mediaObject QMediaObject_ITF, parent qtcore.QObject_ITF) *QRadioData

func NewQRadioDataFromPointer

func NewQRadioDataFromPointer(cthis unsafe.Pointer) *QRadioData

func NewQRadioDatap

func NewQRadioDatap(mediaObject QMediaObject_ITF) *QRadioData

func (*QRadioData) AlternativeFrequenciesEnabledChanged

func (this *QRadioData) AlternativeFrequenciesEnabledChanged(enabled bool)

Signals that automatically tuning to alternative frequencies has been enabled or disabled according to enabled.

Note: Notifier signal for property alternativeFrequenciesEnabled.

func (*QRadioData) Availability

func (this *QRadioData) Availability() int

Returns the availability of the radio data service.

A long as there is a media service which provides radio functionality, then the availability will be that of the radio tuner.

func (*QRadioData) Error

func (this *QRadioData) Error() int

Returns the error state of a radio data.

See also errorString().

func (*QRadioData) Error1

func (this *QRadioData) Error1(error int)

Returns the error state of a radio data.

See also errorString().

func (*QRadioData) ErrorItemName

func (this *QRadioData) ErrorItemName(val int) string

func (*QRadioData) ErrorString

func (this *QRadioData) ErrorString() string

Returns a description of a radio data's error state.

See also error().

func (*QRadioData) GetCthis

func (this *QRadioData) GetCthis() unsafe.Pointer

func (*QRadioData) InheritSetMediaObject

func (this *QRadioData) InheritSetMediaObject(f func(arg0 *QMediaObject) bool)

bool setMediaObject(QMediaObject *)

func (*QRadioData) IsAlternativeFrequenciesEnabled

func (this *QRadioData) IsAlternativeFrequenciesEnabled() bool

func (*QRadioData) MediaObject

func (this *QRadioData) MediaObject() *QMediaObject

Reimplemented from QMediaBindableInterface::mediaObject().

See also setMediaObject().

func (*QRadioData) MetaObject

func (this *QRadioData) MetaObject() *qtcore.QMetaObject

func (*QRadioData) NewForInherit

func (*QRadioData) NewForInherit(mediaObject QMediaObject_ITF, parent qtcore.QObject_ITF) *QRadioData

Constructs a radio data based on a mediaObject and parent.

The mediaObject should be an instance of QRadioTuner. It is preferable to use the radioData property on a QRadioTuner instance to get an instance of QRadioData.

During construction, this class is bound to the mediaObject using the bind() method.

func (*QRadioData) NewForInheritp

func (*QRadioData) NewForInheritp(mediaObject QMediaObject_ITF) *QRadioData

Constructs a radio data based on a mediaObject and parent.

The mediaObject should be an instance of QRadioTuner. It is preferable to use the radioData property on a QRadioTuner instance to get an instance of QRadioData.

During construction, this class is bound to the mediaObject using the bind() method.

func (*QRadioData) NewFromPointer

func (*QRadioData) NewFromPointer(cthis unsafe.Pointer) *QRadioData

func (*QRadioData) ProgramType

func (this *QRadioData) ProgramType() int

func (*QRadioData) ProgramTypeChanged

func (this *QRadioData) ProgramTypeChanged(programType int)

Signals that the Program Type code has changed to programType

Note: Notifier signal for property programType.

func (*QRadioData) ProgramTypeItemName

func (this *QRadioData) ProgramTypeItemName(val int) string

func (*QRadioData) ProgramTypeName

func (this *QRadioData) ProgramTypeName() string

func (*QRadioData) ProgramTypeNameChanged

func (this *QRadioData) ProgramTypeNameChanged(programTypeName string)

Signals that the Program Type Name has changed to programTypeName

Note: Notifier signal for property programTypeName.

func (*QRadioData) QRadioData_PTR

func (ptr *QRadioData) QRadioData_PTR() *QRadioData

func (*QRadioData) RadioText

func (this *QRadioData) RadioText() string

func (*QRadioData) RadioTextChanged

func (this *QRadioData) RadioTextChanged(radioText string)

Signals that the Radio Text property has changed to radioText

Note: Notifier signal for property radioText.

func (*QRadioData) SetAlternativeFrequenciesEnabled

func (this *QRadioData) SetAlternativeFrequenciesEnabled(enabled bool)

func (*QRadioData) SetCthis

func (this *QRadioData) SetCthis(cthis unsafe.Pointer)

func (*QRadioData) SetMediaObject

func (this *QRadioData) SetMediaObject(arg0 QMediaObject_ITF) bool

Reimplemented from QMediaBindableInterface::setMediaObject().

See also mediaObject().

func (*QRadioData) StationId

func (this *QRadioData) StationId() string

func (*QRadioData) StationIdChanged

func (this *QRadioData) StationIdChanged(stationId string)

Signals that the Program Identification code has changed to stationId

Note: Notifier signal for property stationId.

func (*QRadioData) StationName

func (this *QRadioData) StationName() string

func (*QRadioData) StationNameChanged

func (this *QRadioData) StationNameChanged(stationName string)

Signals that the Program Service has changed to stationName

Note: Notifier signal for property stationName.

type QRadioDataControl

type QRadioDataControl struct {
	*QMediaControl
}

func NewQRadioDataControl

func NewQRadioDataControl(parent qtcore.QObject_ITF) *QRadioDataControl

func NewQRadioDataControlFromPointer

func NewQRadioDataControlFromPointer(cthis unsafe.Pointer) *QRadioDataControl

func NewQRadioDataControlp

func NewQRadioDataControlp() *QRadioDataControl

func (*QRadioDataControl) AlternativeFrequenciesEnabledChanged

func (this *QRadioDataControl) AlternativeFrequenciesEnabledChanged(enabled bool)

Signals that the alternative frequencies setting has changed to the value of enabled.

func (*QRadioDataControl) Error

func (this *QRadioDataControl) Error() int

Returns the error state of a radio data.

func (*QRadioDataControl) Error1

func (this *QRadioDataControl) Error1(err_ int)

Returns the error state of a radio data.

func (*QRadioDataControl) ErrorString

func (this *QRadioDataControl) ErrorString() string

Returns a string describing a radio data's error state.

func (*QRadioDataControl) GetCthis

func (this *QRadioDataControl) GetCthis() unsafe.Pointer

func (*QRadioDataControl) IsAlternativeFrequenciesEnabled

func (this *QRadioDataControl) IsAlternativeFrequenciesEnabled() bool

Returns true if Alternative Frequency is currently enabled

func (*QRadioDataControl) MetaObject

func (this *QRadioDataControl) MetaObject() *qtcore.QMetaObject

func (*QRadioDataControl) NewForInherit

func (*QRadioDataControl) NewForInherit(parent qtcore.QObject_ITF) *QRadioDataControl

Constructs a radio data control with the given parent.

func (*QRadioDataControl) NewForInheritp

func (*QRadioDataControl) NewForInheritp() *QRadioDataControl

Constructs a radio data control with the given parent.

func (*QRadioDataControl) NewFromPointer

func (*QRadioDataControl) NewFromPointer(cthis unsafe.Pointer) *QRadioDataControl

func (*QRadioDataControl) ProgramType

func (this *QRadioDataControl) ProgramType() int

Returns the current Program Type

func (*QRadioDataControl) ProgramTypeChanged

func (this *QRadioDataControl) ProgramTypeChanged(programType int)

Signals that the Program Type programType has changed

func (*QRadioDataControl) ProgramTypeName

func (this *QRadioDataControl) ProgramTypeName() string

Returns the current Program Type Name

func (*QRadioDataControl) ProgramTypeNameChanged

func (this *QRadioDataControl) ProgramTypeNameChanged(programTypeName string)

Signals that the Program Type Name programTypeName has changed

func (*QRadioDataControl) QRadioDataControl_PTR

func (ptr *QRadioDataControl) QRadioDataControl_PTR() *QRadioDataControl

func (*QRadioDataControl) RadioText

func (this *QRadioDataControl) RadioText() string

Returns the current Radio Text

func (*QRadioDataControl) RadioTextChanged

func (this *QRadioDataControl) RadioTextChanged(radioText string)

Signals that the Radio Text radioText has changed

func (*QRadioDataControl) SetAlternativeFrequenciesEnabled

func (this *QRadioDataControl) SetAlternativeFrequenciesEnabled(enabled bool)

Sets the Alternative Frequency to enabled

See also isAlternativeFrequenciesEnabled().

func (*QRadioDataControl) SetCthis

func (this *QRadioDataControl) SetCthis(cthis unsafe.Pointer)

func (*QRadioDataControl) StationId

func (this *QRadioDataControl) StationId() string

Returns the current Program Identification

func (*QRadioDataControl) StationIdChanged

func (this *QRadioDataControl) StationIdChanged(stationId string)

Signals that the Program Identification stationId has changed

func (*QRadioDataControl) StationName

func (this *QRadioDataControl) StationName() string

Returns the current Program Service

func (*QRadioDataControl) StationNameChanged

func (this *QRadioDataControl) StationNameChanged(stationName string)

Signals that the Program Service stationName has changed

type QRadioDataControl_ITF

type QRadioDataControl_ITF interface {
	QMediaControl_ITF
	QRadioDataControl_PTR() *QRadioDataControl
}

type QRadioData_ITF

type QRadioData_ITF interface {
	qtcore.QObject_ITF
	QMediaBindableInterface_ITF
	QRadioData_PTR() *QRadioData
}

type QRadioData__Error

type QRadioData__Error = int

Enumerates radio data error conditions.

const QRadioData__NoError QRadioData__Error = 0

No errors have occurred.

const QRadioData__OpenError QRadioData__Error = 2

Unable to open radio device.

const QRadioData__OutOfRangeError QRadioData__Error = 3

An attempt to set a frequency or band that is not supported by radio device.

const QRadioData__ResourceError QRadioData__Error = 1

There is no radio service available.

type QRadioData__ProgramType

type QRadioData__ProgramType = int

This property holds the type of the currently playing program as transmitted by the radio station. The value can be any one of the values defined in the table below.

ConstantValue QRadioData::Undefined0 QRadioData::News1 QRadioData::CurrentAffairs2 QRadioData::Information3 QRadioData::Sport4 QRadioData::Education5 QRadioData::Drama6 QRadioData::Culture7 QRadioData::Science8 QRadioData::Varied9

const QRadioData__AdultHits QRadioData__ProgramType = 34

4

const QRadioData__Alarm QRadioData__ProgramType = 31

1

const QRadioData__AlarmTest QRadioData__ProgramType = 30

0

const QRadioData__ChildrensProgrammes QRadioData__ProgramType = 18

8

const QRadioData__ClassicRock QRadioData__ProgramType = 33

3

const QRadioData__Classical QRadioData__ProgramType = 39

9

const QRadioData__College QRadioData__ProgramType = 47

7

const QRadioData__CountryMusic QRadioData__ProgramType = 25

5

const QRadioData__Culture QRadioData__ProgramType = 7
const QRadioData__CurrentAffairs QRadioData__ProgramType = 2
const QRadioData__Documentary QRadioData__ProgramType = 29

9

const QRadioData__Drama QRadioData__ProgramType = 6
const QRadioData__EasyListening QRadioData__ProgramType = 12

2

const QRadioData__Education QRadioData__ProgramType = 5
const QRadioData__Finance QRadioData__ProgramType = 17

7

const QRadioData__FolkMusic QRadioData__ProgramType = 28

8

const QRadioData__Information QRadioData__ProgramType = 3
const QRadioData__JazzMusic QRadioData__ProgramType = 24

4

const QRadioData__Language QRadioData__ProgramType = 42

2

const QRadioData__Leisure QRadioData__ProgramType = 23

3

const QRadioData__LightClassical QRadioData__ProgramType = 13

3

const QRadioData__NationalMusic QRadioData__ProgramType = 26

6

const QRadioData__News QRadioData__ProgramType = 1
const QRadioData__Nostalgia QRadioData__ProgramType = 38

8

const QRadioData__OldiesMusic QRadioData__ProgramType = 27

7

const QRadioData__OtherMusic QRadioData__ProgramType = 15

5

const QRadioData__Personality QRadioData__ProgramType = 45

5

const QRadioData__PhoneIn QRadioData__ProgramType = 21

1

const QRadioData__PopMusic QRadioData__ProgramType = 10

0

const QRadioData__Public QRadioData__ProgramType = 46

6

const QRadioData__Religion QRadioData__ProgramType = 20

0

const QRadioData__ReligiousMusic QRadioData__ProgramType = 43

3

const QRadioData__ReligiousTalk QRadioData__ProgramType = 44

4

const QRadioData__RhythmAndBlues QRadioData__ProgramType = 40

0

const QRadioData__RockMusic QRadioData__ProgramType = 11

1

const QRadioData__Science QRadioData__ProgramType = 8
const QRadioData__SeriousClassical QRadioData__ProgramType = 14

4

const QRadioData__SocialAffairs QRadioData__ProgramType = 19

9

const QRadioData__Soft QRadioData__ProgramType = 37

7

const QRadioData__SoftRhythmAndBlues QRadioData__ProgramType = 41

1

const QRadioData__SoftRock QRadioData__ProgramType = 35

5

const QRadioData__Sport QRadioData__ProgramType = 4
const QRadioData__Talk QRadioData__ProgramType = 32

2

const QRadioData__Top40 QRadioData__ProgramType = 36

6

const QRadioData__Travel QRadioData__ProgramType = 22

2

const QRadioData__Undefined QRadioData__ProgramType = 0
const QRadioData__Varied QRadioData__ProgramType = 9
const QRadioData__Weather QRadioData__ProgramType = 16

6

type QRadioTuner

type QRadioTuner struct {
	*QMediaObject
}

func NewQRadioTuner

func NewQRadioTuner(parent qtcore.QObject_ITF) *QRadioTuner

func NewQRadioTunerFromPointer

func NewQRadioTunerFromPointer(cthis unsafe.Pointer) *QRadioTuner

func NewQRadioTunerp

func NewQRadioTunerp() *QRadioTuner

func (*QRadioTuner) AntennaConnectedChanged

func (this *QRadioTuner) AntennaConnectedChanged(connectionStatus bool)

func (*QRadioTuner) Availability

func (this *QRadioTuner) Availability() int

Reimplemented from QMediaObject::availability().

Returns the availability of the radio tuner.

func (*QRadioTuner) Band

func (this *QRadioTuner) Band() int

func (*QRadioTuner) BandChanged

func (this *QRadioTuner) BandChanged(band int)

Signals a radio tuner's band has changed.

Note: Notifier signal for property band.

func (*QRadioTuner) BandItemName

func (this *QRadioTuner) BandItemName(val int) string

func (*QRadioTuner) CancelSearch

func (this *QRadioTuner) CancelSearch()

Stops scanning for a signal.

See also searchForward(), searchBackward(), and searching.

func (*QRadioTuner) Error

func (this *QRadioTuner) Error() int

Returns the error state of a radio tuner.

See also errorString().

func (*QRadioTuner) Error1

func (this *QRadioTuner) Error1(error int)

Returns the error state of a radio tuner.

See also errorString().

func (*QRadioTuner) ErrorItemName

func (this *QRadioTuner) ErrorItemName(val int) string

func (*QRadioTuner) ErrorString

func (this *QRadioTuner) ErrorString() string

Returns a description of a radio tuner's error state.

See also error().

func (*QRadioTuner) Frequency

func (this *QRadioTuner) Frequency() int

func (*QRadioTuner) FrequencyChanged

func (this *QRadioTuner) FrequencyChanged(frequency int)

Signals that the frequency a radio tuner is tuned to has changed.

Note: Notifier signal for property frequency.

func (*QRadioTuner) FrequencyStep

func (this *QRadioTuner) FrequencyStep(band int) int

Returns the number of Hertz to increment the frequency by when stepping through frequencies within a given band.

func (*QRadioTuner) GetCthis

func (this *QRadioTuner) GetCthis() unsafe.Pointer

func (*QRadioTuner) IsAntennaConnected

func (this *QRadioTuner) IsAntennaConnected() bool

func (*QRadioTuner) IsBandSupported

func (this *QRadioTuner) IsBandSupported(b int) bool

Identifies if a frequency band is supported by a radio tuner.

Returns true if the band is supported, and false if it is not.

func (*QRadioTuner) IsMuted

func (this *QRadioTuner) IsMuted() bool

func (*QRadioTuner) IsSearching

func (this *QRadioTuner) IsSearching() bool

func (*QRadioTuner) IsStereo

func (this *QRadioTuner) IsStereo() bool

func (*QRadioTuner) MetaObject

func (this *QRadioTuner) MetaObject() *qtcore.QMetaObject

func (*QRadioTuner) MutedChanged

func (this *QRadioTuner) MutedChanged(muted bool)

Signals that the muted state of a radio tuner's audio output has changed.

Note: Notifier signal for property muted.

func (*QRadioTuner) NewForInherit

func (*QRadioTuner) NewForInherit(parent qtcore.QObject_ITF) *QRadioTuner

Constructs a radio tuner based on a media service allocated by the default media service provider.

The parent is passed to QMediaObject.

func (*QRadioTuner) NewForInheritp

func (*QRadioTuner) NewForInheritp() *QRadioTuner

Constructs a radio tuner based on a media service allocated by the default media service provider.

The parent is passed to QMediaObject.

func (*QRadioTuner) NewFromPointer

func (*QRadioTuner) NewFromPointer(cthis unsafe.Pointer) *QRadioTuner

func (*QRadioTuner) QRadioTuner_PTR

func (ptr *QRadioTuner) QRadioTuner_PTR() *QRadioTuner

func (*QRadioTuner) RadioData

func (this *QRadioTuner) RadioData() *QRadioData

func (*QRadioTuner) SearchAllStations

func (this *QRadioTuner) SearchAllStations(searchMode int)

Search all stations in current band

Emits QRadioTuner::stationFound(int, QString) for every found station. After searching is completed, QRadioTuner::searchingChanged(bool) is emitted (false). If searchMode is set to SearchGetStationId, searching waits for station id (PI) on each frequency.

See also searchForward(), searchBackward(), and searching.

func (*QRadioTuner) SearchAllStationsp

func (this *QRadioTuner) SearchAllStationsp()

Search all stations in current band

Emits QRadioTuner::stationFound(int, QString) for every found station. After searching is completed, QRadioTuner::searchingChanged(bool) is emitted (false). If searchMode is set to SearchGetStationId, searching waits for station id (PI) on each frequency.

See also searchForward(), searchBackward(), and searching.

func (*QRadioTuner) SearchBackward

func (this *QRadioTuner) SearchBackward()

Starts a backwards scan for a signal, starting from the current frequency.

See also searchForward(), cancelSearch(), and searching.

func (*QRadioTuner) SearchForward

func (this *QRadioTuner) SearchForward()

Starts a forward scan for a signal, starting from the current frequency.

See also searchBackward(), cancelSearch(), and searching.

func (*QRadioTuner) SearchModeItemName

func (this *QRadioTuner) SearchModeItemName(val int) string

func (*QRadioTuner) SearchingChanged

func (this *QRadioTuner) SearchingChanged(searching bool)

Signals that the searching state of a radio tuner has changed.

Note: Notifier signal for property searching.

func (*QRadioTuner) SetBand

func (this *QRadioTuner) SetBand(band int)

Sets a radio tuner's frequency band.

Changing the band will reset the frequency to the new band's minimum frequency.

Note: Setter function for property band.

See also band().

func (*QRadioTuner) SetCthis

func (this *QRadioTuner) SetCthis(cthis unsafe.Pointer)

func (*QRadioTuner) SetFrequency

func (this *QRadioTuner) SetFrequency(frequency int)

Sets a radio tuner's frequency.

If the tuner is set to a frequency outside the current band, the band will be changed to one occupied by the new frequency.

Note: Setter function for property frequency.

See also frequency().

func (*QRadioTuner) SetMuted

func (this *QRadioTuner) SetMuted(muted bool)

func (*QRadioTuner) SetStereoMode

func (this *QRadioTuner) SetStereoMode(mode int)

func (*QRadioTuner) SetVolume

func (this *QRadioTuner) SetVolume(volume int)

func (*QRadioTuner) SignalStrength

func (this *QRadioTuner) SignalStrength() int

func (*QRadioTuner) SignalStrengthChanged

func (this *QRadioTuner) SignalStrengthChanged(signalStrength int)

Signals that the strength of the signal received by a radio tuner has changed.

Note: Notifier signal for property signalStrength.

func (*QRadioTuner) Start

func (this *QRadioTuner) Start()

Activate the radio device.

func (*QRadioTuner) State

func (this *QRadioTuner) State() int

func (*QRadioTuner) StateChanged

func (this *QRadioTuner) StateChanged(state int)

This signal is emitted when the state changes to state.

Note: Notifier signal for property state.

func (*QRadioTuner) StateItemName

func (this *QRadioTuner) StateItemName(val int) string

func (*QRadioTuner) StationFound

func (this *QRadioTuner) StationFound(frequency int, stationId string)

Signals that a station was found in frequency with stationId Program Identification code.

func (*QRadioTuner) StereoMode

func (this *QRadioTuner) StereoMode() int

func (*QRadioTuner) StereoModeItemName

func (this *QRadioTuner) StereoModeItemName(val int) string

func (*QRadioTuner) StereoStatusChanged

func (this *QRadioTuner) StereoStatusChanged(stereo bool)

Signals that the stereo state of a radio tuner has changed.

Note: Notifier signal for property stereo.

func (*QRadioTuner) Stop

func (this *QRadioTuner) Stop()

Deactivate the radio device.

func (*QRadioTuner) Volume

func (this *QRadioTuner) Volume() int

func (*QRadioTuner) VolumeChanged

func (this *QRadioTuner) VolumeChanged(volume int)

Signals that the volume of a radio tuner's audio output has changed.

Note: Notifier signal for property volume.

type QRadioTunerControl

type QRadioTunerControl struct {
	*QMediaControl
}

func NewQRadioTunerControl

func NewQRadioTunerControl(parent qtcore.QObject_ITF) *QRadioTunerControl

func NewQRadioTunerControlFromPointer

func NewQRadioTunerControlFromPointer(cthis unsafe.Pointer) *QRadioTunerControl

func NewQRadioTunerControlp

func NewQRadioTunerControlp() *QRadioTunerControl

func (*QRadioTunerControl) AntennaConnectedChanged

func (this *QRadioTunerControl) AntennaConnectedChanged(connectionStatus bool)

Signals that the antenna has either been connected or disconnected as reflected with the connectionStatus.

func (*QRadioTunerControl) Band

func (this *QRadioTunerControl) Band() int

Returns the frequency band a radio tuner is tuned to.

See also setBand().

func (*QRadioTunerControl) BandChanged

func (this *QRadioTunerControl) BandChanged(band int)

Signals that the frequency band a radio tuner is tuned to has changed.

func (*QRadioTunerControl) CancelSearch

func (this *QRadioTunerControl) CancelSearch()

Stops scanning for a signal.

func (*QRadioTunerControl) Error

func (this *QRadioTunerControl) Error() int

Returns the error state of a radio tuner.

func (*QRadioTunerControl) Error1

func (this *QRadioTunerControl) Error1(err_ int)

Returns the error state of a radio tuner.

func (*QRadioTunerControl) ErrorString

func (this *QRadioTunerControl) ErrorString() string

Returns a string describing a radio tuner's error state.

func (*QRadioTunerControl) Frequency

func (this *QRadioTunerControl) Frequency() int

Returns the frequency a radio tuner is tuned to.

See also setFrequency().

func (*QRadioTunerControl) FrequencyChanged

func (this *QRadioTunerControl) FrequencyChanged(frequency int)

Signals that the frequency a radio tuner is tuned to has changed.

func (*QRadioTunerControl) FrequencyStep

func (this *QRadioTunerControl) FrequencyStep(b int) int

Returns the number of Hertz to increment the frequency by when stepping through frequencies within a given band.

func (*QRadioTunerControl) GetCthis

func (this *QRadioTunerControl) GetCthis() unsafe.Pointer

func (*QRadioTunerControl) IsAntennaConnected

func (this *QRadioTunerControl) IsAntennaConnected() bool

Identifies if there is an antenna connected to the device.

Returns true if there is a connected antenna, and false otherwise.

func (*QRadioTunerControl) IsBandSupported

func (this *QRadioTunerControl) IsBandSupported(b int) bool

Identifies if a frequency band is supported.

Returns true if the band is supported, and false if it is not.

func (*QRadioTunerControl) IsMuted

func (this *QRadioTunerControl) IsMuted() bool

Identifies if a radio tuner's audio output is muted.

Returns true if the audio is muted, and false if it is not.

func (*QRadioTunerControl) IsSearching

func (this *QRadioTunerControl) IsSearching() bool

Identifies if a radio tuner is currently scanning for signal.

Returns true if the tuner is scanning, and false if it is not.

func (*QRadioTunerControl) IsStereo

func (this *QRadioTunerControl) IsStereo() bool

Identifies if a radio tuner is receiving a stereo signal.

Returns true if the tuner is receiving a stereo signal, and false if it is not.

func (*QRadioTunerControl) MetaObject

func (this *QRadioTunerControl) MetaObject() *qtcore.QMetaObject

func (*QRadioTunerControl) MutedChanged

func (this *QRadioTunerControl) MutedChanged(muted bool)

Signals that the muted state of a radio tuner's audio output has changed.

func (*QRadioTunerControl) NewForInherit

func (*QRadioTunerControl) NewForInherit(parent qtcore.QObject_ITF) *QRadioTunerControl

Constructs a radio tuner control with the given parent.

func (*QRadioTunerControl) NewForInheritp

func (*QRadioTunerControl) NewForInheritp() *QRadioTunerControl

Constructs a radio tuner control with the given parent.

func (*QRadioTunerControl) NewFromPointer

func (*QRadioTunerControl) NewFromPointer(cthis unsafe.Pointer) *QRadioTunerControl

func (*QRadioTunerControl) QRadioTunerControl_PTR

func (ptr *QRadioTunerControl) QRadioTunerControl_PTR() *QRadioTunerControl

func (*QRadioTunerControl) SearchAllStations

func (this *QRadioTunerControl) SearchAllStations(searchMode int)

Starts a scan through the whole frequency band searching all stations with a specific searchMode.

func (*QRadioTunerControl) SearchAllStationsp

func (this *QRadioTunerControl) SearchAllStationsp()

Starts a scan through the whole frequency band searching all stations with a specific searchMode.

func (*QRadioTunerControl) SearchBackward

func (this *QRadioTunerControl) SearchBackward()

Starts a backwards scan for a signal, starting from the current frequency().

func (*QRadioTunerControl) SearchForward

func (this *QRadioTunerControl) SearchForward()

Starts a forward scan for a signal, starting from the current frequency().

func (*QRadioTunerControl) SearchingChanged

func (this *QRadioTunerControl) SearchingChanged(searching bool)

Signals that the searching state of a radio tuner has changed.

func (*QRadioTunerControl) SetBand

func (this *QRadioTunerControl) SetBand(b int)

Sets the frequecy band a radio tuner is tuned to.

Changing the frequency band will reset the frequency to the minimum frequency of the new band.

See also band().

func (*QRadioTunerControl) SetCthis

func (this *QRadioTunerControl) SetCthis(cthis unsafe.Pointer)

func (*QRadioTunerControl) SetFrequency

func (this *QRadioTunerControl) SetFrequency(frequency int)

Sets the frequency a radio tuner is tuned to.

See also frequency().

func (*QRadioTunerControl) SetMuted

func (this *QRadioTunerControl) SetMuted(muted bool)

Sets the muted state of a radio tuner's audio output.

See also isMuted().

func (*QRadioTunerControl) SetStereoMode

func (this *QRadioTunerControl) SetStereoMode(mode int)

Sets a radio tuner's stereo mode.

See also stereoMode() and QRadioTuner::StereoMode.

func (*QRadioTunerControl) SetVolume

func (this *QRadioTunerControl) SetVolume(volume int)

Sets the percentage volume of a radio tuner's audio output.

See also volume().

func (*QRadioTunerControl) SignalStrength

func (this *QRadioTunerControl) SignalStrength() int

Return a radio tuner's current signal strength as a percentage.

func (*QRadioTunerControl) SignalStrengthChanged

func (this *QRadioTunerControl) SignalStrengthChanged(signalStrength int)

Signals that the percentage strength of the signal received by a radio tuner has changed.

func (*QRadioTunerControl) Start

func (this *QRadioTunerControl) Start()

Activate the radio device.

func (*QRadioTunerControl) State

func (this *QRadioTunerControl) State() int

Returns the current radio tuner state.

func (*QRadioTunerControl) StateChanged

func (this *QRadioTunerControl) StateChanged(state int)

Signals that the state of a radio tuner has changed.

func (*QRadioTunerControl) StationFound

func (this *QRadioTunerControl) StationFound(frequency int, stationId string)

Signals that new station with frequency and stationId was found when scanning

func (*QRadioTunerControl) StereoMode

func (this *QRadioTunerControl) StereoMode() int

Returns a radio tuner's stereo mode.

See also setStereoMode() and QRadioTuner::StereoMode.

func (*QRadioTunerControl) StereoStatusChanged

func (this *QRadioTunerControl) StereoStatusChanged(stereo bool)

Signals that the stereo state of a radio tuner has changed.

func (*QRadioTunerControl) Stop

func (this *QRadioTunerControl) Stop()

Deactivate the radio device.

func (*QRadioTunerControl) Volume

func (this *QRadioTunerControl) Volume() int

Returns the volume of a radio tuner's audio output as a percentage.

See also setVolume().

func (*QRadioTunerControl) VolumeChanged

func (this *QRadioTunerControl) VolumeChanged(volume int)

Signals that the percentage volume of radio tuner's audio output has changed.

type QRadioTunerControl_ITF

type QRadioTunerControl_ITF interface {
	QMediaControl_ITF
	QRadioTunerControl_PTR() *QRadioTunerControl
}

type QRadioTuner_ITF

type QRadioTuner_ITF interface {
	QMediaObject_ITF
	QRadioTuner_PTR() *QRadioTuner
}

type QRadioTuner__Band

type QRadioTuner__Band = int

Enumerates radio frequency bands.

const QRadioTuner__AM QRadioTuner__Band = 0
const QRadioTuner__FM QRadioTuner__Band = 1
const QRadioTuner__FM2 QRadioTuner__Band = 4

range not defined, used when area supports more than one FM range.

const QRadioTuner__LW QRadioTuner__Band = 3
const QRadioTuner__SW QRadioTuner__Band = 2

type QRadioTuner__Error

type QRadioTuner__Error = int

Enumerates radio tuner error conditions.

const QRadioTuner__NoError QRadioTuner__Error = 0

No errors have occurred.

const QRadioTuner__OpenError QRadioTuner__Error = 2

Unable to open radio device.

const QRadioTuner__OutOfRangeError QRadioTuner__Error = 3

An attempt to set a frequency or band that is not supported by radio device.

const QRadioTuner__ResourceError QRadioTuner__Error = 1

There is no radio service available.

type QRadioTuner__SearchMode

type QRadioTuner__SearchMode = int

Enumerates how the radio tuner should search for stations.

const QRadioTuner__SearchFast QRadioTuner__SearchMode = 0

Use only signal strength when searching.

const QRadioTuner__SearchGetStationId QRadioTuner__SearchMode = 1

After finding a strong signal, wait for the RDS station id (PI) before continuing.

type QRadioTuner__State

type QRadioTuner__State = int

Enumerates radio tuner states.

const QRadioTuner__ActiveState QRadioTuner__State = 0

The tuner is started and active.

const QRadioTuner__StoppedState QRadioTuner__State = 1

The tuner device is stopped.

type QRadioTuner__StereoMode

type QRadioTuner__StereoMode = int

Enumerates radio tuner policy for receiving stereo signals.

const QRadioTuner__Auto QRadioTuner__StereoMode = 2

Uses the stereo mode matching the station.

const QRadioTuner__ForceMono QRadioTuner__StereoMode = 1

Provide mono mode, converting if required.

const QRadioTuner__ForceStereo QRadioTuner__StereoMode = 0

Provide stereo mode, converting if required.

type QSizeList

type QSizeList = qtcore.QSizeList

type QSound

type QSound struct {
	*qtcore.QObject
}

func NewQSound

func NewQSound(filename string, parent qtcore.QObject_ITF) *QSound

func NewQSoundFromPointer

func NewQSoundFromPointer(cthis unsafe.Pointer) *QSound

func NewQSoundp

func NewQSoundp(filename string) *QSound

func (*QSound) FileName

func (this *QSound) FileName() string

Returns the filename associated with this QSound object.

See also QSound().

func (*QSound) GetCthis

func (this *QSound) GetCthis() unsafe.Pointer

func (*QSound) IsFinished

func (this *QSound) IsFinished() bool

Returns true if the sound has finished playing; otherwise returns false.

func (*QSound) LoopItemName

func (this *QSound) LoopItemName(val int) string

func (*QSound) Loops

func (this *QSound) Loops() int

Returns the number of times the sound will play. Return value of QSound::Infinite indicates infinite number of loops

See also loopsRemaining() and setLoops().

func (*QSound) LoopsRemaining

func (this *QSound) LoopsRemaining() int

Returns the remaining number of times the sound will loop (for all positive values this value decreases each time the sound is played). Return value of QSound::Infinite indicates infinite number of loops

See also loops() and isFinished().

func (*QSound) MetaObject

func (this *QSound) MetaObject() *qtcore.QMetaObject

func (*QSound) NewForInherit

func (*QSound) NewForInherit(filename string, parent qtcore.QObject_ITF) *QSound

Constructs a QSound object from the file specified by the given filename and with the given parent.

The file can either be a local file or in a resource.

See also play().

func (*QSound) NewForInheritp

func (*QSound) NewForInheritp(filename string) *QSound

Constructs a QSound object from the file specified by the given filename and with the given parent.

The file can either be a local file or in a resource.

See also play().

func (*QSound) NewFromPointer

func (*QSound) NewFromPointer(cthis unsafe.Pointer) *QSound

func (*QSound) Play

func (this *QSound) Play(filename string)

Plays the sound stored in the file specified by the given filename.

The file can either be a local file or in a resource.

See also stop(), loopsRemaining(), and isFinished().

func (*QSound) Play1

func (this *QSound) Play1()

Plays the sound stored in the file specified by the given filename.

The file can either be a local file or in a resource.

See also stop(), loopsRemaining(), and isFinished().

func (*QSound) QSound_PTR

func (ptr *QSound) QSound_PTR() *QSound

func (*QSound) SetCthis

func (this *QSound) SetCthis(cthis unsafe.Pointer)

func (*QSound) SetLoops

func (this *QSound) SetLoops(arg0 int)

Sets the sound to repeat the given number of times when it is played.

Note that passing the value QSound::Infinite will cause the sound to loop indefinitely.

See also loops().

func (*QSound) Stop

func (this *QSound) Stop()

Stops the sound playing.

See also play().

type QSoundEffect

type QSoundEffect struct {
	*qtcore.QObject
}

func NewQSoundEffect

func NewQSoundEffect(parent qtcore.QObject_ITF) *QSoundEffect

func NewQSoundEffectFromPointer

func NewQSoundEffectFromPointer(cthis unsafe.Pointer) *QSoundEffect

func NewQSoundEffectp

func NewQSoundEffectp() *QSoundEffect

func (*QSoundEffect) Category

func (this *QSoundEffect) Category() string

Returns the current category for this sound effect.

Some platforms can perform different audio routing for different categories, or may allow the user to set different volume levels for different categories.

This setting will be ignored on platforms that do not support audio categories.

Note: Getter function for property category.

See also setCategory().

func (*QSoundEffect) CategoryChanged

func (this *QSoundEffect) CategoryChanged()

The categoryChanged signal is emitted when the category property has changed.

Note: Notifier signal for property category.

func (*QSoundEffect) GetCthis

func (this *QSoundEffect) GetCthis() unsafe.Pointer

func (*QSoundEffect) IsLoaded

func (this *QSoundEffect) IsLoaded() bool

Returns whether the sound effect has finished loading the source().

func (*QSoundEffect) IsMuted

func (this *QSoundEffect) IsMuted() bool

Returns whether this sound effect is muted

Note: Getter function for property muted.

func (*QSoundEffect) IsPlaying

func (this *QSoundEffect) IsPlaying() bool

Returns true if the sound effect is currently playing, or false otherwise

Note: Getter function for property playing.

func (*QSoundEffect) LoadedChanged

func (this *QSoundEffect) LoadedChanged()

The loadedChanged signal is emitted when the loading state has changed.

func (*QSoundEffect) LoopCount

func (this *QSoundEffect) LoopCount() int

Returns the total number of times that this sound effect will be played before stopping.

See the loopsRemaining() method for the number of loops currently remaining.

Note: Getter function for property loops.

See also setLoopCount().

func (*QSoundEffect) LoopCountChanged

func (this *QSoundEffect) LoopCountChanged()

The loopCountChanged signal is emitted when the initial number of loops has changed.

Note: Notifier signal for property loops.

func (*QSoundEffect) LoopItemName

func (this *QSoundEffect) LoopItemName(val int) string

func (*QSoundEffect) LoopsRemaining

func (this *QSoundEffect) LoopsRemaining() int

func (*QSoundEffect) LoopsRemainingChanged

func (this *QSoundEffect) LoopsRemainingChanged()

The loopsRemainingChanged signal is emitted when the remaining number of loops has changed.

Note: Notifier signal for property loopsRemaining.

func (*QSoundEffect) MetaObject

func (this *QSoundEffect) MetaObject() *qtcore.QMetaObject

func (*QSoundEffect) MutedChanged

func (this *QSoundEffect) MutedChanged()

The mutedChanged signal is emitted when the mute state has changed.

Note: Notifier signal for property muted.

func (*QSoundEffect) NewForInherit

func (*QSoundEffect) NewForInherit(parent qtcore.QObject_ITF) *QSoundEffect

Creates a QSoundEffect with the given parent.

func (*QSoundEffect) NewForInheritp

func (*QSoundEffect) NewForInheritp() *QSoundEffect

Creates a QSoundEffect with the given parent.

func (*QSoundEffect) NewFromPointer

func (*QSoundEffect) NewFromPointer(cthis unsafe.Pointer) *QSoundEffect

func (*QSoundEffect) Play

func (this *QSoundEffect) Play()

Start playback of the sound effect, looping the effect for the number of times as specified in the loops property.

func (*QSoundEffect) PlayingChanged

func (this *QSoundEffect) PlayingChanged()

The playingChanged signal is emitted when the playing property has changed.

Note: Notifier signal for property playing.

func (*QSoundEffect) QSoundEffect_PTR

func (ptr *QSoundEffect) QSoundEffect_PTR() *QSoundEffect

func (*QSoundEffect) SetCategory

func (this *QSoundEffect) SetCategory(category string)

Sets the category of this sound effect to category.

Some platforms can perform different audio routing for different categories, or may allow the user to set different volume levels for different categories.

This setting will be ignored on platforms that do not support audio categories.

If this setting is changed while a sound effect is playing it will only take effect when the sound effect has stopped playing.

Note: Setter function for property category.

See also category().

func (*QSoundEffect) SetCthis

func (this *QSoundEffect) SetCthis(cthis unsafe.Pointer)

func (*QSoundEffect) SetLoopCount

func (this *QSoundEffect) SetLoopCount(loopCount int)

Set the total number of times to play this sound effect to loopCount.

Setting the loop count to 0 or 1 means the sound effect will be played only once; pass QSoundEffect::Infinite to repeat indefinitely. The loop count can be changed while the sound effect is playing, in which case it will update the remaining loops to the new loopCount.

Note: Setter function for property loops.

See also loopCount() and loopsRemaining().

func (*QSoundEffect) SetMuted

func (this *QSoundEffect) SetMuted(muted bool)

Sets whether to mute this sound effect's playback.

If muted is true, playback will be muted (silenced), and otherwise playback will occur with the currently specified volume().

Note: Setter function for property muted.

See also isMuted().

func (*QSoundEffect) SetSource

func (this *QSoundEffect) SetSource(url qtcore.QUrl_ITF)

Set the current URL to play to url.

Note: Setter function for property source.

See also source().

func (*QSoundEffect) SetVolume

func (this *QSoundEffect) SetVolume(volume float64)

Sets the sound effect volume to volume.

The volume is scaled linearly from 0.0 (silence) to 1.0 (full volume). Values outside this range will be clamped.

The default volume is 1.0.

UI volume controls should usually be scaled nonlinearly. For example, using a logarithmic scale will produce linear changes in perceived loudness, which is what a user would normally expect from a volume control. See QAudio::convertVolume() for more details.

Note: Setter function for property volume.

See also volume().

func (*QSoundEffect) Source

func (this *QSoundEffect) Source() *qtcore.QUrl

Returns the URL of the current source to play

Note: Getter function for property source.

See also setSource().

func (*QSoundEffect) SourceChanged

func (this *QSoundEffect) SourceChanged()

The sourceChanged signal is emitted when the source has been changed.

Note: Notifier signal for property source.

func (*QSoundEffect) Status

func (this *QSoundEffect) Status() int

Returns the current status of this sound effect.

Note: Getter function for property status.

func (*QSoundEffect) StatusChanged

func (this *QSoundEffect) StatusChanged()

The statusChanged signal is emitted when the status property has changed.

Note: Notifier signal for property status.

func (*QSoundEffect) StatusItemName

func (this *QSoundEffect) StatusItemName(val int) string

func (*QSoundEffect) Stop

func (this *QSoundEffect) Stop()

Stop current playback.

func (*QSoundEffect) SupportedMimeTypes

func (this *QSoundEffect) SupportedMimeTypes() *qtcore.QStringList

Returns a list of the supported mime types for this platform.

func (*QSoundEffect) Volume

func (this *QSoundEffect) Volume() float64

Returns the current volume of this sound effect, from 0.0 (silent) to 1.0 (maximum volume).

Note: Getter function for property volume.

See also setVolume().

func (*QSoundEffect) VolumeChanged

func (this *QSoundEffect) VolumeChanged()

The volumeChanged signal is emitted when the volume has changed.

Note: Notifier signal for property volume.

type QSoundEffect_ITF

type QSoundEffect_ITF interface {
	qtcore.QObject_ITF
	QSoundEffect_PTR() *QSoundEffect
}

type QSoundEffect__Loop

type QSoundEffect__Loop = int
const QSoundEffect__Infinite QSoundEffect__Loop = -2

type QSoundEffect__Status

type QSoundEffect__Status = int
const QSoundEffect__Error QSoundEffect__Status = 3

An error occurred during operation, such as failure of loading the source.

const QSoundEffect__Loading QSoundEffect__Status = 1

The SoundEffect is trying to load the source.

const QSoundEffect__Null QSoundEffect__Status = 0

No source has been set or the source is null.

const QSoundEffect__Ready QSoundEffect__Status = 2

The source is loaded and ready for play.

type QSound_ITF

type QSound_ITF interface {
	qtcore.QObject_ITF
	QSound_PTR() *QSound
}

type QSound__Loop

type QSound__Loop = int
const QSound__Infinite QSound__Loop = -1

type QVideoDeviceSelectorControl

type QVideoDeviceSelectorControl struct {
	*QMediaControl
}

func NewQVideoDeviceSelectorControl

func NewQVideoDeviceSelectorControl(parent qtcore.QObject_ITF) *QVideoDeviceSelectorControl

func NewQVideoDeviceSelectorControlFromPointer

func NewQVideoDeviceSelectorControlFromPointer(cthis unsafe.Pointer) *QVideoDeviceSelectorControl

func NewQVideoDeviceSelectorControlp

func NewQVideoDeviceSelectorControlp() *QVideoDeviceSelectorControl

func (*QVideoDeviceSelectorControl) DefaultDevice

func (this *QVideoDeviceSelectorControl) DefaultDevice() int

Returns the index of the default video device.

func (*QVideoDeviceSelectorControl) DeviceCount

func (this *QVideoDeviceSelectorControl) DeviceCount() int

Returns the number of available video devices;

func (*QVideoDeviceSelectorControl) DeviceDescription

func (this *QVideoDeviceSelectorControl) DeviceDescription(index int) string

Returns a description of the video device at index.

func (*QVideoDeviceSelectorControl) DeviceName

func (this *QVideoDeviceSelectorControl) DeviceName(index int) string

Returns the name of the video device at index.

func (*QVideoDeviceSelectorControl) DevicesChanged

func (this *QVideoDeviceSelectorControl) DevicesChanged()

Signals that the list of available video devices has changed.

func (*QVideoDeviceSelectorControl) GetCthis

func (this *QVideoDeviceSelectorControl) GetCthis() unsafe.Pointer

func (*QVideoDeviceSelectorControl) MetaObject

func (this *QVideoDeviceSelectorControl) MetaObject() *qtcore.QMetaObject

func (*QVideoDeviceSelectorControl) NewForInherit

Constructs a video device selector control with the given parent.

func (*QVideoDeviceSelectorControl) NewForInheritp

Constructs a video device selector control with the given parent.

func (*QVideoDeviceSelectorControl) NewFromPointer

func (*QVideoDeviceSelectorControl) QVideoDeviceSelectorControl_PTR

func (ptr *QVideoDeviceSelectorControl) QVideoDeviceSelectorControl_PTR() *QVideoDeviceSelectorControl

func (*QVideoDeviceSelectorControl) SelectedDevice

func (this *QVideoDeviceSelectorControl) SelectedDevice() int

Returns the index of the selected video device.

See also setSelectedDevice().

func (*QVideoDeviceSelectorControl) SelectedDeviceChanged

func (this *QVideoDeviceSelectorControl) SelectedDeviceChanged(index int)

Signals that the selected video device index has changed.

Note: Signal selectedDeviceChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(videoDeviceSelectorControl, QOverload<int>::of(&QVideoDeviceSelectorControl::selectedDeviceChanged),
    [=](int index){ /-* ... *-/ });

func (*QVideoDeviceSelectorControl) SelectedDeviceChanged1

func (this *QVideoDeviceSelectorControl) SelectedDeviceChanged1(name string)

Signals that the selected video device index has changed.

Note: Signal selectedDeviceChanged is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(videoDeviceSelectorControl, QOverload<int>::of(&QVideoDeviceSelectorControl::selectedDeviceChanged),
    [=](int index){ /-* ... *-/ });

func (*QVideoDeviceSelectorControl) SetCthis

func (this *QVideoDeviceSelectorControl) SetCthis(cthis unsafe.Pointer)

func (*QVideoDeviceSelectorControl) SetSelectedDevice

func (this *QVideoDeviceSelectorControl) SetSelectedDevice(index int)

Sets the selected video device index.

See also selectedDevice().

type QVideoDeviceSelectorControl_ITF

type QVideoDeviceSelectorControl_ITF interface {
	QMediaControl_ITF
	QVideoDeviceSelectorControl_PTR() *QVideoDeviceSelectorControl
}

type QVideoEncoderSettings

type QVideoEncoderSettings struct {
	*qtrt.CObject
}

func NewQVideoEncoderSettings

func NewQVideoEncoderSettings() *QVideoEncoderSettings

func NewQVideoEncoderSettingsFromPointer

func NewQVideoEncoderSettingsFromPointer(cthis unsafe.Pointer) *QVideoEncoderSettings

func (*QVideoEncoderSettings) BitRate

func (this *QVideoEncoderSettings) BitRate() int

func (*QVideoEncoderSettings) Codec

func (this *QVideoEncoderSettings) Codec() string

func (*QVideoEncoderSettings) EncodingMode

func (this *QVideoEncoderSettings) EncodingMode() int

func (*QVideoEncoderSettings) EncodingOption

func (this *QVideoEncoderSettings) EncodingOption(option string) *qtcore.QVariant

func (*QVideoEncoderSettings) FrameRate

func (this *QVideoEncoderSettings) FrameRate() float64

func (*QVideoEncoderSettings) GetCthis

func (this *QVideoEncoderSettings) GetCthis() unsafe.Pointer

func (*QVideoEncoderSettings) IsNull

func (this *QVideoEncoderSettings) IsNull() bool

func (*QVideoEncoderSettings) NewForInherit

func (*QVideoEncoderSettings) NewForInherit() *QVideoEncoderSettings

func (*QVideoEncoderSettings) NewFromPointer

func (*QVideoEncoderSettings) Operator_equal

func (*QVideoEncoderSettings) Operator_equal_equal

func (this *QVideoEncoderSettings) Operator_equal_equal(other QVideoEncoderSettings_ITF) bool

func (*QVideoEncoderSettings) Operator_not_equal

func (this *QVideoEncoderSettings) Operator_not_equal(other QVideoEncoderSettings_ITF) bool

func (*QVideoEncoderSettings) QVideoEncoderSettings_PTR

func (ptr *QVideoEncoderSettings) QVideoEncoderSettings_PTR() *QVideoEncoderSettings

func (*QVideoEncoderSettings) Quality

func (this *QVideoEncoderSettings) Quality() int

func (*QVideoEncoderSettings) Resolution

func (this *QVideoEncoderSettings) Resolution() *qtcore.QSize

func (*QVideoEncoderSettings) SetBitRate

func (this *QVideoEncoderSettings) SetBitRate(bitrate int)

func (*QVideoEncoderSettings) SetCodec

func (this *QVideoEncoderSettings) SetCodec(arg0 string)

func (*QVideoEncoderSettings) SetCthis

func (this *QVideoEncoderSettings) SetCthis(cthis unsafe.Pointer)

func (*QVideoEncoderSettings) SetEncodingMode

func (this *QVideoEncoderSettings) SetEncodingMode(arg0 int)

func (*QVideoEncoderSettings) SetEncodingOption

func (this *QVideoEncoderSettings) SetEncodingOption(option string, value qtcore.QVariant_ITF)

func (*QVideoEncoderSettings) SetFrameRate

func (this *QVideoEncoderSettings) SetFrameRate(rate float64)

func (*QVideoEncoderSettings) SetQuality

func (this *QVideoEncoderSettings) SetQuality(quality int)

func (*QVideoEncoderSettings) SetResolution

func (this *QVideoEncoderSettings) SetResolution(arg0 qtcore.QSize_ITF)

func (*QVideoEncoderSettings) SetResolution1

func (this *QVideoEncoderSettings) SetResolution1(width int, height int)

type QVideoEncoderSettingsControl

type QVideoEncoderSettingsControl struct {
	*QMediaControl
}

func NewQVideoEncoderSettingsControl

func NewQVideoEncoderSettingsControl(parent qtcore.QObject_ITF) *QVideoEncoderSettingsControl

func NewQVideoEncoderSettingsControlFromPointer

func NewQVideoEncoderSettingsControlFromPointer(cthis unsafe.Pointer) *QVideoEncoderSettingsControl

func NewQVideoEncoderSettingsControlp

func NewQVideoEncoderSettingsControlp() *QVideoEncoderSettingsControl

func (*QVideoEncoderSettingsControl) GetCthis

func (this *QVideoEncoderSettingsControl) GetCthis() unsafe.Pointer

func (*QVideoEncoderSettingsControl) MetaObject

func (this *QVideoEncoderSettingsControl) MetaObject() *qtcore.QMetaObject

func (*QVideoEncoderSettingsControl) NewForInherit

Create a new video encoder settings control object with the given parent.

func (*QVideoEncoderSettingsControl) NewForInheritp

Create a new video encoder settings control object with the given parent.

func (*QVideoEncoderSettingsControl) NewFromPointer

func (*QVideoEncoderSettingsControl) QVideoEncoderSettingsControl_PTR

func (ptr *QVideoEncoderSettingsControl) QVideoEncoderSettingsControl_PTR() *QVideoEncoderSettingsControl

func (*QVideoEncoderSettingsControl) SetCthis

func (this *QVideoEncoderSettingsControl) SetCthis(cthis unsafe.Pointer)

func (*QVideoEncoderSettingsControl) SetVideoSettings

func (this *QVideoEncoderSettingsControl) SetVideoSettings(settings QVideoEncoderSettings_ITF)

Sets the selected video encoder settings.

See also videoSettings().

func (*QVideoEncoderSettingsControl) SupportedResolutions

func (this *QVideoEncoderSettingsControl) SupportedResolutions(settings QVideoEncoderSettings_ITF, continuous *bool) *qtcore.QSizeList

Returns a list of supported resolutions.

If non null video settings parameter is passed, the returned list is reduced to resolution supported with partial settings like video codec or frame rate applied.

If the encoder supports arbitrary resolutions within the supported resolutions range, *continuous is set to true, otherwise *continuous is set to false.

See also QVideoEncoderSettings::resolution().

func (*QVideoEncoderSettingsControl) SupportedResolutionsp

func (this *QVideoEncoderSettingsControl) SupportedResolutionsp(settings QVideoEncoderSettings_ITF) *qtcore.QSizeList

Returns a list of supported resolutions.

If non null video settings parameter is passed, the returned list is reduced to resolution supported with partial settings like video codec or frame rate applied.

If the encoder supports arbitrary resolutions within the supported resolutions range, *continuous is set to true, otherwise *continuous is set to false.

See also QVideoEncoderSettings::resolution().

func (*QVideoEncoderSettingsControl) SupportedVideoCodecs

func (this *QVideoEncoderSettingsControl) SupportedVideoCodecs() *qtcore.QStringList

Returns the list of supported video codecs.

func (*QVideoEncoderSettingsControl) VideoCodecDescription

func (this *QVideoEncoderSettingsControl) VideoCodecDescription(codec string) string

Returns a description of a video codec.

func (*QVideoEncoderSettingsControl) VideoSettings

func (this *QVideoEncoderSettingsControl) VideoSettings() *QVideoEncoderSettings

Returns the video encoder settings.

The returned value may be different tha passed to QVideoEncoderSettingsControl::setVideoSettings() if the settings contains the default or undefined parameters. In this case if the undefined parameters are already resolved, they should be returned.

See also setVideoSettings().

type QVideoEncoderSettingsControl_ITF

type QVideoEncoderSettingsControl_ITF interface {
	QMediaControl_ITF
	QVideoEncoderSettingsControl_PTR() *QVideoEncoderSettingsControl
}

type QVideoEncoderSettings_ITF

type QVideoEncoderSettings_ITF interface {
	QVideoEncoderSettings_PTR() *QVideoEncoderSettings
}

type QVideoFilterRunnable

type QVideoFilterRunnable struct {
	*qtrt.CObject
}

func NewQVideoFilterRunnableFromPointer

func NewQVideoFilterRunnableFromPointer(cthis unsafe.Pointer) *QVideoFilterRunnable

func (*QVideoFilterRunnable) GetCthis

func (this *QVideoFilterRunnable) GetCthis() unsafe.Pointer

func (*QVideoFilterRunnable) NewFromPointer

func (*QVideoFilterRunnable) NewFromPointer(cthis unsafe.Pointer) *QVideoFilterRunnable

func (*QVideoFilterRunnable) QVideoFilterRunnable_PTR

func (ptr *QVideoFilterRunnable) QVideoFilterRunnable_PTR() *QVideoFilterRunnable

func (*QVideoFilterRunnable) Run

func (this *QVideoFilterRunnable) Run(input QVideoFrame_ITF, surfaceFormat QVideoSurfaceFormat_ITF, flags int) *QVideoFrame

func (*QVideoFilterRunnable) RunFlagItemName

func (this *QVideoFilterRunnable) RunFlagItemName(val int) string

func (*QVideoFilterRunnable) SetCthis

func (this *QVideoFilterRunnable) SetCthis(cthis unsafe.Pointer)

type QVideoFilterRunnable_ITF

type QVideoFilterRunnable_ITF interface {
	QVideoFilterRunnable_PTR() *QVideoFilterRunnable
}

type QVideoFilterRunnable__RunFlag

type QVideoFilterRunnable__RunFlag = int
const QVideoFilterRunnable__LastInChain QVideoFilterRunnable__RunFlag = 1

type QVideoFrame

type QVideoFrame struct {
	*qtrt.CObject
}

func NewQVideoFrame

func NewQVideoFrame() *QVideoFrame

func NewQVideoFrame1

func NewQVideoFrame1(buffer QAbstractVideoBuffer_ITF, size qtcore.QSize_ITF, format int) *QVideoFrame

func NewQVideoFrame2

func NewQVideoFrame2(bytes int, size qtcore.QSize_ITF, bytesPerLine int, format int) *QVideoFrame

func NewQVideoFrame3

func NewQVideoFrame3(image qtgui.QImage_ITF) *QVideoFrame

func NewQVideoFrameFromPointer

func NewQVideoFrameFromPointer(cthis unsafe.Pointer) *QVideoFrame

func (*QVideoFrame) Bits

func (this *QVideoFrame) Bits() unsafe.Pointer

Returns a pointer to the start of the frame data buffer.

This value is only valid while the frame data is mapped.

Changes made to data accessed via this pointer (when mapped with write access) are only guaranteed to have been persisted when unmap() is called and when the buffer has been mapped for writing.

See also map(), mappedBytes(), and bytesPerLine().

func (*QVideoFrame) Bits1

func (this *QVideoFrame) Bits1(plane int) unsafe.Pointer

Returns a pointer to the start of the frame data buffer.

This value is only valid while the frame data is mapped.

Changes made to data accessed via this pointer (when mapped with write access) are only guaranteed to have been persisted when unmap() is called and when the buffer has been mapped for writing.

See also map(), mappedBytes(), and bytesPerLine().

func (*QVideoFrame) Bits2

func (this *QVideoFrame) Bits2() unsafe.Pointer

Returns a pointer to the start of the frame data buffer.

This value is only valid while the frame data is mapped.

Changes made to data accessed via this pointer (when mapped with write access) are only guaranteed to have been persisted when unmap() is called and when the buffer has been mapped for writing.

See also map(), mappedBytes(), and bytesPerLine().

func (*QVideoFrame) Bits3

func (this *QVideoFrame) Bits3(plane int) unsafe.Pointer

Returns a pointer to the start of the frame data buffer.

This value is only valid while the frame data is mapped.

Changes made to data accessed via this pointer (when mapped with write access) are only guaranteed to have been persisted when unmap() is called and when the buffer has been mapped for writing.

See also map(), mappedBytes(), and bytesPerLine().

func (*QVideoFrame) BytesPerLine

func (this *QVideoFrame) BytesPerLine() int

Returns the number of bytes in a scan line.

Note: For planar formats this is the bytes per line of the first plane only. The bytes per line of subsequent planes should be calculated as per the frame pixel format.

This value is only valid while the frame data is mapped.

See also bits(), map(), and mappedBytes().

func (*QVideoFrame) BytesPerLine1

func (this *QVideoFrame) BytesPerLine1(plane int) int

Returns the number of bytes in a scan line.

Note: For planar formats this is the bytes per line of the first plane only. The bytes per line of subsequent planes should be calculated as per the frame pixel format.

This value is only valid while the frame data is mapped.

See also bits(), map(), and mappedBytes().

func (*QVideoFrame) EndTime

func (this *QVideoFrame) EndTime() int64

Returns the presentation time (in microseconds) when a frame should stop being displayed.

An invalid time is represented as -1.

See also setEndTime().

func (*QVideoFrame) FieldType

func (this *QVideoFrame) FieldType() int

Returns the field an interlaced video frame belongs to.

If the video is not interlaced this will return WholeFrame.

See also setFieldType().

func (*QVideoFrame) FieldTypeItemName

func (this *QVideoFrame) FieldTypeItemName(val int) string

func (*QVideoFrame) GetCthis

func (this *QVideoFrame) GetCthis() unsafe.Pointer

func (*QVideoFrame) Handle

func (this *QVideoFrame) Handle() *qtcore.QVariant

Returns a type specific handle to a video frame's buffer.

For an OpenGL texture this would be the texture ID.

See also QAbstractVideoBuffer::handle().

func (*QVideoFrame) HandleType

func (this *QVideoFrame) HandleType() int

Returns the type of a video frame's handle.

func (*QVideoFrame) Height

func (this *QVideoFrame) Height() int

Returns the height of a video frame.

func (*QVideoFrame) ImageFormatFromPixelFormat

func (this *QVideoFrame) ImageFormatFromPixelFormat(format int) int

Returns an image format equivalent to a video frame pixel format. If there is no equivalent format QImage::Format_Invalid is returned instead.

Note: In general QImage does not handle YUV formats.

func (*QVideoFrame) IsMapped

func (this *QVideoFrame) IsMapped() bool

Identifies if a video frame's contents are currently mapped to system memory.

This is a convenience function which checks that the MapMode of the frame is not equal to QAbstractVideoBuffer::NotMapped.

Returns true if the contents of the video frame are mapped to system memory, and false otherwise.

See also mapMode() and QAbstractVideoBuffer::MapMode.

func (*QVideoFrame) IsReadable

func (this *QVideoFrame) IsReadable() bool

Identifies if the mapped contents of a video frame were read from the frame when it was mapped.

This is a convenience function which checks if the MapMode contains the QAbstractVideoBuffer::WriteOnly flag.

Returns true if the contents of the mapped memory were read from the video frame, and false otherwise.

See also mapMode() and QAbstractVideoBuffer::MapMode.

func (*QVideoFrame) IsValid

func (this *QVideoFrame) IsValid() bool

Identifies whether a video frame is valid.

An invalid frame has no video buffer associated with it.

Returns true if the frame is valid, and false if it is not.

func (*QVideoFrame) IsWritable

func (this *QVideoFrame) IsWritable() bool

Identifies if the mapped contents of a video frame will be persisted when the frame is unmapped.

This is a convenience function which checks if the MapMode contains the QAbstractVideoBuffer::WriteOnly flag.

Returns true if the video frame will be updated when unmapped, and false otherwise.

Note: The result of altering the data of a frame that is mapped in read-only mode is undefined. Depending on the buffer implementation the changes may be persisted, or worse alter a shared buffer.

See also mapMode() and QAbstractVideoBuffer::MapMode.

func (*QVideoFrame) Map

func (this *QVideoFrame) Map(mode int) bool

Maps the contents of a video frame to system (CPU addressable) memory.

In some cases the video frame data might be stored in video memory or otherwise inaccessible memory, so it is necessary to map a frame before accessing the pixel data. This may involve copying the contents around, so avoid mapping and unmapping unless required.

The map mode indicates whether the contents of the mapped memory should be read from and/or written to the frame. If the map mode includes the QAbstractVideoBuffer::ReadOnly flag the mapped memory will be populated with the content of the video frame when initially mapped. If the map mode includes the QAbstractVideoBuffer::WriteOnly flag the content of the possibly modified mapped memory will be written back to the frame when unmapped.

While mapped the contents of a video frame can be accessed directly through the pointer returned by the bits() function.

When access to the data is no longer needed, be sure to call the unmap() function to release the mapped memory and possibly update the video frame contents.

If the video frame has been mapped in read only mode, it is permissible to map it multiple times in read only mode (and unmap it a corresponding number of times). In all other cases it is necessary to unmap the frame first before mapping a second time.

Note: Writing to memory that is mapped as read-only is undefined, and may result in changes to shared data or crashes.

Returns true if the frame was mapped to memory in the given mode and false otherwise.

See also unmap(), mapMode(), and bits().

func (*QVideoFrame) MapMode

func (this *QVideoFrame) MapMode() int

Returns the mode a video frame was mapped to system memory in.

See also map() and QAbstractVideoBuffer::MapMode.

func (*QVideoFrame) MappedBytes

func (this *QVideoFrame) MappedBytes() int

Returns the number of bytes occupied by the mapped frame data.

This value is only valid while the frame data is mapped.

See also map().

func (*QVideoFrame) MetaData

func (this *QVideoFrame) MetaData(key string) *qtcore.QVariant

Returns any metadata for this frame for the given key.

This might include frame specific information from a camera, or subtitles from a decoded video stream.

See the documentation for the relevant video frame producer for further information about available metadata.

See also setMetaData().

func (*QVideoFrame) NewForInherit

func (*QVideoFrame) NewForInherit() *QVideoFrame

Constructs a null video frame.

func (*QVideoFrame) NewForInherit1

func (*QVideoFrame) NewForInherit1(buffer QAbstractVideoBuffer_ITF, size qtcore.QSize_ITF, format int) *QVideoFrame

Constructs a null video frame.

func (*QVideoFrame) NewForInherit2

func (*QVideoFrame) NewForInherit2(bytes int, size qtcore.QSize_ITF, bytesPerLine int, format int) *QVideoFrame

Constructs a null video frame.

func (*QVideoFrame) NewForInherit3

func (*QVideoFrame) NewForInherit3(image qtgui.QImage_ITF) *QVideoFrame

Constructs a null video frame.

func (*QVideoFrame) NewFromPointer

func (*QVideoFrame) NewFromPointer(cthis unsafe.Pointer) *QVideoFrame

func (*QVideoFrame) Operator_equal

func (this *QVideoFrame) Operator_equal(other QVideoFrame_ITF) *QVideoFrame

func (*QVideoFrame) Operator_equal_equal

func (this *QVideoFrame) Operator_equal_equal(other QVideoFrame_ITF) bool

func (*QVideoFrame) Operator_not_equal

func (this *QVideoFrame) Operator_not_equal(other QVideoFrame_ITF) bool

func (*QVideoFrame) PixelFormat

func (this *QVideoFrame) PixelFormat() int

Returns the color format of a video frame.

func (*QVideoFrame) PixelFormatFromImageFormat

func (this *QVideoFrame) PixelFormatFromImageFormat(format int) int

Returns a video pixel format equivalent to an image format. If there is no equivalent format QVideoFrame::InvalidType is returned instead.

Note: In general QImage does not handle YUV formats.

func (*QVideoFrame) PixelFormatItemName

func (this *QVideoFrame) PixelFormatItemName(val int) string

func (*QVideoFrame) PlaneCount

func (this *QVideoFrame) PlaneCount() int

Returns the number of planes in the video frame.

This value is only valid while the frame data is mapped.

This function was introduced in Qt 5.4.

See also map().

func (*QVideoFrame) QVideoFrame_PTR

func (ptr *QVideoFrame) QVideoFrame_PTR() *QVideoFrame

func (*QVideoFrame) SetCthis

func (this *QVideoFrame) SetCthis(cthis unsafe.Pointer)

func (*QVideoFrame) SetEndTime

func (this *QVideoFrame) SetEndTime(time int64)

Sets the presentation time (in microseconds) when a frame should stop being displayed.

An invalid time is represented as -1.

See also endTime().

func (*QVideoFrame) SetFieldType

func (this *QVideoFrame) SetFieldType(arg0 int)

Sets the field an interlaced video frame belongs to.

See also fieldType().

func (*QVideoFrame) SetMetaData

func (this *QVideoFrame) SetMetaData(key string, value qtcore.QVariant_ITF)

Sets the metadata for the given key to value.

If value is a null variant, any metadata for this key will be removed.

The producer of the video frame might use this to associate certain data with this frame, or for an intermediate processor to add information for a consumer of this frame.

See also metaData().

func (*QVideoFrame) SetStartTime

func (this *QVideoFrame) SetStartTime(time int64)

Sets the presentation time (in microseconds) when the frame should initially be displayed.

An invalid time is represented as -1.

See also startTime().

func (*QVideoFrame) Size

func (this *QVideoFrame) Size() *qtcore.QSize

Returns the dimensions of a video frame.

func (*QVideoFrame) StartTime

func (this *QVideoFrame) StartTime() int64

Returns the presentation time (in microseconds) when the frame should be displayed.

An invalid time is represented as -1.

See also setStartTime().

func (*QVideoFrame) Unmap

func (this *QVideoFrame) Unmap()

Releases the memory mapped by the map() function.

If the MapMode included the QAbstractVideoBuffer::WriteOnly flag this will persist the current content of the mapped memory to the video frame.

unmap() should not be called if map() function failed.

See also map().

func (*QVideoFrame) Width

func (this *QVideoFrame) Width() int

Returns the width of a video frame.

type QVideoFrame_ITF

type QVideoFrame_ITF interface {
	QVideoFrame_PTR() *QVideoFrame
}

type QVideoFrame__FieldType

type QVideoFrame__FieldType = int

Specifies the field an interlaced video frame belongs to.

const QVideoFrame__BottomField QVideoFrame__FieldType = 2

The frame contains a bottom field.

const QVideoFrame__InterlacedFrame QVideoFrame__FieldType = 3

The frame contains a merged top and bottom field.

const QVideoFrame__ProgressiveFrame QVideoFrame__FieldType = 0

The frame is not interlaced.

const QVideoFrame__TopField QVideoFrame__FieldType = 1

The frame contains a top field.

type QVideoFrame__PixelFormat

type QVideoFrame__PixelFormat = int

Enumerates video data types.

const QVideoFrame__Format_ARGB32 QVideoFrame__PixelFormat = 1
const QVideoFrame__Format_ARGB32_Premultiplied QVideoFrame__PixelFormat = 2
const QVideoFrame__Format_ARGB8565_Premultiplied QVideoFrame__PixelFormat = 7
const QVideoFrame__Format_AYUV444 QVideoFrame__PixelFormat = 15
const QVideoFrame__Format_AYUV444_Premultiplied QVideoFrame__PixelFormat = 16
const QVideoFrame__Format_AdobeDng QVideoFrame__PixelFormat = 32
const QVideoFrame__Format_BGR24 QVideoFrame__PixelFormat = 11
const QVideoFrame__Format_BGR32 QVideoFrame__PixelFormat = 10
const QVideoFrame__Format_BGR555 QVideoFrame__PixelFormat = 13
const QVideoFrame__Format_BGR565 QVideoFrame__PixelFormat = 12
const QVideoFrame__Format_BGRA32 QVideoFrame__PixelFormat = 8
const QVideoFrame__Format_BGRA32_Premultiplied QVideoFrame__PixelFormat = 9
const QVideoFrame__Format_BGRA5658_Premultiplied QVideoFrame__PixelFormat = 14
const QVideoFrame__Format_CameraRaw QVideoFrame__PixelFormat = 31
const QVideoFrame__Format_IMC1 QVideoFrame__PixelFormat = 24
const QVideoFrame__Format_IMC2 QVideoFrame__PixelFormat = 25
const QVideoFrame__Format_IMC3 QVideoFrame__PixelFormat = 26
const QVideoFrame__Format_IMC4 QVideoFrame__PixelFormat = 27
const QVideoFrame__Format_Invalid QVideoFrame__PixelFormat = 0

The frame is invalid.

const QVideoFrame__Format_Jpeg QVideoFrame__PixelFormat = 30
const QVideoFrame__Format_NV12 QVideoFrame__PixelFormat = 22
const QVideoFrame__Format_NV21 QVideoFrame__PixelFormat = 23
const QVideoFrame__Format_RGB24 QVideoFrame__PixelFormat = 4
const QVideoFrame__Format_RGB32 QVideoFrame__PixelFormat = 3
const QVideoFrame__Format_RGB555 QVideoFrame__PixelFormat = 6
const QVideoFrame__Format_RGB565 QVideoFrame__PixelFormat = 5
const QVideoFrame__Format_UYVY QVideoFrame__PixelFormat = 20
const QVideoFrame__Format_User QVideoFrame__PixelFormat = 1000
const QVideoFrame__Format_Y16 QVideoFrame__PixelFormat = 29
const QVideoFrame__Format_Y8 QVideoFrame__PixelFormat = 28
const QVideoFrame__Format_YUV420P QVideoFrame__PixelFormat = 18
const QVideoFrame__Format_YUV444 QVideoFrame__PixelFormat = 17
const QVideoFrame__Format_YUYV QVideoFrame__PixelFormat = 21
const QVideoFrame__Format_YV12 QVideoFrame__PixelFormat = 19
const QVideoFrame__NPixelFormats QVideoFrame__PixelFormat = 33

type QVideoProbe

type QVideoProbe struct {
	*qtcore.QObject
}

func NewQVideoProbe

func NewQVideoProbe(parent qtcore.QObject_ITF) *QVideoProbe

func NewQVideoProbeFromPointer

func NewQVideoProbeFromPointer(cthis unsafe.Pointer) *QVideoProbe

func NewQVideoProbep

func NewQVideoProbep() *QVideoProbe

func (*QVideoProbe) Flush

func (this *QVideoProbe) Flush()

This signal should be emitted when it is required to release all frames. Application must release all outstanding references to video frames.

func (*QVideoProbe) GetCthis

func (this *QVideoProbe) GetCthis() unsafe.Pointer

func (*QVideoProbe) IsActive

func (this *QVideoProbe) IsActive() bool

Returns true if this probe is monitoring something, or false otherwise.

The source being monitored does not need to be active.

func (*QVideoProbe) MetaObject

func (this *QVideoProbe) MetaObject() *qtcore.QMetaObject

func (*QVideoProbe) NewForInherit

func (*QVideoProbe) NewForInherit(parent qtcore.QObject_ITF) *QVideoProbe

Creates a new QVideoProbe class with parent. After setting the source to monitor with setSource(), the videoFrameProbed() signal will be emitted when video frames are flowing in the source media object.

func (*QVideoProbe) NewForInheritp

func (*QVideoProbe) NewForInheritp() *QVideoProbe

Creates a new QVideoProbe class with parent. After setting the source to monitor with setSource(), the videoFrameProbed() signal will be emitted when video frames are flowing in the source media object.

func (*QVideoProbe) NewFromPointer

func (*QVideoProbe) NewFromPointer(cthis unsafe.Pointer) *QVideoProbe

func (*QVideoProbe) QVideoProbe_PTR

func (ptr *QVideoProbe) QVideoProbe_PTR() *QVideoProbe

func (*QVideoProbe) SetCthis

func (this *QVideoProbe) SetCthis(cthis unsafe.Pointer)

func (*QVideoProbe) SetSource

func (this *QVideoProbe) SetSource(source QMediaObject_ITF) bool

Sets the media object to monitor to source.

If source is zero, this probe will be deactivated and this function wil return true.

If the media object does not support monitoring video, this function will return false.

Any previously monitored objects will no longer be monitored. Passing in the same object will be ignored, but monitoring will continue.

func (*QVideoProbe) SetSource1

func (this *QVideoProbe) SetSource1(source QMediaRecorder_ITF) bool

Sets the media object to monitor to source.

If source is zero, this probe will be deactivated and this function wil return true.

If the media object does not support monitoring video, this function will return false.

Any previously monitored objects will no longer be monitored. Passing in the same object will be ignored, but monitoring will continue.

func (*QVideoProbe) VideoFrameProbed

func (this *QVideoProbe) VideoFrameProbed(frame QVideoFrame_ITF)

This signal should be emitted when a video frame is processed in the media service.

type QVideoProbe_ITF

type QVideoProbe_ITF interface {
	qtcore.QObject_ITF
	QVideoProbe_PTR() *QVideoProbe
}

type QVideoRendererControl

type QVideoRendererControl struct {
	*QMediaControl
}

func NewQVideoRendererControl

func NewQVideoRendererControl(parent qtcore.QObject_ITF) *QVideoRendererControl

func NewQVideoRendererControlFromPointer

func NewQVideoRendererControlFromPointer(cthis unsafe.Pointer) *QVideoRendererControl

func NewQVideoRendererControlp

func NewQVideoRendererControlp() *QVideoRendererControl

func (*QVideoRendererControl) GetCthis

func (this *QVideoRendererControl) GetCthis() unsafe.Pointer

func (*QVideoRendererControl) MetaObject

func (this *QVideoRendererControl) MetaObject() *qtcore.QMetaObject

func (*QVideoRendererControl) NewForInherit

Constructs a new video renderer media end point with the given parent.

func (*QVideoRendererControl) NewForInheritp

func (*QVideoRendererControl) NewForInheritp() *QVideoRendererControl

Constructs a new video renderer media end point with the given parent.

func (*QVideoRendererControl) NewFromPointer

func (*QVideoRendererControl) QVideoRendererControl_PTR

func (ptr *QVideoRendererControl) QVideoRendererControl_PTR() *QVideoRendererControl

func (*QVideoRendererControl) SetCthis

func (this *QVideoRendererControl) SetCthis(cthis unsafe.Pointer)

func (*QVideoRendererControl) SetSurface

func (this *QVideoRendererControl) SetSurface(surface QAbstractVideoSurface_ITF)

Sets the surface a video producer renders to.

See also surface().

func (*QVideoRendererControl) Surface

Returns the surface a video producer renders to.

See also setSurface().

type QVideoRendererControl_ITF

type QVideoRendererControl_ITF interface {
	QMediaControl_ITF
	QVideoRendererControl_PTR() *QVideoRendererControl
}

type QVideoSurfaceFormat

type QVideoSurfaceFormat struct {
	*qtrt.CObject
}

func NewQVideoSurfaceFormat

func NewQVideoSurfaceFormat() *QVideoSurfaceFormat

func NewQVideoSurfaceFormat1

func NewQVideoSurfaceFormat1(size qtcore.QSize_ITF, pixelFormat int, handleType int) *QVideoSurfaceFormat

func NewQVideoSurfaceFormat1p

func NewQVideoSurfaceFormat1p(size qtcore.QSize_ITF, pixelFormat int) *QVideoSurfaceFormat

func NewQVideoSurfaceFormatFromPointer

func NewQVideoSurfaceFormatFromPointer(cthis unsafe.Pointer) *QVideoSurfaceFormat

func (*QVideoSurfaceFormat) DirectionItemName

func (this *QVideoSurfaceFormat) DirectionItemName(val int) string

func (*QVideoSurfaceFormat) FrameHeight

func (this *QVideoSurfaceFormat) FrameHeight() int

Returns the height of frame in a video stream.

func (*QVideoSurfaceFormat) FrameRate

func (this *QVideoSurfaceFormat) FrameRate() float64

Returns the frame rate of a video stream in frames per second.

See also setFrameRate().

func (*QVideoSurfaceFormat) FrameSize

func (this *QVideoSurfaceFormat) FrameSize() *qtcore.QSize

Returns the dimensions of frames in a video stream.

See also setFrameSize(), frameWidth(), and frameHeight().

func (*QVideoSurfaceFormat) FrameWidth

func (this *QVideoSurfaceFormat) FrameWidth() int

Returns the width of frames in a video stream.

See also frameSize() and frameHeight().

func (*QVideoSurfaceFormat) GetCthis

func (this *QVideoSurfaceFormat) GetCthis() unsafe.Pointer

func (*QVideoSurfaceFormat) HandleType

func (this *QVideoSurfaceFormat) HandleType() int

Returns the type of handle the surface uses to present the frame data.

If the handle type is QAbstractVideoBuffer::NoHandle, buffers with any handle type are valid provided they can be mapped with the QAbstractVideoBuffer::ReadOnly flag. If the handleType() is not QAbstractVideoBuffer::NoHandle then the handle type of the buffer must be the same as that of the surface format.

func (*QVideoSurfaceFormat) IsMirrored

func (this *QVideoSurfaceFormat) IsMirrored() bool

Returns true if the surface is mirrored around its vertical axis. This is typically needed for video frames coming from a front camera of a mobile device.

Note: The mirroring here differs from QImage::mirrored, as a vertically mirrored QImage will be mirrored around its x-axis.

This function was introduced in Qt 5.11.

func (*QVideoSurfaceFormat) IsValid

func (this *QVideoSurfaceFormat) IsValid() bool

Identifies if a video surface format has a valid pixel format and frame size.

Returns true if the format is valid, and false otherwise.

func (*QVideoSurfaceFormat) NewForInherit

func (*QVideoSurfaceFormat) NewForInherit() *QVideoSurfaceFormat

Constructs a null video stream format.

func (*QVideoSurfaceFormat) NewForInherit1

func (*QVideoSurfaceFormat) NewForInherit1(size qtcore.QSize_ITF, pixelFormat int, handleType int) *QVideoSurfaceFormat

Constructs a null video stream format.

func (*QVideoSurfaceFormat) NewForInherit1p

func (*QVideoSurfaceFormat) NewForInherit1p(size qtcore.QSize_ITF, pixelFormat int) *QVideoSurfaceFormat

Constructs a null video stream format.

func (*QVideoSurfaceFormat) NewFromPointer

func (*QVideoSurfaceFormat) NewFromPointer(cthis unsafe.Pointer) *QVideoSurfaceFormat

func (*QVideoSurfaceFormat) Operator_equal

func (this *QVideoSurfaceFormat) Operator_equal(format QVideoSurfaceFormat_ITF) *QVideoSurfaceFormat

func (*QVideoSurfaceFormat) Operator_equal_equal

func (this *QVideoSurfaceFormat) Operator_equal_equal(format QVideoSurfaceFormat_ITF) bool

func (*QVideoSurfaceFormat) Operator_not_equal

func (this *QVideoSurfaceFormat) Operator_not_equal(format QVideoSurfaceFormat_ITF) bool

func (*QVideoSurfaceFormat) PixelAspectRatio

func (this *QVideoSurfaceFormat) PixelAspectRatio() *qtcore.QSize

Returns a video stream's pixel aspect ratio.

See also setPixelAspectRatio().

func (*QVideoSurfaceFormat) PixelFormat

func (this *QVideoSurfaceFormat) PixelFormat() int

Returns the pixel format of frames in a video stream.

func (*QVideoSurfaceFormat) Property

func (this *QVideoSurfaceFormat) Property(name string) *qtcore.QVariant

Returns the value of the video format's name property.

See also setProperty().

func (*QVideoSurfaceFormat) QVideoSurfaceFormat_PTR

func (ptr *QVideoSurfaceFormat) QVideoSurfaceFormat_PTR() *QVideoSurfaceFormat

func (*QVideoSurfaceFormat) ScanLineDirection

func (this *QVideoSurfaceFormat) ScanLineDirection() int

Returns the direction of scan lines.

See also setScanLineDirection().

func (*QVideoSurfaceFormat) SetCthis

func (this *QVideoSurfaceFormat) SetCthis(cthis unsafe.Pointer)

func (*QVideoSurfaceFormat) SetFrameRate

func (this *QVideoSurfaceFormat) SetFrameRate(rate float64)

Sets the frame rate of a video stream in frames per second.

See also frameRate().

func (*QVideoSurfaceFormat) SetFrameSize

func (this *QVideoSurfaceFormat) SetFrameSize(size qtcore.QSize_ITF)

Sets the size of frames in a video stream to size.

This will reset the viewport() to fill the entire frame.

See also frameSize().

func (*QVideoSurfaceFormat) SetFrameSize1

func (this *QVideoSurfaceFormat) SetFrameSize1(width int, height int)

Sets the size of frames in a video stream to size.

This will reset the viewport() to fill the entire frame.

See also frameSize().

func (*QVideoSurfaceFormat) SetMirrored

func (this *QVideoSurfaceFormat) SetMirrored(mirrored bool)

Sets if the surface is mirrored around its vertical axis. This is typically needed for video frames coming from a front camera of a mobile device. Default value is false.

Note: The mirroring here differs from QImage::mirrored, as a vertically mirrored QImage will be mirrored around its x-axis.

This function was introduced in Qt 5.11.

See also isMirrored().

func (*QVideoSurfaceFormat) SetPixelAspectRatio

func (this *QVideoSurfaceFormat) SetPixelAspectRatio(ratio qtcore.QSize_ITF)

Sets a video stream's pixel aspect ratio.

See also pixelAspectRatio().

func (*QVideoSurfaceFormat) SetPixelAspectRatio1

func (this *QVideoSurfaceFormat) SetPixelAspectRatio1(width int, height int)

Sets a video stream's pixel aspect ratio.

See also pixelAspectRatio().

func (*QVideoSurfaceFormat) SetProperty

func (this *QVideoSurfaceFormat) SetProperty(name string, value qtcore.QVariant_ITF)

Sets the video format's name property to value.

Trying to set a read only property will be ignored.

See also property().

func (*QVideoSurfaceFormat) SetScanLineDirection

func (this *QVideoSurfaceFormat) SetScanLineDirection(direction int)

Sets the direction of scan lines.

See also scanLineDirection().

func (*QVideoSurfaceFormat) SetViewport

func (this *QVideoSurfaceFormat) SetViewport(viewport qtcore.QRect_ITF)

Sets the viewport of a video stream to viewport.

See also viewport().

func (*QVideoSurfaceFormat) SetYCbCrColorSpace

func (this *QVideoSurfaceFormat) SetYCbCrColorSpace(colorSpace int)

Sets the Y'CbCr color space of a video stream. It is only used with raw YUV frame types.

See also yCbCrColorSpace().

func (*QVideoSurfaceFormat) SizeHint

func (this *QVideoSurfaceFormat) SizeHint() *qtcore.QSize

Returns a suggested size in pixels for the video stream.

This is the size of the viewport scaled according to the pixel aspect ratio.

func (*QVideoSurfaceFormat) Viewport

func (this *QVideoSurfaceFormat) Viewport() *qtcore.QRect

Returns the viewport of a video stream.

The viewport is the region of a video frame that is actually displayed.

By default the viewport covers an entire frame.

See also setViewport().

func (*QVideoSurfaceFormat) YCbCrColorSpace

func (this *QVideoSurfaceFormat) YCbCrColorSpace() int

Returns the Y'CbCr color space of a video stream.

See also setYCbCrColorSpace().

func (*QVideoSurfaceFormat) YCbCrColorSpaceItemName

func (this *QVideoSurfaceFormat) YCbCrColorSpaceItemName(val int) string

type QVideoSurfaceFormat_ITF

type QVideoSurfaceFormat_ITF interface {
	QVideoSurfaceFormat_PTR() *QVideoSurfaceFormat
}

type QVideoSurfaceFormat__Direction

type QVideoSurfaceFormat__Direction = int

Enumerates the layout direction of video scan lines.

const QVideoSurfaceFormat__BottomToTop QVideoSurfaceFormat__Direction = 1

Scan lines are arranged from the bottom of the frame to the top.

const QVideoSurfaceFormat__TopToBottom QVideoSurfaceFormat__Direction = 0

Scan lines are arranged from the top of the frame to the bottom.

type QVideoSurfaceFormat__YCbCrColorSpace

type QVideoSurfaceFormat__YCbCrColorSpace = int

Enumerates the Y'CbCr color space of video frames.

const QVideoSurfaceFormat__YCbCr_BT601 QVideoSurfaceFormat__YCbCrColorSpace = 1
const QVideoSurfaceFormat__YCbCr_BT709 QVideoSurfaceFormat__YCbCrColorSpace = 2
const QVideoSurfaceFormat__YCbCr_CustomMatrix QVideoSurfaceFormat__YCbCrColorSpace = 6
const QVideoSurfaceFormat__YCbCr_JPEG QVideoSurfaceFormat__YCbCrColorSpace = 5

The full range Y'CbCr color space used in JPEG files.

const QVideoSurfaceFormat__YCbCr_Undefined QVideoSurfaceFormat__YCbCrColorSpace = 0

No color space is specified.

const QVideoSurfaceFormat__YCbCr_xvYCC601 QVideoSurfaceFormat__YCbCrColorSpace = 3
const QVideoSurfaceFormat__YCbCr_xvYCC709 QVideoSurfaceFormat__YCbCrColorSpace = 4

type QVideoWindowControl

type QVideoWindowControl struct {
	*QMediaControl
}

func NewQVideoWindowControl

func NewQVideoWindowControl(parent qtcore.QObject_ITF) *QVideoWindowControl

func NewQVideoWindowControlFromPointer

func NewQVideoWindowControlFromPointer(cthis unsafe.Pointer) *QVideoWindowControl

func NewQVideoWindowControlp

func NewQVideoWindowControlp() *QVideoWindowControl

func (*QVideoWindowControl) AspectRatioMode

func (this *QVideoWindowControl) AspectRatioMode() int

Returns how video is scaled to fit the display region with respect to its aspect ratio.

See also setAspectRatioMode().

func (*QVideoWindowControl) Brightness

func (this *QVideoWindowControl) Brightness() int

Returns the brightness adjustment applied to a video overlay.

Valid brightness values range between -100 and 100, the default is 0.

See also setBrightness().

func (*QVideoWindowControl) BrightnessChanged

func (this *QVideoWindowControl) BrightnessChanged(brightness int)

Signals that a video overlay's brightness adjustment has changed.

func (*QVideoWindowControl) Contrast

func (this *QVideoWindowControl) Contrast() int

Returns the contrast adjustment applied to a video overlay.

Valid contrast values range between -100 and 100, the default is 0.

See also setContrast().

func (*QVideoWindowControl) ContrastChanged

func (this *QVideoWindowControl) ContrastChanged(contrast int)

Signals that a video overlay's contrast adjustment has changed.

func (*QVideoWindowControl) DisplayRect

func (this *QVideoWindowControl) DisplayRect() *qtcore.QRect

Returns the sub-rect of a window where video is displayed.

See also setDisplayRect().

func (*QVideoWindowControl) FullScreenChanged

func (this *QVideoWindowControl) FullScreenChanged(fullScreen bool)

Signals that the fullScreen state of a video overlay has changed.

func (*QVideoWindowControl) GetCthis

func (this *QVideoWindowControl) GetCthis() unsafe.Pointer

func (*QVideoWindowControl) Hue

func (this *QVideoWindowControl) Hue() int

Returns the hue adjustment applied to a video overlay.

Value hue values range between -100 and 100, the default is 0.

See also setHue().

func (*QVideoWindowControl) HueChanged

func (this *QVideoWindowControl) HueChanged(hue int)

Signals that a video overlay's hue adjustment has changed.

func (*QVideoWindowControl) IsFullScreen

func (this *QVideoWindowControl) IsFullScreen() bool

Identifies if a video overlay is a fullScreen overlay.

Returns true if the video overlay is fullScreen, and false otherwise.

func (*QVideoWindowControl) MetaObject

func (this *QVideoWindowControl) MetaObject() *qtcore.QMetaObject

func (*QVideoWindowControl) NativeSize

func (this *QVideoWindowControl) NativeSize() *qtcore.QSize

Returns a suggested size for the video display based on the resolution and aspect ratio of the video.

func (*QVideoWindowControl) NativeSizeChanged

func (this *QVideoWindowControl) NativeSizeChanged()

Signals that the native dimensions of the video have changed.

func (*QVideoWindowControl) NewForInherit

Constructs a new video window control with the given parent.

func (*QVideoWindowControl) NewForInheritp

func (*QVideoWindowControl) NewForInheritp() *QVideoWindowControl

Constructs a new video window control with the given parent.

func (*QVideoWindowControl) NewFromPointer

func (*QVideoWindowControl) NewFromPointer(cthis unsafe.Pointer) *QVideoWindowControl

func (*QVideoWindowControl) QVideoWindowControl_PTR

func (ptr *QVideoWindowControl) QVideoWindowControl_PTR() *QVideoWindowControl

func (*QVideoWindowControl) Repaint

func (this *QVideoWindowControl) Repaint()

Repaints the last frame.

func (*QVideoWindowControl) Saturation

func (this *QVideoWindowControl) Saturation() int

Returns the saturation adjustment applied to a video overlay.

Value saturation values range between -100 and 100, the default is 0.

See also setSaturation().

func (*QVideoWindowControl) SaturationChanged

func (this *QVideoWindowControl) SaturationChanged(saturation int)

Signals that a video overlay's saturation adjustment has changed.

func (*QVideoWindowControl) SetAspectRatioMode

func (this *QVideoWindowControl) SetAspectRatioMode(mode int)

Sets the aspect ratio mode which determines how video is scaled to the fit the display region with respect to its aspect ratio.

See also aspectRatioMode().

func (*QVideoWindowControl) SetBrightness

func (this *QVideoWindowControl) SetBrightness(brightness int)

Sets a brightness adjustment for a video overlay.

Valid brightness values range between -100 and 100, the default is 0.

See also brightness().

func (*QVideoWindowControl) SetContrast

func (this *QVideoWindowControl) SetContrast(contrast int)

Sets the contrast adjustment for a video overlay.

Valid contrast values range between -100 and 100, the default is 0.

See also contrast().

func (*QVideoWindowControl) SetCthis

func (this *QVideoWindowControl) SetCthis(cthis unsafe.Pointer)

func (*QVideoWindowControl) SetDisplayRect

func (this *QVideoWindowControl) SetDisplayRect(rect qtcore.QRect_ITF)

Sets the sub-rect of a window where video is displayed.

See also displayRect().

func (*QVideoWindowControl) SetFullScreen

func (this *QVideoWindowControl) SetFullScreen(fullScreen bool)

Sets whether a video overlay is a fullScreen overlay.

See also isFullScreen().

func (*QVideoWindowControl) SetHue

func (this *QVideoWindowControl) SetHue(hue int)

Sets a hue adjustment for a video overlay.

Valid hue values range between -100 and 100, the default is 0.

See also hue().

func (*QVideoWindowControl) SetSaturation

func (this *QVideoWindowControl) SetSaturation(saturation int)

Sets a saturation adjustment for a video overlay.

Valid saturation values range between -100 and 100, the default is 0.

See also saturation().

func (*QVideoWindowControl) SetWinId

func (this *QVideoWindowControl) SetWinId(id uint64)

Sets the id of the window a video overlay end point renders to.

See also winId().

func (*QVideoWindowControl) WinId

func (this *QVideoWindowControl) WinId() uint64

Returns the ID of the window a video overlay end point renders to.

See also setWinId().

type QVideoWindowControl_ITF

type QVideoWindowControl_ITF interface {
	QMediaControl_ITF
	QVideoWindowControl_PTR() *QVideoWindowControl
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL