DBSHARINGRemoveFolderMemberArg

@interface 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.

  • The ID for the shared folder.

    Declaration

    Objective-C

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

    Swift

    var sharedFolderId: String { get }
  • The member to remove from the folder.

    Declaration

    Objective-C

    @property (readonly, nonatomic) 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. Also, this must be set to false when kicking a group.

    Declaration

    Objective-C

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

    Swift

    var leaveACopy: NSNumber { get }
  • 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. Also, this must be set to false when kicking a group.

    Return Value

    An initialized instance.