AVMutableMetadataItem Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AVFoundation.framework |
| Availability | Available in iOS 4.0 and later. |
| Declared in | AVMetadataItem.h |
Overview
AVMutableMetadataItem is a mutable subclass of AVMetadataItem that lets you build collections of metadata to be written to asset files using AVAssetExportSession.
You can initialize a mutable metadata item from an existing AVMetadataItem object or with a one or more of the basic properties of a metadata item: a key, a key space, a locale, and a value.
Tasks
Creating a Mutable Metadata Item
Key and Key Space
Values
-
valueproperty -
localeproperty -
timeproperty -
durationproperty -
extraAttributesproperty
Properties
duration
Indicates the metadata item’s duration.
Availability
- Available in iOS 4.2 and later.
See Also
Declared In
AVMetadataItem.hextraAttributes
Provides a dictionary of the metadata item’s additional attributes.
Availability
- Available in iOS 4.0 and later.
Declared In
AVMetadataItem.hkey
Indicates the metadata item’s key.
Availability
- Available in iOS 4.0 and later.
Declared In
AVMetadataItem.hkeySpace
Indicates the key space of the metadata item’s key.
Discussion
This is typically the default key space for the metadata container in which the metadata item is stored.
Availability
- Available in iOS 4.0 and later.
Declared In
AVMetadataItem.hlocale
Indicates the metadata item’s locale.
Discussion
The locale may be nil if no locale information is available for the item.
Availability
- Available in iOS 4.0 and later.
Declared In
AVMetadataItem.htime
Indicates the metadata item’s timestamp.
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
AVMetadataItem.hvalue
Indicates the metadata item’s value.
Availability
- Available in iOS 4.0 and later.
Declared In
AVMetadataItem.hClass Methods
metadataItem
Returns a new mutable metadata item.
Return Value
A new mutable metadata item.
Availability
- Available in iOS 4.0 and later.
Declared In
AVMetadataItem.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-10-12)