DBFILESLockConflictError
Objective-C
@interface DBFILESLockConflictError : NSObject <DBSerializable, NSCopying>
Swift
class DBFILESLockConflictError : NSObject, DBSerializable, NSCopying
The LockConflictError
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The lock that caused the conflict.
Declaration
Objective-C
@property (nonatomic, readonly) DBFILESFileLock *_Nonnull lock;
Swift
var lock: DBFILESFileLock { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithLock:(nonnull DBFILESFileLock *)lock;
Swift
init(lock: DBFILESFileLock)
Parameters
lock
The lock that caused the conflict.
Return Value
An initialized instance.