DBFILESSaveCopyReferenceArg

Objective-C

@interface DBFILESSaveCopyReferenceArg : NSObject <DBSerializable, NSCopying>

Swift

class 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.

Instance fields

  • A copy reference returned by dCopyReferenceGet.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var path: String { get }

Constructors

  • 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.