DBFILESUploadSessionStartArg

@interface DBFILESUploadSessionStartArg : NSObject <DBSerializable, NSCopying>

The UploadSessionStartArg struct.

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

  • If true, the current session will be closed, at which point you won’t be able to call uploadSessionAppendV2 anymore with the current session.

    Declaration

    Objective-C

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

    Swift

    var close: NSNumber { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithClose:(nullable NSNumber *)close;

    Swift

    init(close: NSNumber?)

    Parameters

    close

    If true, the current session will be closed, at which point you won’t be able to call uploadSessionAppendV2 anymore with the current session.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initDefault;

    Swift

    init(default: ())

    Return Value

    An initialized instance.