LiveConnectClient moveFromPath:toDestination:delegate:userState method
Performs an asynchronous move of a resource to a different folder on the user's Microsoft OneDrive account for a given path, destination, and optionally, a LiveOperationDelegate and user state.
Signature
- (LiveOperation *) moveFromPath:(NSString *)path
toDestination:(NSString *)destination
delegate:(id <LiveOperationDelegate>)delegate
userState:(id)userState;
Parameters
Name |
Datatype |
Description |
---|---|---|
path |
NSString |
Required. The path or object ID of the resource to move. |
destination |
NSString |
Required. The object ID of the destination folder for the resource being moved. |
delegate |
id <LiveOperationDelegate> |
Optional. An instance of a class that implements the LiveOperationDelegate protocol. |
userState |
id |
Optional. An object that is used to track the asynchronous state. The userState object is found in the userState property of the LiveOperation instance that is passed as a parameter when a LiveOperationDelegate protocol method is invoked. |
Returns
Type: LiveOperation
The asynchronous operation that is used to track the asynchronous REST reference request and get response data once the operation completes.
Defined in
LiveConnectClient.h
Remarks
This method uses an HTTP MOVE call to the Live SDKREST reference.