DBFILESSaveUrlArg

Objective-C

@interface DBFILESSaveUrlArg : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESSaveUrlArg : NSObject, DBSerializable, NSCopying

The SaveUrlArg 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 in Dropbox where the URL will be saved to.

    Declaration

    Objective-C

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

    Swift

    var path: String { get }
  • url

    The URL to be saved.

    Declaration

    Objective-C

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

    Swift

    var url: String { get }

Constructors

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

    Declaration

    Objective-C

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

    Swift

    init(path: String, url: String)

    Parameters

    path

    The path in Dropbox where the URL will be saved to.

    url

    The URL to be saved.

    Return Value

    An initialized instance.