Stay organized with collections
Save and categorize content based on your preferences.
interface PrintHelper.OnPrintFinishCallback
Callback for observing when a print operation is completed. When print is finished either the system acquired the document to print or printing was cancelled.
Summary
Public functions |
Unit |
Called when a print operation is finished.
|
Public functions
fun onFinish(): Unit
Called when a print operation is finished.
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-15 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-15 UTC."],[],[],null,["# PrintHelper.OnPrintFinishCallback\n=================================\n\nArtifact: [androidx.print:print](/jetpack/androidx/releases/print) \n[View Source](https://cs.android.com/search?q=file:androidx/print/PrintHelper.java+class:androidx.print.PrintHelper.OnPrintFinishCallback) \nAdded in [1.0.0](/jetpack/androidx/releases/print#1.0.0)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/print/PrintHelper.OnPrintFinishCallback \"View this page in Java\")\n\n\n```\ninterface PrintHelper.OnPrintFinishCallback\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nCallback for observing when a print operation is completed. When print is finished either the system acquired the document to print or printing was cancelled.\n\nSummary\n-------\n\n| ### Public functions |\n|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [onFinish](/reference/kotlin/androidx/print/PrintHelper.OnPrintFinishCallback#onFinish())`()` Called when a print operation is finished. |\n\nPublic functions\n----------------\n\n### onFinish\n\nAdded in [1.0.0](/jetpack/androidx/releases/print#1.0.0) \n\n```\nfun onFinish(): Unit\n```\n\nCalled when a print operation is finished."]]