API reference - Class QCamera

Notation used in Ruby API documentation

Module: QtMultimedia

Description: Binding of QCamera

Class hierarchy: QCamera » QMediaObject » QObject

Sub-classes: CaptureMode, QFlags_CaptureMode, Error, QFlags_Error, LockChangeReason, QFlags_LockChangeReason, LockStatus, QFlags_LockStatus, LockType, QFlags_LockType, Position, QFlags_Position, State, QFlags_State, Status, QFlags_Status, FrameRateRange

Public constructors

new QCameranew(QObject ptr parent = 0)Constructor QCamera::QCamera(QObject *parent)
new QCameranew(bytes deviceName,
QObject ptr parent = 0)
Constructor QCamera::QCamera(const QByteArray &deviceName, QObject *parent)
new QCameranew(const QCameraInfo cameraInfo,
QObject ptr parent = 0)
Constructor QCamera::QCamera(const QCameraInfo &cameraInfo, QObject *parent)
new QCameranew(const QCamera_Position position,
QObject ptr parent = 0)
Constructor QCamera::QCamera(QCamera::Position position, QObject *parent)

Public methods

void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[const]QMultimedia_AvailabilityStatusavailabilityVirtual method QMultimedia::AvailabilityStatus QCamera::availability()
boolbind(QObject ptr arg1)Virtual method bool QCamera::bind(QObject *)
[const]QCamera_QFlags_CaptureModecaptureModeMethod QFlags<QCamera::CaptureMode> QCamera::captureMode()
voidcaptureMode=(QCamera_QFlags_CaptureMode mode)Method void QCamera::setCaptureMode(QFlags<QCamera::CaptureMode> mode)
voidcaptureModeChanged(QCamera_QFlags_CaptureMode arg1)Method void QCamera::captureModeChanged(QFlags<QCamera::CaptureMode>)
[const]QCamera_ErrorerrorMethod QCamera::Error QCamera::error()
[const]stringerrorStringMethod QString QCamera::errorString()
voiderror_sig(const QCamera_Error arg1)Method void QCamera::error(QCamera::Error)
boolevent(QEvent ptr arg1)Virtual method bool QCamera::event(QEvent *)
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QCamera::eventFilter(QObject *, QEvent *)
[const]QCameraExposure ptrexposureMethod QCameraExposure *QCamera::exposure()
[const]QCameraFocus ptrfocusMethod QCameraFocus *QCamera::focus()
[const]QCameraImageProcessing ptrimageProcessingMethod QCameraImageProcessing *QCamera::imageProcessing()
[const]boolisAvailableVirtual method bool QCamera::isAvailable()
[const]boolisCaptureModeSupported?(QCamera_QFlags_CaptureMode mode)Method bool QCamera::isCaptureModeSupported(QFlags<QCamera::CaptureMode> mode)
voidloadMethod void QCamera::load()
voidlockFailedMethod void QCamera::lockFailed()
[const]QCamera_LockStatuslockStatusMethod QCamera::LockStatus QCamera::lockStatus()
[const]QCamera_LockStatuslockStatus(const QCamera_LockType lock)Method QCamera::LockStatus QCamera::lockStatus(QCamera::LockType lock)
voidlockStatusChanged(const QCamera_LockStatus arg1,
const QCamera_LockChangeReason arg2)
Method void QCamera::lockStatusChanged(QCamera::LockStatus, QCamera::LockChangeReason)
voidlockStatusChanged_withType(const QCamera_LockType arg1,
const QCamera_LockStatus arg2,
const QCamera_LockChangeReason arg3)
Method void QCamera::lockStatusChanged(QCamera::LockType, QCamera::LockStatus, QCamera::LockChangeReason)
voidlockedMethod void QCamera::locked()
[const]QCamera_QFlags_LockTyperequestedLocksMethod QFlags<QCamera::LockType> QCamera::requestedLocks()
voidsearchAndLockMethod void QCamera::searchAndLock()
voidsearchAndLock(QCamera_QFlags_LockType locks)Method void QCamera::searchAndLock(QFlags<QCamera::LockType> locks)
[const]QMediaService ptrserviceVirtual method QMediaService *QCamera::service()
voidsetCaptureMode(QCamera_QFlags_CaptureMode mode)Method void QCamera::setCaptureMode(QFlags<QCamera::CaptureMode> mode)
voidsetViewfinder(QVideoWidget ptr viewfinder)Method void QCamera::setViewfinder(QVideoWidget *viewfinder)
voidsetViewfinder(QGraphicsVideoItem ptr viewfinder)Method void QCamera::setViewfinder(QGraphicsVideoItem *viewfinder)
voidsetViewfinder(QAbstractVideoSurface ptr surface)Method void QCamera::setViewfinder(QAbstractVideoSurface *surface)
voidsetViewfinderSettings(const QCameraViewfinderSettings settings)Method void QCamera::setViewfinderSettings(const QCameraViewfinderSettings &settings)
voidstartMethod void QCamera::start()
[const]QCamera_StatestateMethod QCamera::State QCamera::state()
voidstateChanged(const QCamera_State arg1)Method void QCamera::stateChanged(QCamera::State)
[const]QCamera_StatusstatusMethod QCamera::Status QCamera::status()
voidstatusChanged(const QCamera_Status arg1)Method void QCamera::statusChanged(QCamera::Status)
voidstopMethod void QCamera::stop()
[const]QCamera_QFlags_LockTypesupportedLocksMethod QFlags<QCamera::LockType> QCamera::supportedLocks()
[const]QCamera_FrameRateRange[]supportedViewfinderFrameRateRanges(const QCameraViewfinderSettings settings = QCameraViewfinderSettings())Method QList<QCamera::FrameRateRange> QCamera::supportedViewfinderFrameRateRanges(const QCameraViewfinderSettings &settings)
[const]QVideoFrame_PixelFormat[]supportedViewfinderPixelFormats(const QCameraViewfinderSettings settings = QCameraViewfinderSettings())Method QList<QVideoFrame::PixelFormat> QCamera::supportedViewfinderPixelFormats(const QCameraViewfinderSettings &settings)
[const]QSize[]supportedViewfinderResolutions(const QCameraViewfinderSettings settings = QCameraViewfinderSettings())Method QList<QSize> QCamera::supportedViewfinderResolutions(const QCameraViewfinderSettings &settings)
[const]QCameraViewfinderSettings[]supportedViewfinderSettings(const QCameraViewfinderSettings settings = QCameraViewfinderSettings())Method QList<QCameraViewfinderSettings> QCamera::supportedViewfinderSettings(const QCameraViewfinderSettings &settings)
voidunbind(QObject ptr arg1)Virtual method void QCamera::unbind(QObject *)
voidunloadMethod void QCamera::unload()
voidunlockMethod void QCamera::unlock()
voidunlock(QCamera_QFlags_LockType locks)Method void QCamera::unlock(QFlags<QCamera::LockType> locks)
[const]QCameraViewfinderSettingsviewfinderSettingsMethod QCameraViewfinderSettings QCamera::viewfinderSettings()
voidviewfinderSettings=(const QCameraViewfinderSettings settings)Method void QCamera::setViewfinderSettings(const QCameraViewfinderSettings &settings)

