DBSHARINGUnshareFileArg

Objective-C

@interface DBSHARINGUnshareFileArg : NSObject <DBSerializable, NSCopying>

Swift

class DBSHARINGUnshareFileArg : NSObject, DBSerializable, NSCopying

The UnshareFileArg struct.

Arguments for unshareFile.

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 file to unshare.

    Declaration

    Objective-C

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

    Swift

    var file: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFile:(nonnull NSString *)file;

    Swift

    init(file: String)

    Parameters

    file

    The file to unshare.

    Return Value

    An initialized instance.