Builder


class Builder
kotlin.Any
   ↳ android.graphics.pdf.LoadParams.Builder

Builder for constructing LoadParams.

Summary

Public constructors

Constructor for builder to create LoadParams.

Public methods
LoadParams

Builds the LoadParams after the optional values has been set.

LoadParams.Builder
setPassword(password: String?)

Sets the optional password for a protected PDF document.

Public constructors

Builder

Builder()

Constructor for builder to create LoadParams.

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.