DBFILESSearchMatch
Objective-C
@interface DBFILESSearchMatch : NSObject <DBSerializable, NSCopying>
                Swift
class DBFILESSearchMatch : NSObject, DBSerializable, NSCopying
                The SearchMatch struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
The type of the match.
Declaration
Objective-C
@property (nonatomic, readonly) DBFILESSearchMatchType *_Nonnull matchType;Swift
var matchType: DBFILESSearchMatchType { get } - 
                  
                  
The metadata for the matched file or folder.
Declaration
Objective-C
@property (nonatomic, readonly) DBFILESMetadata *_Nonnull metadata;Swift
var metadata: DBFILESMetadata { get } 
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithMatchType: (nonnull DBFILESSearchMatchType *)matchType metadata:(nonnull DBFILESMetadata *)metadata;Swift
init(matchType: DBFILESSearchMatchType, metadata: DBFILESMetadata)Parameters
matchTypeThe type of the match.
metadataThe metadata for the matched file or folder.
Return Value
An initialized instance.
 
View on GitHub
        DBFILESSearchMatch Class Reference