itemEnclosureType (property)
This property specifies the type of enclosure.
Syntax
- (NSString*)itemEnclosureType:(int)itemIndex; - (void)setItemEnclosureType:(int)itemIndex:(NSString*)newItemEnclosureType;
public func itemEnclosureType(itemIndex: Int32) throws -> String
public func setItemEnclosureType(itemIndex: Int32, newItemEnclosureType: String) throws -> Void
Default Value
""
Remarks
This property specifies the type of enclosure. This property must contain a standard MIME type such as "audio/mpeg".
An enclosure specifies a media object which is attached to the item. The fields ItemEnclosureLength, ItemEnclosureType, and ItemEnclosureUrl all are required when specifying an enclosure.
The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount property.