Public static methods and constants

[static,const]QCamera_StateActiveStateEnum constant QCamera::ActiveState
[static,const]QCamera_StatusActiveStatusEnum constant QCamera::ActiveStatus
[static,const]QCamera_PositionBackFaceEnum constant QCamera::BackFace
[static,const]QCamera_ErrorCameraErrorEnum constant QCamera::CameraError
[static,const]QCamera_CaptureModeCaptureStillImageEnum constant QCamera::CaptureStillImage
[static,const]QCamera_CaptureModeCaptureVideoEnum constant QCamera::CaptureVideo
[static,const]QCamera_CaptureModeCaptureViewfinderEnum constant QCamera::CaptureViewfinder
[static,const]QCamera_PositionFrontFaceEnum constant QCamera::FrontFace
[static,const]QCamera_ErrorInvalidRequestErrorEnum constant QCamera::InvalidRequestError
[static,const]QCamera_StateLoadedStateEnum constant QCamera::LoadedState
[static,const]QCamera_StatusLoadedStatusEnum constant QCamera::LoadedStatus
[static,const]QCamera_StatusLoadingStatusEnum constant QCamera::LoadingStatus
[static,const]QCamera_LockChangeReasonLockAcquiredEnum constant QCamera::LockAcquired
[static,const]QCamera_LockTypeLockExposureEnum constant QCamera::LockExposure
[static,const]QCamera_LockChangeReasonLockFailedEnum constant QCamera::LockFailed
[static,const]QCamera_LockTypeLockFocusEnum constant QCamera::LockFocus
[static,const]QCamera_LockChangeReasonLockLostEnum constant QCamera::LockLost
[static,const]QCamera_LockChangeReasonLockTemporaryLostEnum constant QCamera::LockTemporaryLost
[static,const]QCamera_LockTypeLockWhiteBalanceEnum constant QCamera::LockWhiteBalance
[static,const]QCamera_LockStatusLockedEnum constant QCamera::Locked
[static,const]QCamera_ErrorNoErrorEnum constant QCamera::NoError
[static,const]QCamera_LockTypeNoLockEnum constant QCamera::NoLock
[static,const]QCamera_ErrorNotSupportedFeatureErrorEnum constant QCamera::NotSupportedFeatureError
[static,const]QCamera_LockStatusSearchingEnum constant QCamera::Searching
[static,const]QCamera_ErrorServiceMissingErrorEnum constant QCamera::ServiceMissingError
[static,const]QCamera_StatusStandbyStatusEnum constant QCamera::StandbyStatus
[static,const]QCamera_StatusStartingStatusEnum constant QCamera::StartingStatus
[static,const]QCamera_StatusStoppingStatusEnum constant QCamera::StoppingStatus
[static,const]QCamera_StatusUnavailableStatusEnum constant QCamera::UnavailableStatus
[static,const]QCamera_StateUnloadedStateEnum constant QCamera::UnloadedState
[static,const]QCamera_StatusUnloadedStatusEnum constant QCamera::UnloadedStatus
[static,const]QCamera_StatusUnloadingStatusEnum constant QCamera::UnloadingStatus
[static,const]QCamera_LockStatusUnlockedEnum constant QCamera::Unlocked
[static,const]QCamera_PositionUnspecifiedPositionEnum constant QCamera::UnspecifiedPosition
[static,const]QCamera_LockChangeReasonUserRequestEnum constant QCamera::UserRequest
bytes[]availableDevicesStatic method QList<QByteArray> QCamera::availableDevices()
stringdeviceDescription(bytes device)Static method QString QCamera::deviceDescription(const QByteArray &device)
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QCamera::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QCamera::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidaddPropertyWatch(bytes name)Method void QCamera::addPropertyWatch(QByteArray const &name)
voidchildEvent(QChildEvent ptr arg1)Virtual method void QCamera::childEvent(QChildEvent *)
voidcustomEvent(QEvent ptr arg1)Virtual method void QCamera::customEvent(QEvent *)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QCamera::disconnectNotify(const QMetaMethod &signal)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QCamera::isSignalConnected(const QMetaMethod &signal)
[const]intreceivers(string signal)Method int QCamera::receivers(const char *signal)
voidremovePropertyWatch(bytes name)Method void QCamera::removePropertyWatch(QByteArray const &name)
[const]QObject ptrsenderMethod QObject *QCamera::sender()
[const]intsenderSignalIndexMethod int QCamera::senderSignalIndex()
voidtimerEvent(QTimerEvent ptr arg1)Virtual method void QCamera::timerEvent(QTimerEvent *)

