Package | Description |
---|---|
com.dropbox.core |
Modifier and Type | Field and Description |
---|---|
static DbxThumbnailFormat |
DbxThumbnailFormat.JPEG
JPEG format, preferred over PNG for photographic images.
|
static DbxThumbnailFormat |
DbxThumbnailFormat.PNG
PNG format, preferred over JPEG for non-photographic images, such as
screenshots and digital art.
|
Modifier and Type | Method and Description |
---|---|
static DbxThumbnailFormat |
DbxThumbnailFormat.bestForFileName(String fileName,
DbxThumbnailFormat fallback)
Try and guess the right
DbxThumbnailFormat to use based on the image's file
name. |
Modifier and Type | Method and Description |
---|---|
static DbxThumbnailFormat |
DbxThumbnailFormat.bestForFileName(String fileName,
DbxThumbnailFormat fallback)
Try and guess the right
DbxThumbnailFormat to use based on the image's file
name. |
DbxEntry.File |
DbxClient.getThumbnail(DbxThumbnailSize sizeBound,
DbxThumbnailFormat format,
String path,
String rev,
OutputStream target)
Downloads a thumbnail for the image file at the given path in Dropbox.
|
DbxClient.Downloader |
DbxClient.startGetThumbnail(DbxThumbnailSize sizeBound,
DbxThumbnailFormat format,
String path,
String rev)
Similar to
DbxClient.getThumbnail(com.dropbox.core.DbxThumbnailSize, com.dropbox.core.DbxThumbnailFormat, java.lang.String, java.lang.String, java.io.OutputStream) , except the thumbnail contents are returned via
a DbxClient.Downloader . |
Copyright © 2014. All rights reserved.