DBFILESSaveCopyReferenceArg

@interface DBFILESSaveCopyReferenceArg : NSObject <DBSerializable, NSCopying>

The SaveCopyReferenceArg struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • A copy reference returned by dCopyReferenceGet.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull dCopyReference;

    Swift

    var dCopyReference: String { get }
  • Path in the user’s Dropbox that is the destination.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull path;

    Swift

    var path: String { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDCopyReference:
                                (nonnull NSString *)dCopyReference
                                              path:(nonnull NSString *)path;

    Swift

    init(dCopyReference: String, path: String)

    Parameters

    dCopyReference

    A copy reference returned by dCopyReferenceGet.

    path

    Path in the user’s Dropbox that is the destination.

    Return Value

    An initialized instance.