Detailed description

ActiveState

Signature: [static,const] QCamera_State ActiveState

Description: Enum constant QCamera::ActiveState

Python specific notes:
The object exposes a readable attribute 'ActiveState'. This is the getter.

ActiveStatus

Signature: [static,const] QCamera_Status ActiveStatus

Description: Enum constant QCamera::ActiveStatus

Python specific notes:
The object exposes a readable attribute 'ActiveStatus'. This is the getter.

BackFace

Signature: [static,const] QCamera_Position BackFace

Description: Enum constant QCamera::BackFace

Python specific notes:
The object exposes a readable attribute 'BackFace'. This is the getter.

CameraError

Signature: [static,const] QCamera_Error CameraError

Description: Enum constant QCamera::CameraError

Python specific notes:
The object exposes a readable attribute 'CameraError'. This is the getter.

CaptureStillImage

Signature: [static,const] QCamera_CaptureMode CaptureStillImage

Description: Enum constant QCamera::CaptureStillImage

Python specific notes:
The object exposes a readable attribute 'CaptureStillImage'. This is the getter.

CaptureVideo

Signature: [static,const] QCamera_CaptureMode CaptureVideo

Description: Enum constant QCamera::CaptureVideo

Python specific notes:
The object exposes a readable attribute 'CaptureVideo'. This is the getter.

