Stay organized with collections
Save and categorize content based on your preferences.
ProgressListener
interface ProgressListener
Listener that is called periodically as progress is made.
Summary
Public methods |
abstract Unit |
|
Public methods
onProgress
abstract fun onProgress(progress: Long): Unit
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# FileUtils.ProgressListener\n\nAdded in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nProgressListener\n================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/os/FileUtils.ProgressListener \"View this page in Java\") \n\n```\ninterface ProgressListener\n```\n\n|--------------------------------------------|\n| [android.os.FileUtils.ProgressListener](#) |\n\nListener that is called periodically as progress is made.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onProgress](#onProgress(kotlin.Long))`(`progress:` `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### onProgress\n\nAdded in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun onProgress(progress: Long): Unit\n```"]]