ZDCProgressManagerChanges

@interface ZDCProgressManagerChanges : NSObject

Instances of this class are broadcast via ZDCProgressManagerChangedNotification.

It can be extracted from the ZDCProgressManagerChangedNotification.userInfo dictionary using the ZDCProgressManagerChanges key.

  • The type of progress item that changed.

    Declaration

    Objective-C

    @property (readonly, nonatomic) ZDCProgressType progressType;

    Swift

    var progressType: ZDCProgressType { get }
  • The localUser for which the progress is associated. (localUserID == ZDCLocalUser.uuid)

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull localUserID;

    Swift

    var localUserID: String { get }
  • The node for which the progress is associated. (nodeID == ZDCNode.uuid)

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull nodeID;

    Swift

    var nodeID: String { get }
  • If the progressType is ZDCProgressType_MetaDownload, represents the meta components that are being downloaded.

    Declaration

    Objective-C

    @property (readonly, nonatomic) ZDCNodeMetaComponents metaComponents;

    Swift

    var metaComponents: ZDCNodeMetaComponents { get }
  • If the progressType is ZDCProgressType_Upload, represents the ZDCCloudOperation. (operationUUID == ZDCCloudOperation.uuid)

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSUUID *operationUUID;

    Swift

    var operationUUID: UUID? { get }
  • If the progressType is ZDCProgressType_Upload, tells you whether or not: ZDCCloudOperation.putType == ZDCCloudOperationPutType_Node_Data

    In other words, is this the operation that’s uploading the actual data for a node. (As opposed to, say, the treesystem metadata.)

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isDataUpload;

    Swift

    var isDataUpload: Bool { get }