CaptureViewfinder

Signature: [static,const] QCamera_CaptureMode CaptureViewfinder

Description: Enum constant QCamera::CaptureViewfinder

Python specific notes:
The object exposes a readable attribute 'CaptureViewfinder'. This is the getter.

FrontFace

Signature: [static,const] QCamera_Position FrontFace

Description: Enum constant QCamera::FrontFace

Python specific notes:
The object exposes a readable attribute 'FrontFace'. This is the getter.

InvalidRequestError

Signature: [static,const] QCamera_Error InvalidRequestError

Description: Enum constant QCamera::InvalidRequestError

Python specific notes:
The object exposes a readable attribute 'InvalidRequestError'. This is the getter.

LoadedState

Signature: [static,const] QCamera_State LoadedState

Description: Enum constant QCamera::LoadedState

Python specific notes:
The object exposes a readable attribute 'LoadedState'. This is the getter.

LoadedStatus

Signature: [static,const] QCamera_Status LoadedStatus

Description: Enum constant QCamera::LoadedStatus

Python specific notes:
The object exposes a readable attribute 'LoadedStatus'. This is the getter.

LoadingStatus

Signature: [static,const] QCamera_Status LoadingStatus

Description: Enum constant QCamera::LoadingStatus

Python specific notes:
The object exposes a readable attribute 'LoadingStatus'. This is the getter.

LockAcquired

Signature: [static,const] QCamera_LockChangeReason LockAcquired

Description: Enum constant QCamera::LockAcquired

Python specific notes:
The object exposes a readable attribute 'LockAcquired'. This is the getter.

LockExposure

Signature: [static,const] QCamera_LockType LockExposure

Description: Enum constant QCamera::LockExposure

Python specific notes:
The object exposes a readable attribute 'LockExposure'. This is the getter.

LockFailed

Signature: [static,const] QCamera_LockChangeReason LockFailed

Description: Enum constant QCamera::LockFailed

Python specific notes:
The object exposes a readable attribute 'LockFailed'. This is the getter.

LockFocus

Signature: [static,const] QCamera_LockType LockFocus

Description: Enum constant QCamera::LockFocus

Python specific notes:
The object exposes a readable attribute 'LockFocus'. This is the getter.

LockLost

Signature: [static,const] QCamera_LockChangeReason LockLost

Description: Enum constant QCamera::LockLost

Python specific notes:
The object exposes a readable attribute 'LockLost'. This is the getter.

LockTemporaryLost

Signature: [static,const] QCamera_LockChangeReason LockTemporaryLost

Description: Enum constant QCamera::LockTemporaryLost

Python specific notes:
The object exposes a readable attribute 'LockTemporaryLost'. This is the getter.

LockWhiteBalance

Signature: [static,const] QCamera_LockType LockWhiteBalance

Description: Enum constant QCamera::LockWhiteBalance

Python specific notes:
The object exposes a readable attribute 'LockWhiteBalance'. This is the getter.

Locked

Signature: [static,const] QCamera_LockStatus Locked

Description: Enum constant QCamera::Locked

Python specific notes:
The object exposes a readable attribute 'Locked'. This is the getter.

NoError

Signature: [static,const] QCamera_Error NoError

Description: Enum constant QCamera::NoError

Python specific notes:
The object exposes a readable attribute 'NoError'. This is the getter.

NoLock

Signature: [static,const] QCamera_LockType NoLock

Description: Enum constant QCamera::NoLock

Python specific notes:
The object exposes a readable attribute 'NoLock'. This is the getter.

NotSupportedFeatureError

Signature: [static,const] QCamera_Error NotSupportedFeatureError

Description: Enum constant QCamera::NotSupportedFeatureError

Python specific notes:
The object exposes a readable attribute 'NotSupportedFeatureError'. This is the getter.

Searching

Signature: [static,const] QCamera_LockStatus Searching

Description: Enum constant QCamera::Searching

Python specific notes:
The object exposes a readable attribute 'Searching'. This is the getter.

ServiceMissingError

Signature: [static,const] QCamera_Error ServiceMissingError

Description: Enum constant QCamera::ServiceMissingError

Python specific notes:
The object exposes a readable attribute 'ServiceMissingError'. This is the getter.

StandbyStatus

Signature: [static,const] QCamera_Status StandbyStatus

