AVFoundation Constants

Overview

This document describes constants defined in the AVFoundation framework not described in individual classes or in domain-specific constants references.

Topics

Constants

AVErrorDeviceKey

The corresponding value is an NSString object with the name of the device.

AVErrorFileSizeKey

The corresponding value is an NSNumber object containing the size of the file in bytes.

AVErrorMediaSubTypeKey

The corresponding value is an array of NSNumber objects that specify media subtypes. The types are represented by four character codes (4ccs), as defined in CoreAudioTypes.h for audio media and in CMFormatDescription.h for video media.

AVErrorMediaTypeKey

The corresponding value is an NSString object that specifies a media type such as video, audio, or metadata. For a list of possible values, see AVFoundation Constants.

AVErrorPIDKey

The corresponding value is an NSNumber object containing a process ID number.

AVErrorRecordingSuccessfullyFinishedKey

The corresponding value is an NSNumber object with a Boolean value indicating whether recording finished successfully.

AVErrorTimeKey

The corresponding value is an NSValue object containing a CMTime.

AVFoundationErrorDomain

Domain for AVFoundation errors.