DBSHARINGTransferFolderArg

Objective-C

@interface DBSHARINGTransferFolderArg : NSObject <DBSerializable, NSCopying>

Swift

class DBSHARINGTransferFolderArg : NSObject, DBSerializable, NSCopying

The TransferFolderArg 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

  • The ID for the shared folder.

    Declaration

    Objective-C

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

    Swift

    var sharedFolderId: String { get }
  • A account or team member ID to transfer ownership to.

    Declaration

    Objective-C

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

    Swift

    var toDropboxId: String { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSharedFolderId:
                                (nonnull NSString *)sharedFolderId
                                       toDropboxId:(nonnull NSString *)toDropboxId;

    Swift

    init(sharedFolderId: String, toDropboxId: String)

    Parameters

    sharedFolderId

    The ID for the shared folder.

    toDropboxId

    A account or team member ID to transfer ownership to.

    Return Value

    An initialized instance.