DBFILESLockFileResult

Objective-C

@interface DBFILESLockFileResult : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESLockFileResult : NSObject, DBSerializable, NSCopying

The LockFileResult 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)initWithMetadata:(nonnull DBFILESMetadata *)metadata
                                        lock:(nonnull DBFILESFileLock *)lock;

    Swift

    init(metadata: DBFILESMetadata, lock: DBFILESFileLock)

    Parameters

    metadata

    Metadata of the file.

    lock

    The file lock state after the operation.

    Return Value

    An initialized instance.