Returns a sample buffer attribute for the given key.
Original signature is '- (id)attributeForKey:(NSString *)key'
Available in 5 and later.
Declaration Syntax
Parameters
- key (NSString)
- The key of the returned attribute. Attribute keys are described in the “Sample Buffer Attributes” section.
Return Value
An object for the given attribute key, or NIL if the sample buffer does not have the given attribute.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)