DBSHARINGAudienceExceptions

@interface DBSHARINGAudienceExceptions : NSObject <DBSerializable, NSCopying>

The AudienceExceptions struct.

The total count and truncated list of information of content inside this folder that has a different audience than the link on this folder. This is only returned for folders.

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

  • (no description).

    Declaration

    Objective-C

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

    Swift

    var count: NSNumber { get }
  • A truncated list of some of the content that is an exception. The length of this list could be smaller than the count since it is only a sample but will not be empty as long as count is not 0.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<DBSHARINGAudienceExceptionContentInfo *> *_Nonnull exceptions;

    Swift

    var exceptions: [DBSHARINGAudienceExceptionContentInfo] { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithCount:(nonnull NSNumber *)count
       exceptions:
           (nonnull NSArray<DBSHARINGAudienceExceptionContentInfo *> *)exceptions;

    Swift

    init(count: NSNumber, exceptions: [DBSHARINGAudienceExceptionContentInfo])

    Parameters

    count

    (no description).

    exceptions

    A truncated list of some of the content that is an exception. The length of this list could be smaller than the count since it is only a sample but will not be empty as long as count is not 0.

    Return Value

    An initialized instance.