DBSHARINGRemoveFolderMemberArg

Objective-C

@interface DBSHARINGRemoveFolderMemberArg : NSObject <DBSerializable, NSCopying>

Swift

class DBSHARINGRemoveFolderMemberArg : NSObject, DBSerializable, NSCopying

The RemoveFolderMemberArg 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 }
  • The member to remove from the folder.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBSHARINGMemberSelector *_Nonnull member;

    Swift

    var member: DBSHARINGMemberSelector { get }
  • If true, the removed user will keep their copy of the folder after it’s unshared, assuming it was mounted. Otherwise, it will be removed from their Dropbox. This must be set to false when removing a group, or when the folder is within a team folder or another shared folder.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull leaveACopy;

    Swift

    var leaveACopy: NSNumber { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithSharedFolderId:(nonnull NSString *)sharedFolderId
                        member:(nonnull DBSHARINGMemberSelector *)member
                    leaveACopy:(nonnull NSNumber *)leaveACopy;

    Swift

    init(sharedFolderId: String, member: DBSHARINGMemberSelector, leaveACopy: NSNumber)

    Parameters

    sharedFolderId

    The ID for the shared folder.

    member

    The member to remove from the folder.

    leaveACopy

    If true, the removed user will keep their copy of the folder after it’s unshared, assuming it was mounted. Otherwise, it will be removed from their Dropbox. This must be set to false when removing a group, or when the folder is within a team folder or another shared folder.

    Return Value

    An initialized instance.