EOSDownloadDelegate Protocol Reference
Conforms to | NSObject |
Declared in | EOSFile.h |
Overview
The EOSDownloadDelegate protocol defines the methods implemented by the delegate used during the download of a file.
Instance Methods
didDownloadFile:withOptions:contextInfo:error:
Invoked when the download is complete.
- (void)didDownloadFile:(EOSFile *)file withOptions:(NSDictionary *)options contextInfo:(id)contextInfo error:(NSError *)error
Parameters
- file
The file that was downloaded.
- options
The dictionary of download options.
- contextInfo
The object that was passed to the download method.
- error
If unsuccessful, an instance of NSError describes the problem.
Discussion
The content of error returned should be examined to determine if the download completed successfully. The options dictionary will contain the additional key; EOSSavedFilename.
Declared In
EOSFile.h