DBSHARINGAudienceRestrictingSharedFolder

Objective-C

@interface DBSHARINGAudienceRestrictingSharedFolder
    : NSObject <DBSerializable, NSCopying>

Swift

class DBSHARINGAudienceRestrictingSharedFolder : NSObject, DBSerializable, NSCopying

The AudienceRestrictingSharedFolder struct.

Information about the shared folder that prevents the link audience for this link from being more restrictive.

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 of the shared folder.

    Declaration

    Objective-C

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

    Swift

    var sharedFolderId: String { get }
  • The name of the shared folder.

    Declaration

    Objective-C

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

    Swift

    var name: String { get }
  • The link audience of the shared folder.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBSHARINGLinkAudience *_Nonnull audience;

    Swift

    var audience: DBSHARINGLinkAudience { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithSharedFolderId:(nonnull NSString *)sharedFolderId
                          name:(nonnull NSString *)name
                      audience:(nonnull DBSHARINGLinkAudience *)audience;

    Swift

    init(sharedFolderId: String, name: String, audience: DBSHARINGLinkAudience)

    Parameters

    sharedFolderId

    The ID of the shared folder.

    name

    The name of the shared folder.

    audience

    The link audience of the shared folder.

    Return Value

    An initialized instance.