Stay organized with collections
Save and categorize content based on your preferences.
OnScanResultListener
interface OnScanResultListener
Callback when scan results are updated.
Summary
Public methods
|
abstract Unit |
|
Public methods
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 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 2024-10-31 UTC."],[[["`OnScanResultListener` is an interface used as a callback to provide updates when scan results change."],["It includes a single method, `onScanResult`, which is triggered when new scan results are available, taking a `ScanResult` object as input."]]],["The `OnScanResultListener` interface provides a callback mechanism for receiving scan results. It has one core method, `onScanResult`, which is abstract and must be implemented. This method is invoked when scan results are updated. It accepts a `ScanResult` object as a parameter, providing the details of the scan. The method returns Unit. This interface is located in the `com.google.android.gms.dtdi.core` package.\n"]]