IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

updateMetadata (method)

Sets the metadata for a file, folder, or share.

Syntax

- (void)updateMetadata:(NSString*)path :(int)resourceType;
public func updateMetadata(_ path: String, _ resourceType: Int32) throws -> Void

Remarks

This method sets the metadata for a file, folder, or share to the items currently held by the Metadata* properties. The ResourceType parameter indicates the kind of resource the class should prepare the request for; possible values are:

  • 0: Set the metadata for the file at the specified Path in the share currently selected by Share.
  • 1: Set the metadata for the folder at the specified Path in the share currently selected by Share.
  • 2: Set the metadata for the share currently selected by Share (Path is ignored).

Note that it is not possible to do a partial metadata update. That is, all metadata currently associated with the remote entity will be replaced with the metadata sent in the request.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 iOS Edition - Version 20.0 [Build 8265]