DBFILESExportInfo
Objective-C
@interface DBFILESExportInfo : NSObject <DBSerializable, NSCopying>
Swift
class DBFILESExportInfo : NSObject, DBSerializable, NSCopying
The ExportInfo
struct.
Export information for a file.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Format to which the file can be exported to.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *exportAs;
Swift
var exportAs: String? { get }
-
Additional formats to which the file can be exported. These values can be specified as the export_format in /files/export.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *exportOptions;
Swift
var exportOptions: [String]? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithExportAs:(nullable NSString *)exportAs exportOptions: (nullable NSArray<NSString *> *)exportOptions;
Swift
init(exportAs: String?, exportOptions: [String]?)
Parameters
exportAs
Format to which the file can be exported to.
exportOptions
Additional formats to which the file can be exported. These values can be specified as the export_format in /files/export.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initDefault;
Swift
init(default: ())
Return Value
An initialized instance.