Sets the value for an input port of a composition. (required)
Original signature is '- (BOOL)setValue:(id)value forInputKey:(NSString *)key'
Available in Mac OS X v10.4 and later.
Declaration Syntax
Parameters
- value (Id)
- The value to set for the input port. The input port must be at the root patch of the composition. The data type of the value argument must match the input port. See QCPortAttributeTypeKey for the data types accepted by a particular port type.
- key (NSString)
- The key associated with the input port of the composition. This method throws an exception if key is invalid.
Return Value
Returns NO if it cannot set the value.
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)