DBFILESGetThumbnailBatchResultData

Objective-C

@interface DBFILESGetThumbnailBatchResultData
    : NSObject <DBSerializable, NSCopying>

Swift

class DBFILESGetThumbnailBatchResultData : NSObject, DBSerializable, NSCopying

The GetThumbnailBatchResultData 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

  • (no description).

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBFILESFileMetadata *_Nonnull metadata;

    Swift

    var metadata: DBFILESFileMetadata { get }
  • A string containing the base64-encoded thumbnail data for this file.

    Declaration

    Objective-C

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

    Swift

    var thumbnail: String { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithMetadata:(nonnull DBFILESFileMetadata *)metadata
                                   thumbnail:(nonnull NSString *)thumbnail;

    Swift

    init(metadata: DBFILESFileMetadata, thumbnail: String)

    Parameters

    metadata

    (no description).

    thumbnail

    A string containing the base64-encoded thumbnail data for this file.

    Return Value

    An initialized instance.