DBFILESAlphaGetMetadataArg
Objective-C
@interface DBFILESAlphaGetMetadataArg
: DBFILESGetMetadataArg <DBSerializable, NSCopying>
Swift
class DBFILESAlphaGetMetadataArg : DBFILESGetMetadataArg, DBSerializable, NSCopying
The AlphaGetMetadataArg struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
If set to a valid list of template IDs,
propertyGroupsinDBFILESFileMetadatais set for files with custom properties.Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *includePropertyTemplates;Swift
var includePropertyTemplates: [String]? { get }
-
-initWithPath:includeMediaInfo: includeDeleted: includeHasExplicitSharedMembers: includePropertyGroups: includePropertyTemplates: Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path includeMediaInfo:(nullable NSNumber *)includeMediaInfo includeDeleted:(nullable NSNumber *)includeDeleted includeHasExplicitSharedMembers: (nullable NSNumber *)includeHasExplicitSharedMembers includePropertyGroups: (nullable DBFILEPROPERTIESTemplateFilterBase *) includePropertyGroups includePropertyTemplates: (nullable NSArray<NSString *> *)includePropertyTemplates;Swift
init(path: String, includeMediaInfo: NSNumber?, includeDeleted: NSNumber?, includeHasExplicitSharedMembers: NSNumber?, includePropertyGroups: DBFILEPROPERTIESTemplateFilterBase?, includePropertyTemplates: [String]?)Parameters
pathThe path of a file or folder on Dropbox.
includeMediaInfoIf true,
mediaInfoinDBFILESFileMetadatais set for photo and video.includeDeletedIf true, DeletedMetadata will be returned for deleted file or folder, otherwise
notFoundinDBFILESLookupErrorwill be returned.includeHasExplicitSharedMembersIf true, the results will include a flag for each file indicating whether or not that file has any explicit members.
includePropertyGroupsIf set to a valid list of template IDs,
propertyGroupsinDBFILESFileMetadatais set if there exists property data associated with the file and each of the listed templates.includePropertyTemplatesIf set to a valid list of template IDs,
propertyGroupsinDBFILESFileMetadatais set for files with custom properties.Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithPath:(nonnull NSString *)path;Swift
init(path: String)Parameters
pathThe path of a file or folder on Dropbox.
Return Value
An initialized instance.
View on GitHub
DBFILESAlphaGetMetadataArg Class Reference