ADC Home > Reference Library > Reference > Audio > Carbon > Disc Recording Framework Reference

 


DRFile(VirtualFiles)

Extends Class:
Declared In:

Overview

This category on DRFile defines methods that allow the file to be specified using data passed in at creation time.



Methods

-initWithName:data:
Initializes a virtual file object
-initWithName:dataProducer:
Initializes a virtual file object
+virtualFileWithName:data:
Creates a virtual file object
+virtualFileWithName:dataProducer:
Creates a virtual file object

initWithName:data:


Initializes a virtual file object

- (id) initWithName:(NSString*)name data:(NSData*)data; 
Parameters
name
The name of the file on output disc.
data
The data that will become the contents of the file on the output disc.
Return Value

A DRFile object.

Discussion

This type of DRFile burns the data passed in to the output disc, creating a file with the passed in name.


initWithName:dataProducer:


Initializes a virtual file object

- (id) initWithName:(NSString*)name dataProducer:(id)producer; 
Parameters
name
The name of the file on output disc.
producer
The object supplying the file data to the burn.
Return Value

A DRFile object.

Discussion

This type of DRFile burns the data produced to the output disc, creating a file with the passed in name.


virtualFileWithName:data:


Creates a virtual file object

+ (DRFile*) virtualFileWithName:(NSString*)name data:(NSData*)data; 
Parameters
name
The name of the file on disc.
data
The data that will become the contents of the file on the disc.
Return Value

An autoreleased DRFile object.

Discussion

This type of DRFile burns the data passed in to disc, creating a file with the passed in name.


virtualFileWithName:dataProducer:


Creates a virtual file object

+ (DRFile*) virtualFileWithName:(NSString*)name dataProducer:(id)producer; 
Parameters
name
The name of the file on disc.
data
The data that will become the contents of the file on the disc.
Return Value

An autoreleased DRFile object.

Discussion

This type of DRFile burns the data produced to the output disc, creating a file with the passed in name.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2008-04-01