DBFILESGetTemporaryLinkArg

Objective-C

@interface DBFILESGetTemporaryLinkArg : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESGetTemporaryLinkArg : NSObject, DBSerializable, NSCopying

The GetTemporaryLinkArg 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 to the file you want a temporary link to.

    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 to the file you want a temporary link to.

    Return Value

    An initialized instance.