public class

CollabViewerBuilder

com.pdftron.collab.ui.viewer.CollabViewerBuilder

Class Overview

Builder to create a CollabViewerTabHostFragment.

Summary

Fields
public static final Creator<CollabViewerBuilder> CREATOR
Public Methods
void checkArgs(Context context)
Helpers to check builder parameters
static CollabViewerBuilder withUri(Uri file)
static CollabViewerBuilder withUri(Uri file, String password)
Create a CollabViewerBuilder with the specified document and password if applicable.

Fields

public static final Creator<CollabViewerBuilder> CREATOR

Public Methods

public void checkArgs (Context context)

Helpers to check builder parameters

Parameters
context used to initialize default building parameters

public static CollabViewerBuilder withUri (Uri file)

public static CollabViewerBuilder withUri (Uri file, String password)

Create a CollabViewerBuilder with the specified document and password if applicable.

Parameters
file Uri that specifies the location of the document
password used to open the document if required, null otherwise
Returns
  • builder with the specified document and password