Class View

An abstract class for all views.

Signature

export abstract class View

Details

Final No

Methods

Name Description
getId() Returns the ViewId of the view.
setMimeTypes(mimeTypes) Sets the MIME types included in the view. Use commas to separate MIME types if more than one is required. If you don't set MIME types, files of all MIME types are displayed in the view.
setQuery(query) For views involving searches, prepopulate the search query with these terms.