Description: Enum constant QCamera::StandbyStatus

Python specific notes:
The object exposes a readable attribute 'StandbyStatus'. This is the getter.

StartingStatus

Signature: [static,const] QCamera_Status StartingStatus

Description: Enum constant QCamera::StartingStatus

Python specific notes:
The object exposes a readable attribute 'StartingStatus'. This is the getter.

StoppingStatus

Signature: [static,const] QCamera_Status StoppingStatus

Description: Enum constant QCamera::StoppingStatus

Python specific notes:
The object exposes a readable attribute 'StoppingStatus'. This is the getter.

UnavailableStatus

Signature: [static,const] QCamera_Status UnavailableStatus

Description: Enum constant QCamera::UnavailableStatus

Python specific notes:
The object exposes a readable attribute 'UnavailableStatus'. This is the getter.

UnloadedState

Signature: [static,const] QCamera_State UnloadedState

Description: Enum constant QCamera::UnloadedState

Python specific notes:
The object exposes a readable attribute 'UnloadedState'. This is the getter.

UnloadedStatus

Signature: [static,const] QCamera_Status UnloadedStatus

Description: Enum constant QCamera::UnloadedStatus

Python specific notes:
The object exposes a readable attribute 'UnloadedStatus'. This is the getter.

UnloadingStatus

Signature: [static,const] QCamera_Status UnloadingStatus

Description: Enum constant QCamera::UnloadingStatus

Python specific notes:
The object exposes a readable attribute 'UnloadingStatus'. This is the getter.

Unlocked

Signature: [static,const] QCamera_LockStatus Unlocked

Description: Enum constant QCamera::Unlocked

Python specific notes:
The object exposes a readable attribute 'Unlocked'. This is the getter.

UnspecifiedPosition

Signature: [static,const] QCamera_Position UnspecifiedPosition

Description: Enum constant QCamera::UnspecifiedPosition

Python specific notes:
The object exposes a readable attribute 'UnspecifiedPosition'. This is the getter.

UserRequest

Signature: [static,const] QCamera_LockChangeReason UserRequest

Description: Enum constant QCamera::UserRequest

Python specific notes:
The object exposes a readable attribute 'UserRequest'. This is the getter.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

addPropertyWatch

Signature: void addPropertyWatch (bytes name)

Description: Method void QCamera::addPropertyWatch(QByteArray const &name)

This method is protected and can only be called from inside a derived class.

availability

Signature: [const] QMultimedia_AvailabilityStatus availability

Description: Virtual method QMultimedia::AvailabilityStatus QCamera::availability()

This method can be reimplemented in a derived class.

availableDevices

Signature: [static] bytes[] availableDevices

Description: Static method QList<QByteArray> QCamera::availableDevices()

This method is static and can be called without an instance.

bind

Signature: bool bind (QObject ptr arg1)

Description: Virtual method bool QCamera::bind(QObject *)

This method can be reimplemented in a derived class.

captureMode

Signature: [const] QCamera_QFlags_CaptureMode captureMode

Description: Method QFlags<QCamera::CaptureMode> QCamera::captureMode()

Python specific notes:
The object exposes a readable attribute 'captureMode'. This is the getter.

captureMode=

Signature: void captureMode= (QCamera_QFlags_CaptureMode mode)

Description: Method void QCamera::setCaptureMode(QFlags<QCamera::CaptureMode> mode)

Python specific notes:
The object exposes a writable attribute 'captureMode'. This is the setter.

captureModeChanged

Signature: void captureModeChanged (QCamera_QFlags_CaptureMode arg1)

Description: Method void QCamera::captureModeChanged(QFlags<QCamera::CaptureMode>)

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QCamera::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

customEvent

Signature: void customEvent (QEvent ptr arg1)

Description: Virtual method void QCamera::customEvent(QEvent *)

This method can be reimplemented in a derived class.

deviceDescription

Signature: [static] string deviceDescription (bytes device)

Description: Static method QString QCamera::deviceDescription(const QByteArray &device)

This method is static and can be called without an instance.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QCamera::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

error

Signature: [const] QCamera_Error error

Description: Method QCamera::Error QCamera::error()

errorString

Signature: [const] string errorString

Description: Method QString QCamera::errorString()

error_sig

Signature: void error_sig (const QCamera_Error arg1)

Description: Method void QCamera::error(QCamera::Error)

