Inherits from | |
Framework | /System/Library/Frameworks/AVFoundation.framework |
Companion guide | |
Declared in | AVTime.h |
The AV Foundation framework adds methods to the NSCoder
class to make it easier to create archives including Core Media time structures, and extract Core Media time structure from archives.
Returns the CMTime
structure associated with a given key.
- (CMTime)decodeCMTimeForKey:(NSString *)key
The key for a CMTime
structure encoded in the receiver.
The CMTime
structure associated with key in the archive.
AVTime.h
Returns the CMTimeMapping
structure associated with a given key.
- (CMTimeMapping)decodeCMTimeMappingForKey:(NSString *)key
The key for a CMTimeMapping
structure encoded in the receiver.
The CMTimeMapping
structure associated with key in the archive.
AVTime.h
Returns the CMTimeRange
structure associated with a given key.
- (CMTimeRange)decodeCMTimeRangeForKey:(NSString *)key
The key for a CMTimeRange
structure encoded in the receiver.
The CMTimeRange
structure associated with key in the archive.
AVTime.h
Encodes a given CMTime
structure and associates it with a specified key.
- (void)encodeCMTime:(CMTime)time forKey:(NSString *)key
A CMTime
structure.
The key with which to associate time in the archive.
AVTime.h
Encodes a given CMTimeMapping
structure and associates it with a specified key.
- (void)encodeCMTimeMapping:(CMTimeMapping)timeMapping forKey:(NSString *)key
A CMTimeMapping
structure.
The key with which to associate timeMapping in the archive.
AVTime.h
Encodes a given CMTimeRange
structure and associates it with a specified key.
- (void)encodeCMTimeRange:(CMTimeRange)timeRange forKey:(NSString *)key
A CMTimeRange
structure.
The key with which to associate timeRange in the archive.
AVTime.h
Last updated: 2010-05-16