DBFILESUploadSessionStartResult

@interface DBFILESUploadSessionStartResult
    : NSObject <DBSerializable, NSCopying>

The UploadSessionStartResult struct.

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

  • A unique identifier for the upload session. Pass this to uploadSessionAppendV2 and uploadSessionFinish.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSessionId:(nonnull NSString *)sessionId;

    Swift

    init(sessionId: String)

    Parameters

    sessionId

    A unique identifier for the upload session. Pass this to uploadSessionAppendV2 and uploadSessionFinish.

    Return Value

    An initialized instance.