DBFILESUploadSessionStartBatchArg

Objective-C

@interface DBFILESUploadSessionStartBatchArg
    : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESUploadSessionStartBatchArg : NSObject, DBSerializable, NSCopying

The UploadSessionStartBatchArg 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

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithNumSessions:(nonnull NSNumber *)numSessions
                sessionType:(nullable DBFILESUploadSessionType *)sessionType;

    Swift

    init(numSessions: NSNumber, sessionType: DBFILESUploadSessionType?)

    Parameters

    numSessions

    The number of upload sessions to start.

    sessionType

    Type of upload session you want to start. If not specified, default is sequential in DBFILESUploadSessionType.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithNumSessions:(nonnull NSNumber *)numSessions;

    Swift

    init(numSessions: NSNumber)

    Parameters

    numSessions

    The number of upload sessions to start.

    Return Value

    An initialized instance.