DBFILESExportResult
Objective-C
@interface DBFILESExportResult : NSObject <DBSerializable, NSCopying>
Swift
class DBFILESExportResult : NSObject, DBSerializable, NSCopying
The ExportResult
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Metadata for the exported version of the file.
Declaration
Objective-C
@property (nonatomic, readonly) DBFILESExportMetadata *_Nonnull exportMetadata;
Swift
var exportMetadata: DBFILESExportMetadata { get }
-
Metadata for the original file.
Declaration
Objective-C
@property (nonatomic, readonly) DBFILESFileMetadata *_Nonnull fileMetadata;
Swift
var fileMetadata: DBFILESFileMetadata { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithExportMetadata:(nonnull DBFILESExportMetadata *)exportMetadata fileMetadata:(nonnull DBFILESFileMetadata *)fileMetadata;
Swift
init(exportMetadata: DBFILESExportMetadata, fileMetadata: DBFILESFileMetadata)
Parameters
exportMetadata
Metadata for the exported version of the file.
fileMetadata
Metadata for the original file.
Return Value
An initialized instance.