DBFILESUploadSessionStartResult

Objective-C

@interface DBFILESUploadSessionStartResult
    : NSObject <DBSerializable, NSCopying>

Swift

class 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.

Instance fields

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

    Declaration

    Objective-C

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

    Swift

    var sessionId: String { get }

Constructors

  • 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 uploadSessionAppend and uploadSessionFinish.

    Return Value

    An initialized instance.