Builder
class Builder
| kotlin.Any | |
| ↳ | 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(password: String?)Sets the optional password for a protected PDF document. |
Public constructors
Public methods
build
fun build(): LoadParams
Builds the LoadParams after the optional values has been set.
| Return | |
|---|---|
LoadParams |
new instance of LoadParams This value cannot be null. |
setPassword
fun setPassword(password: String?): LoadParams.Builder
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. |