public abstract static class BoxPreviewActivity.IntentBuilder
extends java.lang.Object
| Constructor and Description |
|---|
IntentBuilder(android.content.Context context,
BoxSession session,
BoxFile boxFile)
Create an new Intent Builder designed to create an intent to launch a child of BoxBrowseActivity.
|
| Modifier and Type | Method and Description |
|---|---|
protected BoxFolder |
copyFolderWithNoItems(BoxFolder folder) |
android.content.Intent |
createIntent()
Create an intent to launch an instance of this activity.
|
protected abstract android.content.Intent |
createLaunchIntent() |
BoxPreviewActivity.IntentBuilder |
setBoxFolder(BoxFolder folder) |
public IntentBuilder(android.content.Context context,
BoxSession session,
BoxFile boxFile)
context - current context.session - an authenticated session.boxFile - the BoxFile to preview.public BoxPreviewActivity.IntentBuilder setBoxFolder(BoxFolder folder)
folder - a folder a user can page through.protected BoxFolder copyFolderWithNoItems(BoxFolder folder)
protected abstract android.content.Intent createLaunchIntent()
public android.content.Intent createIntent()