DBFILESDownloadZipArg

Objective-C

@interface DBFILESDownloadZipArg : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESDownloadZipArg : NSObject, DBSerializable, NSCopying

The DownloadZipArg 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

  • The path of the folder to download.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull path;

    Swift

    var path: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPath:(nonnull NSString *)path;

    Swift

    init(path: String)

    Parameters

    path

    The path of the folder to download.

    Return Value

    An initialized instance.