event

Signature: bool event (QEvent ptr arg1)

Description: Virtual method bool QCamera::event(QEvent *)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QCamera::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

exposure

Signature: [const] QCameraExposure ptr exposure

Description: Method QCameraExposure *QCamera::exposure()

focus

Signature: [const] QCameraFocus ptr focus

Description: Method QCameraFocus *QCamera::focus()

imageProcessing

Signature: [const] QCameraImageProcessing ptr imageProcessing

Description: Method QCameraImageProcessing *QCamera::imageProcessing()

isAvailable

Signature: [const] bool isAvailable

Description: Virtual method bool QCamera::isAvailable()

This method can be reimplemented in a derived class.

isCaptureModeSupported?

Signature: [const] bool isCaptureModeSupported? (QCamera_QFlags_CaptureMode mode)

Description: Method bool QCamera::isCaptureModeSupported(QFlags<QCamera::CaptureMode> mode)

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QCamera::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

load

Signature: void load

Description: Method void QCamera::load()

lockFailed

Signature: void lockFailed

Description: Method void QCamera::lockFailed()

lockStatus

(1) Signature: [const] QCamera_LockStatus lockStatus

Description: Method QCamera::LockStatus QCamera::lockStatus()

Python specific notes:
The object exposes a readable attribute 'lockStatus'. This is the getter.

(2) Signature: [const] QCamera_LockStatus lockStatus (const QCamera_LockType lock)

Description: Method QCamera::LockStatus QCamera::lockStatus(QCamera::LockType lock)

Python specific notes:
This method is available as 'lockStatus_' in Python to distiguish it from the property with the same name.

lockStatusChanged

Signature: void lockStatusChanged (const QCamera_LockStatus arg1, const QCamera_LockChangeReason arg2)

Description: Method void QCamera::lockStatusChanged(QCamera::LockStatus, QCamera::LockChangeReason)

lockStatusChanged_withType

Signature: void lockStatusChanged_withType (const QCamera_LockType arg1, const QCamera_LockStatus arg2, const QCamera_LockChangeReason arg3)

Description: Method void QCamera::lockStatusChanged(QCamera::LockType, QCamera::LockStatus, QCamera::LockChangeReason)

locked

Signature: void locked

Description: Method void QCamera::locked()

new

(1) Signature: [static] new QCamera new (QObject ptr parent = 0)

Description: Constructor QCamera::QCamera(QObject *parent)

This method creates an object of class QCamera.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QCamera new (bytes deviceName, QObject ptr parent = 0)

Description: Constructor QCamera::QCamera(const QByteArray &deviceName, QObject *parent)

This method creates an object of class QCamera.

Python specific notes:
This method is the default initializer of the object.

(3) Signature: [static] new QCamera new (const QCameraInfo cameraInfo, QObject ptr parent = 0)

Description: Constructor QCamera::QCamera(const QCameraInfo &cameraInfo, QObject *parent)

This method creates an object of class QCamera.

Python specific notes:
This method is the default initializer of the object.

(4) Signature: [static] new QCamera new (const QCamera_Position position, QObject ptr parent = 0)

Description: Constructor QCamera::QCamera(QCamera::Position position, QObject *parent)

This method creates an object of class QCamera.

Python specific notes:
This method is the default initializer of the object.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QCamera::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

removePropertyWatch

Signature: void removePropertyWatch (bytes name)

Description: Method void QCamera::removePropertyWatch(QByteArray const &name)

This method is protected and can only be called from inside a derived class.

requestedLocks

Signature: [const] QCamera_QFlags_LockType requestedLocks

Description: Method QFlags<QCamera::LockType> QCamera::requestedLocks()

searchAndLock

(1) Signature: void searchAndLock

Description: Method void QCamera::searchAndLock()

(2) Signature: void searchAndLock (QCamera_QFlags_LockType locks)

Description: Method void QCamera::searchAndLock(QFlags<QCamera::LockType> locks)

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QCamera::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QCamera::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

service

Signature: [const] QMediaService ptr service

Description: Virtual method QMediaService *QCamera::service()

This method can be reimplemented in a derived class.

setCaptureMode

Signature: void setCaptureMode (QCamera_QFlags_CaptureMode mode)

Description: Method void QCamera::setCaptureMode(QFlags<QCamera::CaptureMode> mode)

