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 LoadParams.

Public methods

LoadParams build()

Builds the LoadParams after the optional values has been set.

LoadParams.Builder setPassword(String password)

Sets the optional password for a protected PDF document.

Inherited methods

Public constructors

Builder

Added in API level 35
Also in S Extensions 13
public Builder ()

Constructor for builder to create LoadParams.

Public methods

build

Added in API level 35
Also in S Extensions 13
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

Added in API level 35
Also in S Extensions 13
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