| Framework | QTKit/QTKit.h |
| Declared in | QTError.h |
This document defines constants in the QTKit framework that are not associated with a particular class.
The QTKit error domain identifier, and keys for extracting specific values from the userInfo dictionary of an error returned by QTKit.
NSString * const QTKitErrorDomain; NSString * const QTErrorCaptureInputKey; NSString * const QTErrorCaptureOutputKey; NSString * const QTErrorDeviceKey; NSString * const QTErrorExcludingDeviceKey; NSString * const QTErrorRecordingSuccesfullyFinishedKey;
QTKitErrorDomainThe QTKit error domain identifier.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorCaptureInputKeyUse this key to retrieve the QTCaptureInput object for which the error occurred.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorCaptureOutputKeyUse this key to retrieve the QTCaptureOutput object for which the error occurred.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorDeviceKeyUse this key to retrieve the QTCaptureDevice object for which the error occurred.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorExcludingDeviceKeyUse this key to retrieve the QTCaptureDevice object for the device whose presence is excluding the device for which the error occurred.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorRecordingSuccesfullyFinishedKeyUse this key to determine whether the products of a recording were successfully finished after recording stopped due to an error. The value is an NSNumber interpreted as a BOOL.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
Error codes returned within QTKitErrorDomain.
enum {
QTErrorUnknown = -1,
QTErrorIncompatibleInput = 1002,
QTErrorIncompatibleOutput = 1003,
QTErrorInvalidInputsOrOutputs = 1100,
QTErrorDeviceAlreadyUsedbyAnotherSession = 1101,
QTErrorNoDataCaptured = 1200,
QTErrorSessionConfigurationChanged = 1201,
QTErrorDiskFull = 1202,
QTErrorDeviceWasDisconnected = 1203,
QTErrorMediaChanged = 1204,
QTErrorMaximumDurationReached = 1205,
QTErrorMaximumFileSizeReached = 1206,
QTErrorMediaDiscontinuity = 1207,
QTErrorDeviceNotConnected = 1300,
QTErrorDeviceInUseByAnotherApplication = 1301,
QTErrorDeviceExcludedByAnotherDevice = 1302,
};
QTErrorUnknownIndicates an unexpected or unknown error.
Check NSUnderlyingErrorKey for an NSError representing the internal cause of the error.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorInputAlreadyConnectedToAnotherSessionThe input could not be added to the specified session because it is already connected to another session.
Check QTErrorCaptureInputKey for the input experiencing the error.
QTErrorOutputAlreadyConnectedToAnotherSessionThe output could not be added to the specified session because it is already connected to another session.
Check QTErrorCaptureOutputKey for the output experiencing the error.
QTErrorIncompatibleInputThe input could not be added to the specified session because it is incompatible with existing inputs and outputs in the session.
Check QTErrorCaptureInputKey for the input experiencing the error.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorIncompatibleOutputThe output could not be added to the specified session because it is incompatible with existing inputs and outputs in the session.
Check QTErrorCaptureOutputKey for the output experiencing the error.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorInvalidInputOrOutputThe input or output could not be added to the specified session because the session experiences a runtime error due to a problem with one of the inputs or outputs.
Check NSUnderlyingErrorKey for an NSError representing the internal cause of the error.
QTErrorDeviceAlreadyUsedbyAnotherSessionThe device could not be added to the session because it experiences a runtime error trying to use a device already being used by another session.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorNoDataCapturedReturned when no data was successfully captured during a recording or other capture operation.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorSessionConfigurationChangedThe recording has been automatically stopped because an input or output has been added or removed, or the channels of an input or output have changed.
Check QTErrorCaptureSuccesfullyFinishedKey to determine if the recorded products were successfully completed when recording was stopped.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorDiskFullThe recording has been automatically stopped because the disk being used for recorded products is full.
Check QTErrorCaptureSuccesfullyFinishedKey to determine if the recorded products were successfully completed when recording was stopped. This error will occur while the destination disk still has sufficient space to avoid system wide warnings about low disk space.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorDeviceWasDisconnectedThe recording has been automatically stopped because an input device was disconnected.
Check QTErrorCaptureSuccesfullyFinishedKey to determine if the capture products were successfully completed when recording was stopped.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorMediaChangedThe recording has been automatically stopped because the format of the input media changed or the media samples were invalid.
Check QTErrorCaptureSuccesfullyFinishedKey to determine if the capture products were successfully completed when recording was stopped.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorMaximumDurationReachedReturned when recording has reached the maximum duration specified by the application.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorMaximumFileSizeReachedReturned when recording has reached the maximum file size specified by the application.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorMediaDiscontinuityReturned when there is a discontinuity in captured media, usually because of perfomance problems on the user's system or because of a change in a device's state. This error generally indicates that media samples have been dropped in order to maintain real time capture.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorDeviceNotConnectedThe device is not connected to the computer.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorDeviceInUseByAnotherApplicationThe device is in use by another application.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
QTErrorDeviceExcludedByAnotherDeviceThe device is excluded by another device.
Check QTErrorExcludingDeviceKey to determine the device that needs to be closed to open the device that failed.
Available in Mac OS X v10.5 and later.
Declared in QTError.h.
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-07-19)