DBFILESUploadSessionOffsetError

Objective-C

@interface DBFILESUploadSessionOffsetError
    : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESUploadSessionOffsetError : NSObject, DBSerializable, NSCopying

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

  • The offset up to which data has been collected.

    Declaration

    Objective-C

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

    Swift

    var correctOffset: NSNumber { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCorrectOffset:(nonnull NSNumber *)correctOffset;

    Swift

    init(correctOffset: NSNumber)

    Parameters

    correctOffset

    The offset up to which data has been collected.

    Return Value

    An initialized instance.