DBFILESRelocationPath

@interface DBFILESRelocationPath : NSObject <DBSerializable, NSCopying>

The RelocationPath struct.

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

  • Path in the user’s Dropbox to be copied or moved.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFromPath:(nonnull NSString *)fromPath
                                      toPath:(nonnull NSString *)toPath;

    Swift

    init(fromPath: String, toPath: String)

    Parameters

    fromPath

    Path in the user’s Dropbox to be copied or moved.

    toPath

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

    Return Value

    An initialized instance.