DBFILESDeletedMetadata

@interface DBFILESDeletedMetadata : DBFILESMetadata <DBSerializable, NSCopying>

The DeletedMetadata struct.

Indicates that there used to be a file or folder at this path, but it no longer exists.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithName:(nonnull NSString *)name
                               pathLower:(nullable NSString *)pathLower
                             pathDisplay:(nullable NSString *)pathDisplay
                    parentSharedFolderId:(nullable NSString *)parentSharedFolderId;

    Swift

    init(name: String, pathLower: String?, pathDisplay: String?, parentSharedFolderId: String?)

    Parameters

    name

    The last component of the path (including extension). This never contains a slash.

    pathLower

    The lowercased full path in the user’s Dropbox. This always starts with a slash. This field will be null if the file or folder is not mounted.

    pathDisplay

    The cased path to be used for display purposes only. In rare instances the casing will not correctly match the user’s filesystem, but this behavior will match the path provided in the Core API v1, and at least the last path component will have the correct casing. Changes to only the casing of paths won’t be returned by listFolderContinue. This field will be null if the file or folder is not mounted.

    parentSharedFolderId

    Please use parentSharedFolderId in DBFILESFileSharingInfo or parentSharedFolderId in DBFILESFolderSharingInfo instead.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithName:(nonnull NSString *)name;

    Swift

    init(name: String)

    Parameters

    name

    The last component of the path (including extension). This never contains a slash.

    Return Value

    An initialized instance.