Version 1.2 - Updated on 7/14/2016
Includes: PCResourceItem.h
This class includes method that allow you to copy , delete, move, and rename methods for all media types.
- (PCAPI *)copyItem:(PCFOPSAPIParams *)params withCompletionHandler:(void (^)(id resourceItem, PCAPIQueryResponse *response))completion;
Parameters
params
Parameters required to perform a copy operation.
completion
This block is called on the completion of a copy operation. The metadata of the target file, folder, audio, video, or photo is returned in the completion block.
Discussion
Call this method to copy a file, folder, audio, video, or photo from one location to a different location.
- (PCAPI *)deleteItemWithCompletionHandler:(void (^)(PCAPIQueryResponse *response))completion;
Parameters
Discussion
Call this method to delete a file, folder, audio, video, or photo.
- (PCAPI *)moveItem:(PCFOPSAPIParams *)params withCompletionHandler:(void (^)(id resourceItem, PCAPIQueryResponse *response))completion;
Parameters
params
parameters required to perform move operation.
completion
This block is called on the completion of a move operation. The metadata of the target file, folder, audio, video, or photo is returned in the completion block.
Discussion
Call this method to move a file, folder, audio, video, or photo from one location to a different location.
- (PCAPI *)renameItem:(PCFOPSAPIParams *)params withCompletionHandler:(void (^)(id resourceItem, PCAPIQueryResponse *response))completion;
Parameters
params
Parameters required to perform a rename operation.
completion
This block is called on the completion of a rename operation. The metadata of the renamed file, folder, audio, video, or photo is returned in the completion block.
Discussion
Call this method to rename a file, folder, audio, video, or a photo.
Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.