public class DefaultPreviewController extends java.lang.Object implements PreviewController, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected com.box.androidsdk.content.BoxApiFolder |
mApiFolder |
protected BoxApiPreview |
mApiPreview |
protected com.box.androidsdk.content.BoxApiSearch |
mApiSearch |
protected com.box.androidsdk.browse.service.BrowseController |
mBrowseController |
protected java.util.concurrent.ThreadPoolExecutor |
mExecutor |
protected PreviewStorage |
mPreviewStorage |
protected com.box.androidsdk.content.models.BoxSession |
mSession |
| Constructor and Description |
|---|
DefaultPreviewController(com.box.androidsdk.content.models.BoxSession session) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
downloadThumbnail(com.box.androidsdk.content.models.BoxFile boxFile,
int minSize) |
void |
execute(java.lang.Runnable runnable) |
com.box.androidsdk.content.BoxApiFolder |
getApiFolder() |
BoxApiPreview |
getApiPreview() |
com.box.androidsdk.browse.service.BrowseController |
getBrowseController() |
android.content.Intent |
getNotificationContentIntent(android.content.Context context,
com.box.androidsdk.content.models.BoxSession session,
com.box.androidsdk.content.models.BoxFile boxFile,
com.box.androidsdk.content.models.BoxFolder boxFolder) |
com.box.androidsdk.content.models.BoxSession |
getSession() |
PreviewStorage |
getStorage() |
protected void |
initialize() |
protected com.box.androidsdk.content.models.BoxSession mSession
protected transient BoxApiPreview mApiPreview
protected transient com.box.androidsdk.content.BoxApiFolder mApiFolder
protected PreviewStorage mPreviewStorage
protected transient com.box.androidsdk.browse.service.BrowseController mBrowseController
protected transient com.box.androidsdk.content.BoxApiSearch mApiSearch
protected transient java.util.concurrent.ThreadPoolExecutor mExecutor
public DefaultPreviewController(com.box.androidsdk.content.models.BoxSession session)
protected void initialize()
public com.box.androidsdk.content.models.BoxSession getSession()
getSession in interface PreviewControllerpublic PreviewStorage getStorage()
getStorage in interface PreviewControllerpublic BoxApiPreview getApiPreview()
getApiPreview in interface PreviewControllerpublic com.box.androidsdk.browse.service.BrowseController getBrowseController()
getBrowseController in interface PreviewControllerpublic com.box.androidsdk.content.BoxApiFolder getApiFolder()
getApiFolder in interface PreviewControllerpublic java.io.InputStream downloadThumbnail(com.box.androidsdk.content.models.BoxFile boxFile,
int minSize)
throws com.box.androidsdk.content.BoxException
downloadThumbnail in interface PreviewControllercom.box.androidsdk.content.BoxExceptionpublic android.content.Intent getNotificationContentIntent(android.content.Context context,
com.box.androidsdk.content.models.BoxSession session,
com.box.androidsdk.content.models.BoxFile boxFile,
com.box.androidsdk.content.models.BoxFolder boxFolder)
getNotificationContentIntent in interface PreviewControllerpublic void execute(java.lang.Runnable runnable)
execute in interface PreviewController