LoadParams.Builder
public
static
final
class
LoadParams.Builder
extends Object
| java.lang.Object | |
| ↳ | android.graphics.pdf.LoadParams.Builder |
Builder for constructing LoadParams.
Summary
Public constructors | |
|---|---|
Builder()
Constructor for builder to create |
|
Public methods | |
|---|---|
LoadParams
|
build()
Builds the |
LoadParams.Builder
|
setPassword(String password)
Sets the optional password for a protected PDF document. |
Inherited methods | |
|---|---|
Public constructors
Public methods
build
public LoadParams build ()
Builds the LoadParams after the optional values has been set.
| Returns | |
|---|---|
LoadParams |
new instance of LoadParams
This value cannot be null. |
setPassword
public LoadParams.Builder setPassword (String password)
Sets the optional password for a protected PDF document. A null value will be
treated as no password supplied or document is unprotected.
| Parameters | |
|---|---|
password |
String: Password for the protected PDF document.
This value may be null. |
| Returns | |
|---|---|
LoadParams.Builder |
|