searchCategories (property)
Resource categories to restrict the search to.
Syntax
@property (nonatomic,readwrite,assign,getter=searchCategories,setter=setSearchCategories:) NSString* searchCategories; - (NSString*)searchCategories; - (void)setSearchCategories:(NSString*)newSearchCategories;
public var searchCategories: String { get {...}
set {...} }
Default Value
""
Remarks
This property may be set to a comma-separated list of resource categories to restrict the search results returned by Search. Possible categories include:
Category | Associated File Extensions |
image | jpg, png, gif, ... |
document | doc, docx, txt, ... |
spreadsheet | xls, xlsx, csv, ... |
presentation | ppt, pptx, key, ... |
audio | mp3, wav, mid, ... |
video | mov, wmv, mp4, ... |
folder | (Dropbox folders) |
paper | (Dropbox Paper documents) |
others | (all other files) |
The list of valid categories (and their associated file extensions) is defined by Dropbox and may change at any time; refer to the Dropbox API documentation for more information.
Note that the server will only apply this search restriction when SearchKind is set to dskActive (0).