Stay organized with collections
Save and categorize content based on your preferences.
LoadParams
class LoadParams
Represents a set of parameters to load the PDF document.
Summary
Nested classes |
|
Builder for constructing LoadParams .
|
Public methods |
String? |
Gets the password for the loaded document.
|
Public methods
getPassword
fun getPassword(): String?
Gets the password for the loaded document. Returns null
if not set.
Return |
String? |
the password for the document. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# LoadParams\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nAlso in [S Extensions 13](https://developer.android.com/sdkExtensions)\n\nLoadParams\n==========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/graphics/pdf/LoadParams \"View this page in Java\") \n\n```\nclass LoadParams\n```\n\n|---|--------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.graphics.pdf.LoadParams](#) |\n\nRepresents a set of parameters to load the PDF document.\n\nSummary\n-------\n\n| Nested classes ||\n|---|----------------------------------------------------------------------------------------------------------------|\n| | [Builder](/reference/kotlin/android/graphics/pdf/LoadParams.Builder) Builder for constructing [LoadParams](#). |\n\n| Public methods ||\n|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | [getPassword](#getPassword())`()` Gets the password for the loaded document. |\n\nPublic methods\n--------------\n\n### getPassword\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nAlso in [S Extensions 13](https://developer.android.com/sdkExtensions) \n\n```\nfun getPassword(): String?\n```\n\nGets the password for the loaded document. Returns `null` if not set.\n\n| Return ||\n|-----------------------------------------------------------------------------------|--------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | the password for the document. |"]]