Python specific notes:
The object exposes a writable attribute 'captureMode'. This is the setter.

setViewfinder

(1) Signature: void setViewfinder (QVideoWidget ptr viewfinder)

Description: Method void QCamera::setViewfinder(QVideoWidget *viewfinder)

(2) Signature: void setViewfinder (QGraphicsVideoItem ptr viewfinder)

Description: Method void QCamera::setViewfinder(QGraphicsVideoItem *viewfinder)

(3) Signature: void setViewfinder (QAbstractVideoSurface ptr surface)

Description: Method void QCamera::setViewfinder(QAbstractVideoSurface *surface)

setViewfinderSettings

Signature: void setViewfinderSettings (const QCameraViewfinderSettings settings)

Description: Method void QCamera::setViewfinderSettings(const QCameraViewfinderSettings &settings)

Python specific notes:
The object exposes a writable attribute 'viewfinderSettings'. This is the setter.

start

Signature: void start

Description: Method void QCamera::start()

state

Signature: [const] QCamera_State state

Description: Method QCamera::State QCamera::state()

Python specific notes:
The object exposes a readable attribute 'state'. This is the getter.

stateChanged

Signature: void stateChanged (const QCamera_State arg1)

Description: Method void QCamera::stateChanged(QCamera::State)

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

status

Signature: [const] QCamera_Status status

Description: Method QCamera::Status QCamera::status()

Python specific notes:
The object exposes a readable attribute 'status'. This is the getter.

statusChanged

Signature: void statusChanged (const QCamera_Status arg1)

Description: Method void QCamera::statusChanged(QCamera::Status)

stop

Signature: void stop

Description: Method void QCamera::stop()

supportedLocks

Signature: [const] QCamera_QFlags_LockType supportedLocks

Description: Method QFlags<QCamera::LockType> QCamera::supportedLocks()

supportedViewfinderFrameRateRanges

Signature: [const] QCamera_FrameRateRange[] supportedViewfinderFrameRateRanges (const QCameraViewfinderSettings settings = QCameraViewfinderSettings())

Description: Method QList<QCamera::FrameRateRange> QCamera::supportedViewfinderFrameRateRanges(const QCameraViewfinderSettings &settings)

supportedViewfinderPixelFormats

Signature: [const] QVideoFrame_PixelFormat[] supportedViewfinderPixelFormats (const QCameraViewfinderSettings settings = QCameraViewfinderSettings())

Description: Method QList<QVideoFrame::PixelFormat> QCamera::supportedViewfinderPixelFormats(const QCameraViewfinderSettings &settings)

supportedViewfinderResolutions

Signature: [const] QSize[] supportedViewfinderResolutions (const QCameraViewfinderSettings settings = QCameraViewfinderSettings())

Description: Method QList<QSize> QCamera::supportedViewfinderResolutions(const QCameraViewfinderSettings &settings)

supportedViewfinderSettings

Signature: [const] QCameraViewfinderSettings[] supportedViewfinderSettings (const QCameraViewfinderSettings settings = QCameraViewfinderSettings())

Description: Method QList<QCameraViewfinderSettings> QCamera::supportedViewfinderSettings(const QCameraViewfinderSettings &settings)

timerEvent

Signature: void timerEvent (QTimerEvent ptr arg1)

Description: Virtual method void QCamera::timerEvent(QTimerEvent *)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QCamera::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QCamera::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

unbind

Signature: void unbind (QObject ptr arg1)

Description: Virtual method void QCamera::unbind(QObject *)

This method can be reimplemented in a derived class.

unload

Signature: void unload

Description: Method void QCamera::unload()

unlock

(1) Signature: void unlock

Description: Method void QCamera::unlock()

(2) Signature: void unlock (QCamera_QFlags_LockType locks)

Description: Method void QCamera::unlock(QFlags<QCamera::LockType> locks)

viewfinderSettings

Signature: [const] QCameraViewfinderSettings viewfinderSettings

Description: Method QCameraViewfinderSettings QCamera::viewfinderSettings()

Python specific notes:
The object exposes a readable attribute 'viewfinderSettings'. This is the getter.

viewfinderSettings=

Signature: void viewfinderSettings= (const QCameraViewfinderSettings settings)

Description: Method void QCamera::setViewfinderSettings(const QCameraViewfinderSettings &settings)

Python specific notes:
The object exposes a writable attribute 'viewfinderSettings'. This is the setter.