LiveConnectClient downloadFromPath:delegate method
Performs an asynchronous download of a file with a given path from the user's Microsoft OneDrive account.
The method also has the option of specifying a LiveDownloadOperationDelegate.
Signature
- (LiveDownloadOperation *) downloadFromPath:(NSString *)path
delegate:(id <LiveDownloadOperationDelegate>)delegate;
Parameters
Name |
Datatype |
Description |
---|---|---|
path |
NSString |
Required. The path or object ID of the resource to download. |
delegate |
id <LiveDownloadOperationDelegate> |
Optional. An instance of a class that implements the LiveDownloadOperationDelegate protocol. |
Returns
Type: LiveDownloadOperation
The asynchronous operation that is used to track the asynchronous download request from the OneDrive service and get response data once the operation completes.
Defined in
LiveConnectClient.h