public class DbxAppFilesRequests
extends java.lang.Object
Constructor and Description |
---|
DbxAppFilesRequests(DbxRawClientV2 client) |
Modifier and Type | Method and Description |
---|---|
DbxDownloader<PreviewResult> |
getThumbnailV2(PathOrLink resource)
Get a thumbnail for a file.
|
DbxAppGetThumbnailV2Builder |
getThumbnailV2Builder(PathOrLink resource)
Get a thumbnail for a file.
|
public DbxAppFilesRequests(DbxRawClientV2 client)
public DbxDownloader<PreviewResult> getThumbnailV2(PathOrLink resource) throws ThumbnailV2ErrorException, DbxException
The default values for the optional request parameters will be used.
See DbxAppGetThumbnailV2Builder
for more details.
resource
- Information specifying which file to preview. This could
be a path to a file, a shared link pointing to a file, or a shared
link pointing to a folder, with a relative path. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.ThumbnailV2ErrorException
DbxException
public DbxAppGetThumbnailV2Builder getThumbnailV2Builder(PathOrLink resource)
resource
- Information specifying which file to preview. This could
be a path to a file, a shared link pointing to a file, or a shared
link pointing to a folder, with a relative path. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.