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.
-
A unique identifier for the upload session. Pass this to
uploadSessionAppend
anduploadSessionFinish
.Declaration
Objective-C
@property (nonatomic, copy, readonly) 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
uploadSessionAppend
anduploadSessionFinish
.Return Value
An initialized instance.