Stay organized with collections
Save and categorize content based on your preferences.
OnChecksumsReadyListener
@FunctionalInterface interface OnChecksumsReadyListener
Listener that gets notified when checksums are available.
Summary
Public methods |
abstract Unit |
Called when the checksums are available.
|
Public methods
onChecksumsReady
abstract fun onChecksumsReady(checksums: MutableList<ApkChecksum!>): Unit
Called when the checksums are available.
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,["# PackageManager.OnChecksumsReadyListener\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nOnChecksumsReadyListener\n========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/content/pm/PackageManager.OnChecksumsReadyListener \"View this page in Java\") \n\n```\n@FunctionalInterface interface OnChecksumsReadyListener\n```\n\n|-----------------------------------------------------------------|\n| [android.content.pm.PackageManager.OnChecksumsReadyListener](#) |\n\nListener that gets notified when checksums are available.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onChecksumsReady](#onChecksumsReady(kotlin.collections.MutableList))`(`checksums:` `[MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\u003c[ApkChecksum](/reference/kotlin/android/content/pm/ApkChecksum)!\u003e`)` Called when the checksums are available. |\n\nPublic methods\n--------------\n\n### onChecksumsReady\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun onChecksumsReady(checksums: MutableList\u003cApkChecksum!\u003e): Unit\n```\n\nCalled when the checksums are available.\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `checksums` | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\\\u003c[ApkChecksum](/reference/kotlin/android/content/pm/ApkChecksum)!\\\u003e: array of checksums. This value cannot be `null`. |"]]