LiveConnectClient copyFromPath:toDestination:delegate method
Performs an asynchronous copy of a file with a given path and destination to a different folder on the user's Microsoft OneDrive account.
The method also has the option of specifying a LiveOperationDelegate.
Signature
- (LiveOperation *) copyFromPath:(NSString *)path
toDestination:(NSString *)destination
delegate:(id <LiveOperationDelegate>)delegate;
Parameters
Name |
Datatype |
Description |
---|---|---|
path |
NSString |
Required. The path or object ID of the resource to copy. |
destination |
NSString |
Required. The object ID of the destination folder for the resource being copied. |
delegate |
id <LiveOperationDelegate> |
Optional. An instance of a class that implements the LiveOperationDelegate protocol. |
Returns
Type: LiveOperation
The asynchronous operation that is used to track the asynchronous REST API request and get response data once the operation completes.
Defined in
LiveConnectClient.h
Remarks
This is a helper function that makes calls using HTTP COPY to the Live SDKREST reference.