DBSHARINGInsufficientQuotaAmounts

Objective-C

@interface DBSHARINGInsufficientQuotaAmounts
    : NSObject <DBSerializable, NSCopying>

Swift

class DBSHARINGInsufficientQuotaAmounts : NSObject, DBSerializable, NSCopying

The InsufficientQuotaAmounts 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 amount of space needed to add the item (the size of the item).

    Declaration

    Objective-C

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

    Swift

    var spaceNeeded: NSNumber { get }
  • The amount of extra space needed to add the item.

    Declaration

    Objective-C

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

    Swift

    var spaceShortage: NSNumber { get }
  • The amount of space left in the user’s Dropbox, less than space_needed.

    Declaration

    Objective-C

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

    Swift

    var spaceLeft: NSNumber { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSpaceNeeded:(nonnull NSNumber *)spaceNeeded
                                  spaceShortage:(nonnull NSNumber *)spaceShortage
                                      spaceLeft:(nonnull NSNumber *)spaceLeft;

    Swift

    init(spaceNeeded: NSNumber, spaceShortage: NSNumber, spaceLeft: NSNumber)

    Parameters

    spaceNeeded

    The amount of space needed to add the item (the size of the item).

    spaceShortage

    The amount of extra space needed to add the item.

    spaceLeft

    The amount of space left in the user’s Dropbox, less than space_needed.

    Return Value

    An initialized instance.