ZDCCloudOperationType

enum ZDCCloudOperationType {}

The type of operation to be performed.

  • Represents an invalid type (generally used for errors)

    Declaration

    Objective-C

    ZDCCloudOperationType_Invalid = 0

    Swift

    case invalid = 0
  • Represents a ‘put’ operation, meaning a node is being uploaded to the cloud. This could be either a new node, or modifying an existing node.

    Declaration

    Objective-C

    ZDCCloudOperationType_Put

    Swift

    case put = 1
  • Represents a ‘move’ operation, meaning a node is being moved from one location to another.

    Declaration

    Objective-C

    ZDCCloudOperationType_Move

    Swift

    case move = 2
  • Represents a ‘delete’ operation, where the node being deleted is a leaf (no children).

    Declaration

    Objective-C

    ZDCCloudOperationType_DeleteLeaf

    Swift

    case deleteLeaf = 3
  • Represents a ‘delete’ operation, where it’s assumed the node might have children (not a leaf).

    Declaration

    Objective-C

    ZDCCloudOperationType_DeleteNode

    Swift

    case deleteNode = 4
  • Represents a ‘copy’ operation. The server is only capable of copying one file at a time. The copy may cross regions. (e.g. from Oregon to Ireland)

    Declaration

    Objective-C

    ZDCCloudOperationType_CopyLeaf

    Swift

    case copyLeaf = 5
  • Represents an update of the user’s avatar. This is only for non-social identities.

    Declaration

    Objective-C

    ZDCCloudOperationType_Avatar

    Swift

    case avatar = 6