DBFILESFileLock
Objective-C
@interface DBFILESFileLock : NSObject <DBSerializable, NSCopying>
Swift
class DBFILESFileLock : NSObject, DBSerializable, NSCopying
The FileLock
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 description.
Declaration
Objective-C
@property (nonatomic, readonly) DBFILESFileLockContent *_Nonnull content;
Swift
var content: DBFILESFileLockContent { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithContent: (nonnull DBFILESFileLockContent *)content;
Swift
init(content: DBFILESFileLockContent)
Parameters
content
The lock description.
Return Value
An initialized instance.