Stay organized with collections
Save and categorize content based on your preferences.
public final class AuthenticationRequest.BodyContent.PlainText extends AuthenticationRequest.BodyContent
Plain text description as body content.
Summary
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-05-20 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-05-20 UTC."],[],[],null,["# AuthenticationRequest.BodyContent.PlainText\n===========================================\n\nArtifact: [androidx.biometric:biometric](/jetpack/androidx/releases/biometric) \n[View Source](https://cs.android.com/search?q=file:androidx/biometric/AuthenticationRequest.kt+class:androidx.biometric.AuthenticationRequest.BodyContent.PlainText) \nAdded in [1.4.0-alpha04](/jetpack/androidx/releases/biometric#1.4.0-alpha04)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/biometric/AuthenticationRequest.BodyContent.PlainText \"View this page in Kotlin\") \\|Java\n\n\n```\npublic final class AuthenticationRequest.BodyContent.PlainText extends AuthenticationRequest.BodyContent\n```\n\n\u003cbr /\u003e\n\n|---|---|---------------------------------------------------------------------------------------------------------------------------------------------|\n| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||\n| ↳ | [androidx.biometric.AuthenticationRequest.BodyContent](/reference/androidx/biometric/AuthenticationRequest.BodyContent) ||\n| | ↳ | [androidx.biometric.AuthenticationRequest.BodyContent.PlainText](/reference/androidx/biometric/AuthenticationRequest.BodyContent.PlainText) |\n\n*** ** * ** ***\n\nPlain text description as body content.\n\nSummary\n-------\n\n| ### Public constructors |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [PlainText](/reference/androidx/biometric/AuthenticationRequest.BodyContent.PlainText#PlainText(kotlin.String))`(@`[NonNull](/reference/androidx/annotation/NonNull)` `[String](https://developer.android.com/reference/java/lang/String.html)` description)` |\n\n| ### Public methods |\n|--------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `final @`[NonNull](/reference/androidx/annotation/NonNull)` `[String](https://developer.android.com/reference/java/lang/String.html) | [getDescription](/reference/androidx/biometric/AuthenticationRequest.BodyContent.PlainText#getDescription())`()` The description to display. |\n\nPublic constructors\n-------------------\n\n### PlainText\n\nAdded in [1.4.0-alpha04](/jetpack/androidx/releases/biometric#1.4.0-alpha04) \n\n```\npublic PlainText(@NonNull String description)\n``` \n\nPublic methods\n--------------\n\n### getDescription\n\nAdded in [1.4.0-alpha04](/jetpack/androidx/releases/biometric#1.4.0-alpha04) \n\n```\npublic final @NonNull String getDescription()\n```\n\nThe description to display."]]