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.

Instance fields

Constructors

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